I used DelayAudio in the .avs script, but the sound gets lost after I try to play the file.
Everything was fine when there wasn't for DelayAudio.
+ Reply to Thread
Results 1 to 12 of 12
-
Last edited by Charmer; 10th Aug 2011 at 12:31.
-
LoadPlugin ("C:\Program Files\AviSynth 2.5\plugins\DGDecode.dll")
LoadPlugin ("C:\Program Files\AviSynth 2.5\plugins\NicAudio.dll")
video=MPEG2Source ("D:\BM\VIDEO_TS.d2v")
audio=NicAC3Source ("D:\BM\VIDEO_TS T80 3_2ch 448Kbps DELAY 800ms.ac3")
Audio=Audio.DelayAudio(0.800)
AudioDub (video,audio)
Maybe? I'm sort of guessing because I don't mess with audio in my scripts. At the very least your DelayAudio line does nothing at all, but I'm not sure why you lose all sound. -
Does audio come too early or too late? or is it missing?
What happens when you remove the DelayAudio() ? -
I don't know why it doesn't work either, but
try
Code:audio=DirectShowSource("D:\BM\VIDEO_TS T80 3_2ch 448Kbps DELAY 800ms.ac3")
Possibly there may be some weirdness in your AC3 file. Saving it via Delaycut may fix that as a side effect.
Or, AC3fix; or BeSliced specifically fix bad AC3 files..
Or just expand it to Wave temporarily and load the wave.Last edited by AlanHK; 15th Jun 2010 at 11:06.
-
You're mistaken - charmed94's script should produce exactly the same results as yours.
The same question was posted on Doom9 and I believe the problem is either something wierd about the audio file, or a bug in NicAC3Source (or both). -
So you've convinced yourself DGIndex has nothing to do with it, right?
Compare the timings of the SRT with the timings of the extracted SUP file from the DVD. Extract using PGCDemux and open in SubtitleCreator. Are they different? If all the subs are off by the same amount you can fix the timings in DVDSubEdit. If they become off more and more as the movie progresses, it's a different problem, drop frame .vs non-drop frame timing probably.
Did you say what you're using to author? Most authoring programs don't take VobSubs as input. Or if making the VobSubs was a test, whatever you're using to author the SRTs to DVD is screwing up.