<div dir="ltr">On 24 February 2016 at 09:56, Dan Liu <span dir="ltr"><<a href="mailto:139250065@qq.com" target="_blank">139250065@qq.com</a>></span> wrote:<br><div class="gmail_extra"><div class="gmail_quote"><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"><div>I'm using OSG 3.4</div></blockquote><div><br></div><div>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.<br><br></div><div>Using notification system might help track down where the problem might be rooted. i.e.<br><br></div><div>  export OSG_NOTIFY=INFO<br>  <br></div><div>  osgmovie -e ffmpeg /film/1080p30.mp4<br><br></div><div>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:<br><br><br>Reusing orphaned TextureObject, _numOfTextureObjects=1<br>Reusing orphaned TextureObject, _numOfTextureObjects=1<br>Reusing orphaned TextureObject, _numOfTextureObjects=1<br>Reusing orphaned TextureObject, _numOfTextureObjects=1<br>Reusing orphaned TextureObject, _numOfTextureObjects=1<br>Reusing orphaned TextureObject, _numOfTextureObjects=1<br>Reusing orphaned TextureObject, _numOfTextureObjects=1<br>Reusing orphaned TextureObject, _numOfTextureObjects=1<br>Reusing orphaned TextureObject, _numOfTextureObjects=1<br>Reusing orphaned TextureObject, _numOfTextureObjects=1<br>Reusing orphaned TextureObject, _numOfTextureObjects=1<br>Reusing orphaned TextureObject, _numOfTextureObjects=1<br>Reusing orphaned TextureObject, _numOfTextureObjects=1<br>Reusing orphaned TextureObject, _numOfTextureObjects=1<br>Reusing orphaned TextureObject, _numOfTextureObjects=1<br>Reusing orphaned TextureObject, _numOfTextureObjects=1<br>Reusing orphaned TextureObject, _numOfTextureObjects=1<br>Reusing orphaned TextureObject, _numOfTextureObjects=1<br>Reusing orphaned TextureObject, _numOfTextureObjects=1<br>Reusing orphaned TextureObject, _numOfTextureObjects=1<br>Reusing orphaned TextureObject, _numOfTextureObjects=1<br>Reusing orphaned TextureObject, _numOfTextureObjects=1<br>0x19d9970 Pause<br>Reusing orphaned TextureObject, _numOfTextureObjects=1<br><br></div><div>But when things stop working each type I press 'p' to toggle the pause I just get:<br><br>0x742970 Play<br>0x742970 Play<br>0x742970 Play<br>0x742970 Play<br>0x742970 Play<br><br></div><div>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.<br><br></div><div>Robert.<br></div><div><br><br><br></div><div><br></div><div> </div></div></div></div>