Log in

View Full Version : Peculiar Sync issues with wav and WMV...


Jocko Homo
1st December 2008, 18:02
I have a peculiar sync issue with a script that combines video from a WMV file loaded using DirectShowSource() and audio from a .wav file loaded with WavSource(). Miraculously, everything is in sync whenever you seek anywhere in the output video but they go out of sync if you let it play from the beginning as well as encoding. I find this strange since it's usually the other way around; where playing stays in sync while seeking goes out.

Another peculiarity that I think may be true (I'm not sure) is that how much it goes out of sync seems independent of the video length. It's hard for me to test since that requires watching the whole video through but it was only a few seconds off both videos even though one is three times as long as the other.

Has anyone ever seen this? Does anyone have any guesses as to what's going on?
Thank you...

IanB
2nd December 2008, 09:30
I am guessing your .WMV file is vfr, try the convertfps=true option of directshowsource, you will probably also need to specify the FPS to put things back into sync.