On 24 February 2016 at 09:56, Dan Liu <139250...@qq.com> wrote: > I'm using OSG 3.4 >
I have just tested osgmovie with ffmpeg and for long pauses find that it stops updating the video when I unpause. My guess is that there is something within the plugin that amiss, so a bug that will need fixing, but I'm not the original author so can't jump in and pinpoint what it might be. Using notification system might help track down where the problem might be rooted. i.e. export OSG_NOTIFY=INFO osgmovie -e ffmpeg /film/1080p30.mp4 When I try this I find that the updates to the texture due to the frame when pause/unpause are working I get the output: Reusing orphaned TextureObject, _numOfTextureObjects=1 Reusing orphaned TextureObject, _numOfTextureObjects=1 Reusing orphaned TextureObject, _numOfTextureObjects=1 Reusing orphaned TextureObject, _numOfTextureObjects=1 Reusing orphaned TextureObject, _numOfTextureObjects=1 Reusing orphaned TextureObject, _numOfTextureObjects=1 Reusing orphaned TextureObject, _numOfTextureObjects=1 Reusing orphaned TextureObject, _numOfTextureObjects=1 Reusing orphaned TextureObject, _numOfTextureObjects=1 Reusing orphaned TextureObject, _numOfTextureObjects=1 Reusing orphaned TextureObject, _numOfTextureObjects=1 Reusing orphaned TextureObject, _numOfTextureObjects=1 Reusing orphaned TextureObject, _numOfTextureObjects=1 Reusing orphaned TextureObject, _numOfTextureObjects=1 Reusing orphaned TextureObject, _numOfTextureObjects=1 Reusing orphaned TextureObject, _numOfTextureObjects=1 Reusing orphaned TextureObject, _numOfTextureObjects=1 Reusing orphaned TextureObject, _numOfTextureObjects=1 Reusing orphaned TextureObject, _numOfTextureObjects=1 Reusing orphaned TextureObject, _numOfTextureObjects=1 Reusing orphaned TextureObject, _numOfTextureObjects=1 Reusing orphaned TextureObject, _numOfTextureObjects=1 0x19d9970 Pause Reusing orphaned TextureObject, _numOfTextureObjects=1 But when things stop working each type I press 'p' to toggle the pause I just get: 0x742970 Play 0x742970 Play 0x742970 Play 0x742970 Play 0x742970 Play My best guess would be that there is some race condition in the ffmeg's thread that manages the video and audio updates. Putting some debugging in there would be a useful next step. I'm afraid I have plenty of other work to be getting on with so will have to leave further investigation to yourself and others for now. Robert.
_______________________________________________ osg-users mailing list osg-users@lists.openscenegraph.org http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org