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: [email protected] 
[mailto:[email protected]] 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
[email protected]
http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org

Reply via email to