Easy video output?

Currently I’m using the PNGImageFormat to output a sequence of lossless images from my JUCE application. I’m then using other third-party tools to transcode this into a single movie file.

This isn’t necessarily a JUCE question, but is there an easy way to programatically package my .PNG’s inside a movie file of some kind (hopefully one that works on both Windows and OS X)? Perhaps an .AVI? Can someone recommend a simple API that would let me do this? The reason I’m asking is that some transcoding tools won’t accept an image sequence as input.


P.S. This is for a commercial application, so it needs to be a licensable solution.

Just a freindly bump as I'm interested in this too.