[osg-users] ReadImage not routing to plugin?

Rob Spearman rob at digitaliseducation.com
Fri Sep 23 15:30:50 PDT 2016

Thanks for the comments, Robert.  Those match my understanding of how 
the plugins are supposed to work, so I am still stumped.

As a simple example, I have a video file which I have named test.qqq to 
avoid any question of other plugins getting involved.

I modified the ffmpeg plugin to advertise that it can handle this 
extension via supportsExtension("qqq") and the Registry method 
addFileExtensionAlias( "qqq", "ffmpeg").

When I run "osgmovie test.qqq.ffmpeg" I see the movie play.

When I run "osgmovie test.qqq" I get an error:  "Could not find plugin 
to read objects from file"

Loading the ffmpeg plugin explicitly via the Registry 
loadLibrary("ffmpeg") method doesn't make any difference.

I am not seeing why the Registry is not working as expected.  I'm on Linux.



More information about the osg-users mailing list