[Libav-user] Converting YUV 2 MPEG4

muratc15-ffmpeg at yahoo.de muratc15-ffmpeg at yahoo.de
Wed Aug 3 15:37:53 CEST 2011

Hello boys and girls,

I want to convert a YUV signal from my POE-camera into a MPEG4 stream, for which I have used the libavcodec.lib  library of yours.

I am confused with the file-format headers for the target video file. For an instance :
out_size = avcodec_encode_video(c, outbuf, outbuf_size,
Is there no mpeg4 specific file format header required, in the beginning of the video file? Or is the library function handling this internally?

Cheers Murat

More information about the Libav-user mailing list