Log in

View Full Version : Help. Audio gets out of sync.


Kaze_no_Hime
18th June 2010, 08:52
Ok, here's the problem I encoutered recently.
The script I use is like this:
video=DGDecode_mpeg2source("D:\Demuxed DVDs\Madlax\VideoFile.d2v", info=3)
audio=WAVSource("D:\Demuxed DVDs\Madlax\AudioFile_A0.wav")
AudioDub(video,audio)
ColorMatrix(hints=true, threads=0)
AnimeIVTC(mode=4, aa=4, killcomb=2, dark=0.5, sharp=160, omode=1)
LSFmod(strength=160, Smode=5, Smethod=3, kernel=11, secure=true, Szrp =16, Spwr=4, SdmpLo=4, SdmpHi=48, Lmode=4, overshoot=100, undershoot=100, overshoot2=200, undershoot2=200, soft=-2, soothe=true, keep=30, edgemode=0, edgemaskHQ=true, ss_x=1.50, ss_y=1.50, preblur="FFT3Dfilter(sigma=4,plane=0)")
FFT3dGPU(mode=1, precision=2, sigma=1.25, bt=4, bw=32, bh=32, ow=16, oh=16)
trim(36462,66795)+trim(68954,69329)
The aduio doesn't get sync with the video. When I was with XP SP2/3 OS a month ago it was fine using this script.
But I'm currently with Windows7 Ultimate and I even hardly found out how to install Hufyuff on it...'
Tried using the script in both VitrualDubMod 1.5.10.2 All inclusive, and VirtualDubMod 1.8.8. Both gets the qudio out of sync. I mean it doesn't trim accurately. Audio has the opening theme song on it, and the video itself doesn't have opening.

Any suggestions on how to fix that problem and what may cause it?

mgh
18th June 2010, 09:19
try trim immediately after audiodub line, not at the end

Kaze_no_Hime
18th June 2010, 14:27
Doesn's work. It gives me 24100+ frames of video, and it must be 30710. Also when putting the command after the AudioDub(video,audio) command, the output video got meesed up. Ending a while after the begining and it's not the whole episode I want to cut. Just everything's got messed up this way.
I can't understand why my script doesn't work properly now? It worked before, when I was with XP, using the same filters and programs.