Hi,

the OSG 3.2 seems to have a problem with reported timestamps while
replaying movies. I haven't tested never OSG development versions yet. The
issue occurs close to the end of an MP4 file.

The timestamp wraps around back to 0 before the end of the file is played
out. There are also side effects, like the playout stopping temporarily
until the wrapped around timestamps has caught up.

I suspect this is due to ffpmeg having pre-buffered all data to the end of
the file, and wrapping back around to 0 to re-buffer from the start of the
file. But at that point the playout of the file hasn't finished yet, but
the plug-in already reports timestamps of 0.

I have a short 40 frame file (all I-frames) of 1.333 seconds duration that
demonstrates the effect.

https://www.dropbox.com/s/dzolh5kf2xk8zpa/overlay_iot_applications.mp4?dl=0

osgmultiplemovies -e FFMPEG overlay_iot_applications.mp4

would demonstrate the problem. Instead of playing out and looping smoothly,
it interrupts playback at half the duration, only to resume later when the
wrapped-around timestamp has caught up. This is bizarre.

The ffmpeg version I've been testing with is the GPL'ed version
ffmpeg-20140924-git-3bc0361-win64-shared

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

Reply via email to