VideoHelp Forum
+ Reply to Thread
Results 1 to 8 of 8
Thread
  1. Member vhelp's Avatar
    Join Date
    Mar 2001
    Location
    New York
    Search Comp PM
    [SOLVED] -- see my last post, in blue.

    Ok. I am having no luck with interleaving Video and Audio under AVIsynth.

    Using AVIsynth 2.57 -- 2006


    vid = "myvideo.avi"
    aud = "mywave.wav"
    interlave(vid,aud) <-- fails

    . . .

    vid = "myvideo.avi"
    aud = "mywave.wav"
    interlave(aud) <-- fails

    . . .

    vid = "myvideo.avi"
    aud = "mywave.wav"
    AudioDub(vid,aud) <-- fails

    . . .

    vid = "myvideo.avi"
    aud = "mywave.wav"
    WavSource(aud)
    AudioDub(vid,aud) <-- fails with error message: "invalid arguments"

    . . .

    So, what am I missing. google is not turning up anything on processing a video file with an audio when your source video has no audio. I need to feed a video only source and then mux in the .wav audio because I am manipulaint the framerate and if I add (mux) the audio in later, it will mess things up a bit. I want to avoid it and just feed the vid/aud in the first avisynth script before doing any framerate conversion stuff.

    Any help would be appreciated, thanks.



    -vhelp 4849
    Quote Quote  
  2. Always Watching guns1inger's Avatar
    Join Date
    Apr 2004
    Location
    Miskatonic U
    Search Comp PM
    Try AudioDubEx() instead of AudioDub(). It works the same, but doesn't care of the source streams are missing video or audio streams
    Read my blog here.
    Quote Quote  
  3. Member vhelp's Avatar
    Join Date
    Mar 2001
    Location
    New York
    Search Comp PM
    Noop. Won't work either:

    Using AVIsynth 2.57 -- 2006

    video = "c:\myvideo.avi"
    audio = "c:\mywave.wav"
    WavSource(audio)
    AudioDubEx(video,audio) <-- fails with error message: "invalid arguments"

    -vhelp 4850
    Quote Quote  
  4. Member vhelp's Avatar
    Join Date
    Mar 2001
    Location
    New York
    Search Comp PM
    [SOLVED] -- Aug 25, 2008 11:30pm

    Ok. After nearly giving up, I found something that works:


    vid = "c:\myvideo.avi"
    aud = "c:\mywave.wav"

    video = AVIsource( vid )
    audio = WavSource( aud )
    AudioDub(Video,Audio)


    -vhelp 4851
    Quote Quote  
  5. Save yourself some work:

    Video=AVISource("c:\myvideo.avi")
    Audio=WAVSource("c:\mywave.wav")
    AudioDub(Video,Audio)
    Quote Quote  
  6. Banned
    Join Date
    Dec 2010
    Location
    New York
    Search Comp PM
    Hi,

    My audio source is ac3 and it does not seem to work.

    PHP Code:
    Video=MPEG2Source("video.d2v")
    Audio=DirectShowSource("audio.ac3")
    AudioDub(videoaudio
    Any ideas?

    Thanks
    Quote Quote  
  7. Maybe try NicAC3Source from the NicAudio.dll:

    http://www.avisynth.nl/users/warpenterprises/
    Quote Quote  
  8. Banned
    Join Date
    Dec 2010
    Location
    New York
    Search Comp PM
    Worked like a charm.

    Thanks
    Quote Quote  



Similar Threads

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