[osg-users] osgmovie stop playing after long time pause
Dan Liu
139250065 at qq.com
Wed Feb 24 01:56:35 PST 2016
I'm using OSG 3.4
------------------ Original ------------------
From: "Robert Osfield";<robert.osfield at gmail.com>;
Date: Wed, Feb 24, 2016 05:55 PM
To: "OpenSceneGraph Users"<osg-users at lists.openscenegraph.org>;
Subject: Re: [osg-users] osgmovie stop playing after long time pause
HI Daniel,
Which OSG version are you using? I recall improvements to the ffmpeg in the OSG-3.4 release, so if you aren't using this I'd recommend upgrading.
Robert.
On 24 February 2016 at 09:36, Dan Liu <139250065 at qq.com> wrote:
Dear All:
When I use osgmovie to play videos which are about 1 minute long, if the key P is pressed and pause playing for long time, such as 1-2 minute, then the osgmovie will finish playing at once. This case is not what I need. If the pause key is not pressed, the video can be played repeatedly. If the pause time is short, osgmove can continue to play video. How to resolve this problem, let the osgmovie play video repeatedly after long time pause? Below is the output of osgmovie:
# osgmovie -e ffmpeg /film/1080p30.mp4
ffmpeg::open(/film/1080p30.mp4) size(1920, 1080) aspect ratio 1
image->s()1920 image-t()=1080 aspectRatio=1
0x23206e0 Pause
0x23206e0 Play
Finished FFmpegImageStream::run()
Calling avformat_close_input(0x2320e08)
with best regards
daniel
_______________________________________________
osg-users mailing list
osg-users at lists.openscenegraph.org
http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.openscenegraph.org/pipermail/osg-users-openscenegraph.org/attachments/20160224/a7c1c386/attachment-0003.htm>
More information about the osg-users
mailing list