[FFmpeg-user] Cat 2 mp4 files?

Tom Evans tevans.uk at googlemail.com
Thu Dec 6 13:07:24 CET 2012


On Thu, Dec 6, 2012 at 11:14 AM, . <peace at aleksandrsolzhenitsyn.net> wrote:
>
> On 12/06/2012 05:53 AM, Carl Eugen Hoyos wrote:
>> . <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
>
> Carl, thanks but I have no idea what they're talking about at the link
> above.
>
> 'Just tried MP4Box and it worked perfectly...using an mp4 file.
>
> Thank you
>

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

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

Cheers

Tom


More information about the ffmpeg-user mailing list