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?
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?