[FFmpeg-devel] Muxing.c example produces an unreadable file

Nicolas ZUCCHET nicolas.zucchet at centraliens.net
Sun Jan 6 10:13:46 CET 2013


I have compiled the muxing example from the documentation but failed to
produce a readable output file.

The only thing I have changed is making the output format h264 on line 350.

avformat_alloc_output_context2(&oc, NULL, "h264", filename);

The output I get is a 6mb file that most players including VLC fail to
open. I can see the frames inside it though when I open it programmatically
with ffmpeg.

Any help would be appreciated.


More information about the ffmpeg-devel mailing list