title: ffmpeg and opengl
body: <p>Any tutorials/exmaples or sample code available to convert opengl raw images (raw pixel data obtained from glReadPixels from an opengl 3d scene) into mp4 or avi format using ffmpeg libraries?</p>
  
  <p>Appreciate any help. Thanks in advance.</p>
  
  <p>EDIT:
  I want to generate and stream the video dynamically from these images. Is this possible? Any examples/projects which do this?</p>