[FFmpeg-user] Concat limited to certain file types?

Jan Ehrhardt phpdev at ehrhardt.nl
Tue Oct 16 17:32:10 CEST 2012


Jan Ehrhardt in gmane.comp.video.ffmpeg.user (Tue, 16 Oct 2012 16:40:16
+0200):
>Is there any way to do a concat on these MP4 files?

Roger's answer to Giampaolo led me once again to the ffmpeg
documentation and I discovered that the new (?) filter_complaex concat
documentation. This seems to work:

-i S1000001.MP4 -i S1000002.MP4 -filter_complex \
	"[0:0] [0:1] [1:0] [1:1] concat=n=2:v=1:a=1 [v] [a]" \
	-map [v] -map [a] -aspect 4:3 -movflags +faststart

Under Windows I had to use "double" quotes, not 'single', but this was
the output:

http://x32.elijst.nl/mp4complex_concat.mp4

I did not yet figure out how to do the rescale, but that must be
possible. The second example is not as clear as you want it to be:

http://ffmpeg.org/ffmpeg.html#concat-1

Jan



More information about the ffmpeg-user mailing list