[FFmpeg-user] How can I concat a video and audio to a longvideo?
dferererer at qq.com
Mon May 26 08:10:52 CEST 2014
I have tried this but get such error:
[AVFilterGraph @ 0252c240] No such filter: '[0:0]'
Error configuring filters.
maybe the command is broken by line-break.How I can correct it?
------------------ Original ------------------
From: "RDP";<gliese849b at gmail.com>;
Date: Mon, May 26, 2014 02:01 AM
To: "FFmpeg user questions"<ffmpeg-user at ffmpeg.org>;
Subject: Re: [FFmpeg-user] How can I concat a video and audio to a longvideo?
On 25 May 2014 13:59, v <dferererer at qq.com> wrote:
> video play,when is completes,the image will pause at video's end,the the audio plays,till it ends,that all.I can concat a video.mpg with a audio in such way,but my video is .mp4,I don't trouble with mpg.
> Any help is millon appreciated!
I'm at the experimentation stage with ffmpeg as well, so.. ;o)
In the interests of same, I tried the following command,
ffmpeg -i video_file1.mp4 -i audio_file.m4a -filter_complex '[0:0]
[0:1] [0:0] concat=n=2:v=1:a=1' -strict -2 combined.mp4
During the conversion I received,
[output stream 0:0 @ 0x1b27dc0] 100 buffers queued in output stream
0:0, something may be wrong.
in the console output, just after completion of video section, though
the conversion itself appeared to complete successfully.
While the two files were indeed concatenated in the combined file, the
video section repeated itself while the appended audio file was being
played! Is this what happened when you tried it?
The version of mmpeg used was,
ffmpeg version N-63064-gb372f67 Copyright (c) 2000-2014 the FFmpeg
developers built on May 9 2014 22:34:36 with gcc 4.9.0 (GCC)
ffmpeg-user mailing list
ffmpeg-user at ffmpeg.org
More information about the ffmpeg-user