On Wed, 2006-08-30 at 17:49 +0100, Robert Swain wrote: > 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.
Theora is one of the few codecs I know has good support (great community) and is totally, unquestionably, free. It also has good support for multiple OSes, and works well with container formats such as Ogg, which are also free. Ogg/Theora+Vorbis need love... I guess using FFMpeg might be a higher-level solution, allowing you to use whatever codec/container combo you want, but I've had really bad luck w/ trying to use ffmpeg and friends. There pretty much is no encoding documentation that includes usage of avformat, and I really don't have time to totally immerse myself into some other project to learn it's ins and outs. Ogg/Theora just worked the first day, and IRC/mailing lists are very, very responsive. > Just a thought :) > Rob > _______________________________________________ > osg-users mailing list > [email protected] > http://openscenegraph.net/mailman/listinfo/osg-users > http://www.openscenegraph.org/ > _______________________________________________ osg-users mailing list [email protected] http://openscenegraph.net/mailman/listinfo/osg-users http://www.openscenegraph.org/
