You should investigate further about what are failing in your compilation and fix it, as I don't have your computer in front of me I can't say much more.
Sorry. 2013/2/1 Koduri Lakshmi <[email protected]> > Hi Jordi Torres, > > Thank you very much for the help. I did that in .cpp file as follows > > > > Code: > img = osgDB::readImageFile(filename); > videoStream[idx] = dynamic_cast<osg::ImageStream*>(img); > > if (videoStream[idx].valid()) > { > LOG( "Got movie"); > videoStream[idx]->setLoopingMode( > osg::ImageStream::NO_LOOPING); > > } > else > { > LOG( "No movie!"); > } > > aspectRatio = (float)img->t() / (float)img->s(); > videoWidth = img->t(); > videoHeight =img->s(); > > mVideoTexture = new osg::Texture2D; > geode = new osg::Geode; > mVideoTexture->setImage( videoStream[idx].get() ); > > geode->addDrawable(osg::createTexturedQuadGeometry( > osg::Vec3(0, 0, 0), > osg::Vec3(videoWidth, 0, 0), > osg::Vec3(0, 0, videoHeight) > )); > > geode->getOrCreateStateSet()->setTextureAttributeAndModes(0, mVideoTexture, > osg::StateAttribute::ON ); > mtForMarker[idx] = new osg::MatrixTransform(); > mtForMarker[idx]->addChild(geode.get()); > > > modelSwitch->addChild(mtForMarker[idx]); > > > > > but it is not compiling. When I gave "nkd-build" then getting above said > errors. I think these are linker errors. How to use ffmpeg plugin-in my > code. > > > > ... > > > Thank you! > > Cheers, > Koduri > > ------------------ > Read this topic online here: > http://forum.openscenegraph.org/viewtopic.php?p=52325#52325 > > > > > _______________________________________________ > osg-users mailing list > [email protected] > http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org > -- Jordi Torres Fabra gvSIG 3D blog http://gvsig3d.blogspot.com
_______________________________________________ osg-users mailing list [email protected] http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org

