Hi Allessandro,

I've copied a .avi file I have to the name video1.avi so that the .osg
and .FBX files both load the file, and by using -e ffmpeg on the
command line I'm able to osgviewer to load the avi file just fine. I
don't get any crashes, but I also don't get any played movie as to
play them you'll need an explicit imagestream->play() call.

To get around the need to explictly call play() I put together a very
simple Present3D xml file to read the movie as an image, as the .osg
and the .FBX.  The attached test.p3d does this.  To test it I also
need to load the ffmpeg to handle playing the video, the command line
to use is:

  present3D test.p3d -e ffmpeg

Present3D is built as part of the OSG alongside osgviewer so you
should have it built already.  Press Page Down/Up or Left/Right Arraow
keys to change slides and the type of rendering.

With Present3D all the different options for me, all play correctly
and all don't crash.

Robert.

Attachment: test.p3d
Description: Binary data

_______________________________________________
osg-users mailing list
[email protected]
http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org

Reply via email to