[Libav-user] remuxing MKV/H.264 to MPEG2 Elemntary Stream

Andrey Utkin andrey.krieger.utkin at gmail.com
Fri Feb 17 21:00:11 CET 2012


2012/2/17 Pavel Sokolov <pavel at sokolov.me>:
> May be I need to add some extra header to the packets?

You can do it by duplicating AVCodecContext.extradata.
avcodec_copy_context() can do that for you.

-- 
Andrey Utkin


More information about the Libav-user mailing list