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, Apr 16, 2010 at 8:41 PM, Mike Wozniewski <m...@mikewoz.com <mailto: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
    <mailto: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

_______________________________________________
osg-users mailing list
osg-users@lists.openscenegraph.org
http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org

Reply via email to