Log in

View Full Version : WMV audio delay?


linyx
30th October 2008, 01:12
I am trying to convert some wmv files to x264, but i keep getting screwed up audio. When i run a script like this through VDub, it works fine, but if i encode audio and video separately, then it is out of sync.

DirectShowSource("C:\Source.WMV", audio=true, convertfps=true, fps=30.000)


I need to use something other than VDub though because x264 quit using VFW a while ago, and i still use x264+belight for encoding. So my question is, how can you find the audio delay in wmv, if that is what it is?

BTW - These are from http://civil-protection.blogspot.com/ so they shouldn't violate rule #6.

Any help is appreciated.
Thanks!

poisondeathray
30th October 2008, 02:18
Are you using the same script for audio? or using the .wmv directly as input? I find if I feed the same script into (BeHappy or MeGUI), it's in sync for .wmv files

Another approach: If you are sure it's a constant sync issue (same lengths for audio/video), just figure out the delay after in a media player (usually +/-) and enter it for mp4box or mkvmerge to "fix" it.

linyx
30th October 2008, 02:36
cool, didnt know megui would accept a file like that for audio, i was demuxing the audio and that was what didn't work for the sync issue. Thanks!