Hi Tanguy, thanks for the pointers, the timing code makes much more sense now. Sound does indeed make it a lot more problematic, seems I'll have to do some lateral thinking on this one :\
On 10 June 2010 13:52, Tanguy Fautre <tang...@aristechnologies.com> wrote: > Hi Michael, > > > > It’s been a long time since I’ve touched the ffmpeg plugin, but here is how > it was: > > 1/ when the video sound is being played, the video time is synchronized > with the audio player (this tries to keep the video tightly synchronized > with the audio track); > > 2/ when there is no video sound (or no audio player has been associated > with this video), then the video used to be synchronized with an internal > timer. > > > > Quickly looking at the code on SVN, it does not seem to have changed. > > > > Changing case 2 to be optionally synchronized with FrameStamp shouldn’t be > too hard (but will require code changes in the plugin). > > Case 1 looks more problematic though. > > > > Tanguy > > > > > > *From:* osg-users-boun...@lists.openscenegraph.org [mailto: > osg-users-boun...@lists.openscenegraph.org] *On Behalf Of *Michael > Platings > *Sent:* 09 June 2010 3:31 PM > *To:* OpenSceneGraph Users > *Subject:* [osg-users] ffmpeg synchronisation > > > > I've been playing around with the ffmpeg plugin and I've been very > impressed with how capable it is. The only problem I have with it is that > its playback speed is decoupled from the timing of the main scene. > Does anyone know of an easy way to ensure that the time of the ffmpeg video > is consistent with the time of the FrameStamp? > > _______________________________________________ > 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