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

Pavel Sokolov pavel at sokolov.me
Fri Feb 17 18:47:29 CET 2012


Hi All!

I have successfully remuxed AVI/MPEG2 to Elementary stream:
     av_read_frame(_ffmpeg_format_context, &_ffmpeg_packet);
av_read_frame also returns Elementary stream, after this i get only 
video packets, write them to file and all works fine.

But when I do av_read_frame at the MKV/H264 file and than save video 
stream to file than VLC reports:
[mp3 @ 0x1964d80] Header missing
[mp3 @ 0x1964d80] Header missing
[mp3 @ 0x1964d80] Header missing
...

May be I need to add some extra header to the packets?


More information about the Libav-user mailing list