An example of using FFMpeg and OpenGL.