How does one output to a video format?

Is there an output library?
How does one output to an mpeg or wav file?
Is there a tutorial about video file types and producing them, or any book recommendations?

Hi !

I guess that depends on your OS pretty much…

On Windows it’s easy, I do think there is an example (MFC) on or maybe it was


My bad. Mac OSX. I was expecting some kind of standard open library…