VideoHelp Forum




+ Reply to Thread
Results 1 to 6 of 6
  1. My script looks like this:
    LoadPlugin("C:\Program Files\AviSynth 2.5\plugins\MPEG2Dec.dll")
    vid=Mpeg2Source("video.d2v")
    aud=WAVSource(“audio.wav”)
    AudioDub(vid,aud)
    ResamleAudio(48000)
    AssumeFPS(23.976,True)
    ConvertToYUY2()

    When I try to run the script I get the message:
    I don't know what "audio" means. (C:C:\Program Files\AviSynth 2.5\plugins\movie.avs, line 3)

    What is causing this error?
    Quote Quote  
  2. Isn't "MPEG2Dec.dll" for AviSynth v2.0, not v2.5?
    Quote Quote  
  3. Originally Posted by screwball67
    vid=Mpeg2Source("video.d2v")
    aud=WAVSource(“audio.wav”)
    The quotes from (“audio.wav”) look different from ("video.d2v")....

    What editor are you using? I couldn't reproduce the “ quote on my keyboard...
    Quote Quote  
  4. Thanks that worked I got that script from djrumpy's guide on this webpage. However now it gives an error that the ResamleAudio(48000) is not a command. I removed it and it works fine but I was unsure of the importance of that line.
    Quote Quote  
  5. Member kush's Avatar
    Join Date
    Jul 2004
    Location
    Near "Pacific Park", USA
    Search Comp PM
    ResamleAudio(48000)
    Maybe you mean to try ResampleAudio(48000)?
    Quote Quote  
  6. VH Veteran jimmalenko's Avatar
    Join Date
    Aug 2003
    Location
    Down under
    Search PM
    As pointed out, correct spelling helps

    That line resamples the audio from its current frequency to 48Khz.
    If in doubt, Google it.
    Quote Quote  



Similar Threads

Visit our sponsor! Try DVDFab and backup Blu-rays!