> > 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? -- www.denisgottardello.it Skype: mrdebug Videosurveillance and home automation! http://www.denisgottardello.it/DomusBoss/DomusBossIndice.php _______________________________________________ Libav-user mailing list [email protected] http://ffmpeg.org/mailman/listinfo/libav-user
