Re: [osg-users] How to force FFMPEG plugin

2010-04-17 Thread Robert Osfield
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

[osg-users] How to force FFMPEG plugin

2010-04-16 Thread Mike Wozniewski
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 =

Re: [osg-users] How to force FFMPEG plugin

2010-04-16 Thread Mourad Boufarguine
Hi Mike, You should preload ffmpeg plugin before reading the movie file : std::string libName = osgDB::Registry::instance()-createLibraryNameForExtension(ffmpeg); osgDB::Registry::instance()-loadLibrary(libName); Mourad On Fri, Apr 16, 2010 at 8:41 PM, Mike Wozniewski m...@mikewoz.com wrote:

Re: [osg-users] How to force FFMPEG plugin

2010-04-16 Thread Mike Wozniewski
Ah - that worked. So easy. Thanks. Mourad Boufarguine wrote: Hi Mike, You should preload ffmpeg plugin before reading the movie file : std::string libName = osgDB::Registry::instance()-createLibraryNameForExtension(ffmpeg); osgDB::Registry::instance()-loadLibrary(libName); Mourad On Fri,