[Libav-user] Creating mp4 (h264 codec) video from OpenGL frames
alexcohn at netvision.net.il
Thu May 10 17:19:05 CEST 2012
On Thu, May 10, 2012 at 5:16 PM, Alex Druml <alex3.dr at googlemail.com> wrote:
> i am currently trying to encode frames (RGB) rendered with opengl into a mp4
> file encoded with h264.
> i already managed to convert the frames from RGB to YUV (swscale) and i
> use the video_encode_example example from
> to encode the frames into a h264 file (vlc already plays the file). now
> i want to write this encoded file into a common container like mp4.
> i found a muxing example here
> but is it possible to write the encoded frames directly into a mp4 file?
> best regards!
No, you must conform to mp4 container logic. This is what the muxer is for.
More information about the Libav-user