[FFmpeg-user] How to concatenate multiple mp4 files without re-encoding to an intermediate format

Andrey Utkin andrey.krieger.utkin at gmail.com
Fri Aug 31 19:34:45 CEST 2012


2012/8/31 Stefano Sabatini <stefasab at gmail.com>:
> On date Friday 2012-08-31 13:37:13 +0300, Andrey Utkin encoded:
>> AFAIR there's no straight way to do it by ffmpeg utility (but is
>> possible by libavformat API), if concatenating demuxer is not invented
>> yet.
>
> Yes also read this:
> http://ffmpeg.org/trac/ffmpeg/wiki/How%20to%20concatenate%20%28join%2C%20merge%29%20media%20files
>
> Keep in mind that *physically* concatenating two media files won't
> always result in a valid files, but only for a limited number of
> formats (stream based formats). That's the same as concatenating two
> PDFs files, you won't get a file which contains the two documents
> "concatenated".
>
> It would be a good idea to expose that information to the user, and
> maybe we should make more clear the documentation (not that it matters
> much, since most users usually don't read docs).

Sancta simplicitas! I thoguht the topic starter knows that way, and is
not satisfied by it, and asks for more straight solution :)

-- 
Andrey Utkin


More information about the ffmpeg-user mailing list