[osg-submissions] [osg-users] osgmovie with mpgs or avis on windows

Mathieu MARACHE mathieu.marache at gmail.com
Tue Jun 10 06:02:07 PDT 2008


Another way would be ot addFileExtensionAlias to the Registry

for example :

osgDB::Registry::instance()->addFileExtensionAlias("mpg", "qt");
osgDB::Registry::instance()->addFileExtensionAlias("avi", "qt");

in your application

or use the attached file in place of src/osgDB/Registry.cpp if you are using
OSG's svn or latest dev release.

I cross posted to submission so we can keep track of this.

HTH

2008/6/10 Mike Greene <mgreene at hiwaay.net>:

> I have it working with both avis and mpgs on Windows. You need to make
> copies of the osgdb_qtd.dll  (in the plugins directory) and rename them
> osgdb_mpgd.dll and osgdb_avid.dll . Then you can give either of these types
> of files as arguments to osgmovie.
>
>


-- 
Mathieu
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.openscenegraph.org/pipermail/osg-submissions-openscenegraph.org/attachments/20080610/c0efa104/attachment-0001.htm>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: Registry.cpp
Type: text/x-c++src
Size: 67700 bytes
Desc: not available
URL: <http://lists.openscenegraph.org/pipermail/osg-submissions-openscenegraph.org/attachments/20080610/c0efa104/attachment-0001.cpp>


More information about the osg-submissions mailing list