[osg-users] osgmovie stop playing after long time pause
Dan Liu
139250065 at qq.com
Wed Feb 24 01:36:22 PST 2016
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
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.openscenegraph.org/pipermail/osg-users-openscenegraph.org/attachments/20160224/3d1e1558/attachment-0002.htm>
More information about the osg-users
mailing list