[Libav-user] FFMpeg and vlc.

Denis info at denisgottardello.it
Sat Sep 10 20:41:32 CEST 2011

> Maybe you need to write a header and/or trailer see
> http://www.ffmpeg.org/doxygen/trunk/avformat_8h.html#78d4e734fecb1d2385536e
> 6dd5b7b9f5 and
> http://www.ffmpeg.org/doxygen/trunk/avformat_8h.html#7f14007e7dc8f481f054b
> 21614dfec13 See also the encoding example (towards the end) where they
> manually write a trailer:
> http://www.ffmpeg.org/doxygen/trunk/encoding_8c-source.html#l00195
> I'm not sure exactly which mpeg4 requires.
> Hope that helps,
> Matt

The encoding example is exactly like my code but, Vlc still does not play my 
video. I see that Vlc does not show the  video properties. I think you are 
right, in the video I must insert the video header but I can find no example on 
how to do that. The only examples that I have found are obsolete.
Does anybody have something that can help me?

Skype: mrdebug
Videosurveillance and home automation! 

More information about the Libav-user mailing list