Jeremy Moles wrote:
On Wed, 2006-08-30 at 09:08 +1000, Andrew Lowe wrote:
        Is there a way to make it so that other codecs, such as dirac,
http://dirac.sourceforge.net/, etc can easily be implemented as well? I
suppose what I mean is a plugin within a plugin concept. You would have
a plugin such as osgAnimationGrabber and then in turn it would call
plugins such as osgTheora, osgDirac, osgQT, osgAVI, osgH264 and so on.
Is this possible? Does it make sense? I've never done anything like this
myself, and am also new to OSG so I might just be urinating into a fast
moving air stream but you never know :)

Well, there really wouldn't be any need for that iterim step that I can
think of; basically, all of those codecs "start" from your RGBA color
buffer, so you're already pretty much at the last step. I mean, the
osgAnimationGrabber could do some RGBA->YUV conversion, but I'm not sure
what the other codecs expect each frame to be encoded with, so it might
not be worth it...

Why not encompass current and future formats by writing something like osgFFmpeg? Then people can use different formats according to their needs and adding a new codec each time isn't necessary.

Just a thought :)
Rob
_______________________________________________
osg-users mailing list
[email protected]
http://openscenegraph.net/mailman/listinfo/osg-users
http://www.openscenegraph.org/

Reply via email to