Can I get audio with AVISynth?
- kearlywi
- Joined: Sun Mar 23, 2003 2:50 pm
- Location: University of Colorado, Colorado Springs (Recording Arts Major)
Can I get audio with AVISynth?
granted, you normally wouldnt need source audio for an amv, but for what im doing i need it (Im putting together a clip show for class).
I used to use TMPGEnc until some1 told me that AVISynth is better for dvd2avi files (.d2v). I managed to call up my .d2v (video) file using the command:
MPEG2Source("C:\ripped dvds\TOKBAB12\Tokyo Babylon.d2v")
This command was successful. My question is: What is the command for importing source audio in notepad? Will the two work together naturally or do i have to enter in a 3rd command to "synthesize" them?
Or is AVISynth video only? (no sound)
I used to use TMPGEnc until some1 told me that AVISynth is better for dvd2avi files (.d2v). I managed to call up my .d2v (video) file using the command:
MPEG2Source("C:\ripped dvds\TOKBAB12\Tokyo Babylon.d2v")
This command was successful. My question is: What is the command for importing source audio in notepad? Will the two work together naturally or do i have to enter in a 3rd command to "synthesize" them?
Or is AVISynth video only? (no sound)
- kearlywi
- Joined: Sun Mar 23, 2003 2:50 pm
- Location: University of Colorado, Colorado Springs (Recording Arts Major)
I tried:
WAVSource("C:\ripped dvds\TOKBAB12\Tokyo Babylon AC3 T01 2_0ch 192Kbps 48KHz.wav")
as my 2nd line but my comp didnt like it
I double checked all of that infomation is correct. Is it possible that I just simply cant run both audio and video at the same time using AVISynth? More likely, should i use a different command to import my dvd2avi audio?
or am i using the right command and just doing it wrong?
WAVSource("C:\ripped dvds\TOKBAB12\Tokyo Babylon AC3 T01 2_0ch 192Kbps 48KHz.wav")
as my 2nd line but my comp didnt like it

I double checked all of that infomation is correct. Is it possible that I just simply cant run both audio and video at the same time using AVISynth? More likely, should i use a different command to import my dvd2avi audio?
or am i using the right command and just doing it wrong?
- klinky
- Joined: Mon Jul 23, 2001 12:23 am
- Location: Cookie College...
- Contact:
- kearlywi
- Joined: Sun Mar 23, 2003 2:50 pm
- Location: University of Colorado, Colorado Springs (Recording Arts Major)

rofl. Dammit its just not my day. This is what notepad currently says:
MPEG2Source("C:\ripped dvds\TOKBAB12\Tokyo Babylon.d2v")
WAVSource("C:\ripped dvds\TOKBAB12\Tokyo Babylon AC3 T01 2_0ch 192Kbps 48KHz.wav")
There is no 3rd line, the first is video and the second is audio. It turns out my actual .wav file was named "Tokyo Babylon AC3 T01 2_0ch 192Kbps 48KHz.wav.wav"
After fixing that i got audio to work but now my video doesnt work and I did nothing to change it (my video was just working 15 minutes ago!). Do I need to enter in a 3rd command line to make the two play simultaneously? Or do I just need to check my code again?
- kearlywi
- Joined: Sun Mar 23, 2003 2:50 pm
- Location: University of Colorado, Colorado Springs (Recording Arts Major)
Ok when I have the following code:
MPEG2Source("C:\ripped dvds\TOKBAB12\Tokyo Babylon.d2v")
Windows Media player plays the video file with no problems (no sound).
Similarly, when I use the following code:
WAVSource("C:\ripped dvds\TOKBAB12\Tokyo Babylon AC3 T01 2_0ch 192Kbps 48KHz.wav")
Windows Media player plays the AUDIO file with no problems. However, when I use the following code:
MPEG2Source("C:\ripped dvds\TOKBAB12\Tokyo Babylon.d2v")
WAVSource("C:\ripped dvds\TOKBAB12\Tokyo Babylon AC3 T01 2_0ch 192Kbps 48KHz.wav")
I only get audio or i just get video, (whichever comes 2nd). In order to synthesize these i probably have to load the video into premiere then somehow attach the audio somehow. How do I attach audio (whether it be a .wav song or the .wav source audio to a muted video clip in Adobe Premiere 6.0?
MPEG2Source("C:\ripped dvds\TOKBAB12\Tokyo Babylon.d2v")
Windows Media player plays the video file with no problems (no sound).
Similarly, when I use the following code:
WAVSource("C:\ripped dvds\TOKBAB12\Tokyo Babylon AC3 T01 2_0ch 192Kbps 48KHz.wav")
Windows Media player plays the AUDIO file with no problems. However, when I use the following code:
MPEG2Source("C:\ripped dvds\TOKBAB12\Tokyo Babylon.d2v")
WAVSource("C:\ripped dvds\TOKBAB12\Tokyo Babylon AC3 T01 2_0ch 192Kbps 48KHz.wav")
I only get audio or i just get video, (whichever comes 2nd). In order to synthesize these i probably have to load the video into premiere then somehow attach the audio somehow. How do I attach audio (whether it be a .wav song or the .wav source audio to a muted video clip in Adobe Premiere 6.0?
- klinky
- Joined: Mon Jul 23, 2001 12:23 am
- Location: Cookie College...
- Contact:
- kearlywi
- Joined: Sun Mar 23, 2003 2:50 pm
- Location: University of Colorado, Colorado Springs (Recording Arts Major)
I'm a little confused. Should my final code look like this then?klinky wrote:You can do somthing like this :
video = mpeg2source("d2vfile.d2v")
audio = WAVSource("wavfile.wav")
AudioDub(video, audio)
When you use DVD2AVI it should create a WAV file, which is what you would use under WAVSource
MPEG2Source("C:\d2vfile.d2v")
WAVSource("C:\wavfile.wav")
AudioDub(("d2vfile.d2v"),("wavfile.wav"))
or like this?
MPEG2Source("C:\d2vfile.d2v")
WAVSource("C:\wavfile.wav")
AudioDub(("C:\d2vfile.d2v"),("C:\wavfile.wav"))
or like something else?
I found out how to synthesize the 2 in virtual dub by loading the soundless video and inserting the source audio as a "non-source" .wav file (the same way you would insert a song).
- klinky
- Joined: Mon Jul 23, 2001 12:23 am
- Location: Cookie College...
- Contact:
AVISynth is a scripting language. You can define variables and other things that can be passed on to functions(plugins, internal or external).
AudioDub is a function that requires a input video stream & a input audio stream.
You need to assign these streams to variables first.
So your AVISynth file should look exactly like the example I posted.
~klinky
AudioDub is a function that requires a input video stream & a input audio stream.
You need to assign these streams to variables first.
So your AVISynth file should look exactly like the example I posted.
~klinky
- kearlywi
- Joined: Sun Mar 23, 2003 2:50 pm
- Location: University of Colorado, Colorado Springs (Recording Arts Major)
Ok here is what my code looks like now (verbatim):klinky wrote:
So your AVISynth file should look exactly like the example I posted.
~klinky
MPEG2Source("C:\ripped dvds\COWBOY_BEBOP_V6\cowboybepop24.d2v")
WAVSource("C:\ripped dvds\COWBOY_BEBOP_V6\cowboybepop24 AC3 T02 2_0ch 192Kbps 48KHz.wav")
AudioDub(video, audio)
when i run it in a movie player or virtualdub i get the following error:
"I don't know what "video" means"
What am I doing wrong?
- klinky
- Joined: Mon Jul 23, 2001 12:23 am
- Location: Cookie College...
- Contact: