Hi Mike, Another method above Mourad's tip is to append a ".ffmpeg" to the end of the filename, the ffmpeg plugin will automatically strip this and then load the video.
It's my plan to make the ffmpeg plugin the default video plugin for the OSG, but we'll need to sort out a good default audio implementation first, as both the xine and quicktime plugins provide audio for video's, something that ffmpeg itself doesn't provide. Robert. On Fri, Apr 16, 2010 at 7:41 PM, Mike Wozniewski <m...@mikewoz.com> wrote: > Does anyone know how to force the use of the ffmpeg plugin instead of xine. > I know that this is possible on the commandline, eg: > > osgmovie -e ffmpeg movie.mov > > But I'd like to do this in code, eg: > osg::Image* image = osgDB::readImageFile(path); > osg::ImageStream* imagestream = dynamic_cast<osg::ImageStream*>(image); > > I can't seem to find how the osgmovie example uses this extension > argument... > > Any pointers would be appreciated. > > Thanks, > Mike Wozniewski > _______________________________________________ > osg-users mailing list > osg-users@lists.openscenegraph.org > http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org > _______________________________________________ osg-users mailing list osg-users@lists.openscenegraph.org http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org