VideoHelp Forum




+ Reply to Thread
Results 1 to 12 of 12
  1. 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.

    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")
    AudioDub (video,audio)
    DelayAudio(0.800)
    Last edited by Charmer; 10th Aug 2011 at 12:31.
    Quote Quote  
  2. 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.
    Quote Quote  
  3. Delete the post.
    Last edited by Charmer; 10th Aug 2011 at 12:28.
    Quote Quote  
  4. Does audio come too early or too late? or is it missing?

    What happens when you remove the DelayAudio() ?
    Quote Quote  
  5. Delete the post.
    Last edited by Charmer; 10th Aug 2011 at 12:29.
    Quote Quote  
  6. Member AlanHK's Avatar
    Join Date
    Apr 2006
    Location
    Hong Kong
    Search Comp PM
    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")
    Otherwise, use Delaycut to put the delay into the AC3 file.

    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.
    Quote Quote  
  7. Member
    Join Date
    Jul 2009
    Location
    Spain
    Search Comp PM
    Originally Posted by manono View Post
    At the very least your DelayAudio line does nothing at all
    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).
    Quote Quote  
  8. Delete the post.
    Last edited by Charmer; 10th Aug 2011 at 12:29.
    Quote Quote  
  9. Originally Posted by charmed94 View Post
    Edit: I converted .srt to .sub/idx now and loaded it into MPC, and the timing is like perfect!
    I guess something happens with the timing in the process of conversion.
    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.
    Quote Quote  
  10. Delete the post.
    Last edited by Charmer; 10th Aug 2011 at 12:30.
    Quote Quote  
  11. Then I'm telling you DGIndex has nothing to do with it. And since I have no idea what you're saying I'll let someone else try and help. Good luck.
    Quote Quote  
  12. Delete the post.
    Last edited by Charmer; 10th Aug 2011 at 12:30.
    Quote Quote  
Visit our sponsor! Try DVDFab and backup Blu-rays!