VirtualDubMod Audio Help

This forum is for questions and discussion of all the aspects of handling your footage. If you have questions about capturing/ripping footage, AviSynth, or compression/encoding/converting, look here.

VirtualDubMod Audio Help

Postby Wind Dragon » Sat Apr 07, 2007 12:10 pm

How do I get VirtualDub to include audio when converting to .avi? I used avisynth to decode my audio to wav, and it works as a separate file. I know hardly anything about using script in virtualdub, but I tried adding a wavsource("file path") line and it still doesn't work. Can anyone help?
User avatar
Wind Dragon
 
Joined: 20 Feb 2005

Re: VirtualDubMod Audio Help

Postby Scintilla » Sat Apr 07, 2007 1:23 pm

Wind Dragon wrote:How do I get VirtualDub to include audio when converting to .avi? I used avisynth to decode my audio to wav, and it works as a separate file. I know hardly anything about using script in virtualdub, but I tried adding a wavsource("file path") line and it still doesn't work. Can anyone help?

You don't have to add the audio using AVISynth; you can also add it separately under the Audio menu (or Streams menu --> Streams list, if you're using VirtualDubMod 1.5.x.x+).

But normally what I do is something like this:

Code: Select all
AVISource("C:\mypath\myvideo_noaudio.avi")
# Lots of postprocessing filters go here
AudioDub(last, WAVSource("C:\mypath\myaudio.wav")

The AudioDub function combines the video from the first argument with the audio from the second. Using the keyword last as the first argument tells AVISynth to take the video from whatever was the result of the previous line of the script -- in this case, my filtered video.
ImageImage
:pizza: :pizza: Image :pizza: :pizza:
User avatar
Scintilla
(for EXTREME)
 
Joined: 31 Mar 2003
Location: New Jersey
Status: Quo

Postby Scintilla » Sat Apr 07, 2007 1:23 pm

... and of course, that AudioDub line should have an extra closing parenthesis on the end of it.
ImageImage
:pizza: :pizza: Image :pizza: :pizza:
User avatar
Scintilla
(for EXTREME)
 
Joined: 31 Mar 2003
Location: New Jersey
Status: Quo


Return to Footage Help

Who is online

Users browsing this forum: No registered users and 0 guests