Hello Serge:

Hmm, sounds like the object is getting culled out and so real time updates is delayed until it comes back into the scene?? I have not looked at the code but, if you are manually putting the object into the scene then try for fun to say setCullingActive(false); just to test this theory out. This way if frustum culling is on or some higher level culling then it will ignore it for that object.


Take care

Garrett Potts

On Jun 18, 2009, at 3:17 PM, Serge Lages wrote:

Hi all,

I have 2 questions about the ffmpeg plugin :

- In the ReaderWriterFFmpeg.cpp file, line 76 a "path" variable is declared using the osgDB::findDataFile function to get the correct file name, but line 83, the old "filename" variable is used instead of "path". This way, the dataPathList is not used to get the video file, is it normal ?

- Currently, I load a video and put it on an object which is outside the screen (the video is in pause mode). After an action, this object slide into the screen and the video is played, but first the video is played too fast (maybe 2x or 4x) and after some seconds it comes back to the correct speed. To be more precise, if I wait 5 seconds before making my object slide into the screen and play the video, it will be too fast during 5 seconds, if I wait 2 seconds, it's too fast 2 seconds... Anyone knows what's the problem here ?

I'am under WinXP, compile with VS8 and I took my version of FFmpeg here :
http://www.openscenegraph.org/downloads/dependencies/FFmpeg/Windows/ffmpeg-r15261.zip
My video is a .FLV with an audio stream.

Thanks for your help !

--
Serge Lages
http://www.tharsis-software.com
_______________________________________________
osg-users mailing list
[email protected]
http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org

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

Reply via email to