PDA

View Full Version : Video-audio out of sync


Ivarsson
13th September 2003, 09:45
I have a problem with a video i captured from an old VHS tape (at 768x288 Huffyuv). When I captured I got dropped frames. When I apply the following avisynth script the video plays perfectly in windows media player (via the script).
Script:
LoadPlugin("C:\Convolution3D.dll")
videon=AVISource("D:\VCR.avi")
DelayAudio(videon,-0.05)
Trim(70, 252182)
ConvertToYV12()
Crop(4, 0, 752, 282)
BicubicResize(448, 336)
Convolution3D(preset="movieHQ")
ConvertToYUY2()

When I encode this script to SVCD I get perfect sync. When I open the script in Virtual Dub and play the script everything is in sync. However after encoding video and audio to xvid and mp3 the sound is out of sync. No matter if I encode the video/audio separately or together. No matter if I have "Sync to audio" checked or not. The sound is more in sync in the beginning of the file than in the end of it. (The file is 1.4 GB so I canīt provide a sample.

Does anyone have a hint to how I should proceed to solve this problem?

Ivarsson
14th September 2003, 13:32
I would like to add that the file was capped using VirtualDubVCR and that the version of VDub I'm using is 1.5.1 build 15654. Is there any known bugs in this "old" version?

Ivarsson
14th September 2003, 19:26
Never mind. I updated and no longer have the sync issues.