Hi Christian, I have just tried your video with osgmultiplemovies with svn/trunk but it comes out black. I run the same movie in osgmovie it comes out fine though. No stats though so doesn't reveal any particular problem.
I'm not the author of the ffmpeg plugin so I can't provide any particular insights off the top of my head. Robert. On 9 December 2014 at 13:31, Christian Buchner <christian.buch...@gmail.com> wrote: > 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 > osg-users@lists.openscenegraph.org > http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org > >
_______________________________________________ osg-users mailing list osg-users@lists.openscenegraph.org http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org