[FFmpeg-user] Cat 2 mp4 files?

Carl Eugen Hoyos cehoyos at ag.or.at
Thu Dec 6 11:53:25 CET 2012

. <peace <at> AleksandrSolzhenitsyn.net> writes:

> ffmpeg -i input1.avi -qscale:v 1 intermediate1.mpg
> ffmpeg -i input2.avi -qscale:v 1 intermediate2.mpg
> cat intermediate1.mpg intermediate2.mpg > intermediate_all.mpg
> ffmpeg -i intermediate_all.mpg -qscale:v 2 output.avi

> There's got to be an easier reliable way for to 
> combine 2 video files.

No, the above is the most reliable way to combine 
(arbitrary) media files.

There are now a filter and a protocol that allow 
easier concatenation, see http://ffmpeg.org/ffmpeg.html

Carl Eugen

More information about the ffmpeg-user mailing list