I am converting a raw RGB image to avi video, but I am running mencoder for this. I read the source pixels using glReadPixels and send this data to the pipe, and mencoder reads the other end (by the way, I'm on Linux)
Because of this setting, it is easy to change the settings.
If you want to do it yourself, here is a tutorial (bit outdated): ffmpeg tutorial
EDIT
You're right. Here is their example: ffmpeg example You can get it by downloading the ffmpeg source
BΠoviΡ
source share