[Libav-user] join two mp4 videos

Alex Cohn alexcohn at netvision.net.il
Mon May 28 10:28:58 CEST 2012

On Mon, May 28, 2012 at 11:23 AM, Andrey Utkin
<andrey.krieger.utkin at gmail.com> wrote:
> 2012/5/28 Murthy Avanithsa <avsn9849625263 at gmail.com>:
>> Thanks Mr.Andrey Utkin.
>> Can we avoid converting mp4 to raw(mpeg) by using api.If yes can you please
>> suggest any quick steps.
> Surely yes. There are two cases for joining video: remuxing and
> reencoding. Remux method is not always applicable, it works when the
> characteristics of files is same. Also for remux method to work, mp4
> files must be in Annex B format, it is quite fast to convert your
> source files to this mp4 flavour.
> --
> Andrey Utkin

I believe you can always employ the mp4toannexb filter.

Alex Cohn

More information about the Libav-user mailing list