Audio for Video – Avidemux and Wavosaur

Thursday, June 11th, 2009

In my last blog entry I described the process for merging audio and video recorded on two different devices, for instance, replacing the audio in a Flip Mino HD video with audio recorded on a Zoom H2. This is a very handy technique, and can give great audio quality in the final video, but sometimes we only have camera sound available. So this post will describe the steps involved in separating the audio from the video, processing the audio, and merging the improved audio stream back to the video.

Naturally a cheapskate like me is only interested in free solutions, so the software tools for this project are Avidemux for video and Wavosaur for audio. With these two tools we can tweak our camera audio by raising volume, adding reverb, adjusting tone, and so on.

Trim Video and Extract Audio

We start by opening the video in Avidemux. Next we trim the video to eliminate alternate takes and start and stop activity that we don’t need to display. The A and B markers in Avidemux make this an easy task, just be sure to only set these markers on I frames, not P frames. Then set the container format to match the original video, and save the file, preferably to a new name, retaining the original. Avidemux will only save the portion of the video within the A and B markers. As always with Avidemux we must enter the file extension, and it should match the container format.

Next, open the newly saved trimmed file. We want to save the audio as an uncompressed WAV file in most cases, so set the Audio codec to PCM. Then save the audio from this video using the Audio : Save menu option, being sure to add the .WAV extension. Close Avidemux.

Enhance Audio with Wavosaur

Now start Wavosaur and open the newly extracted audio file. In our example we’ll only adjust the volume, and we’ll do that in the simplest way, by normalizing the file to -3dB. (Maximum volume in a digital audio file is called 0dB, so all volume levels are expressed as negative numbers.) Use the Process : Normalize menu option, then select Custom and set the value to -3. The audio file is now noticeably louder. Save the file and close Wavosaur.

Merge Enhanced Audio with Avidemux

Restart Avidemux and open the trimmed clip. Set the container Format to match the file type. Now merge the enhanced audio file using the Audio : Main Track menu option. Set the source to External WAV and Open the file we just ehanced in Wavosaour. We’re almost done, but we need to recompress the audio – it’s currently an uncompressed WAV file and we need to return it to the AAC format (or other as appropriate) that we started with. So set the Audio field to the AAC codec and save the file. Now you’re ready to upload your video with its enhanced audio.

Of course it’s a lot easier to follow these steps in a video demonstration, so please check this one out.

VST Plugins

Wavosaur is a handy audio tool with a simple interface and good performance, but it needs a little help from some other free software tools called VST plugins. These are software tools for audio that can be added to any program that knows how to be a VST host, and Wavosaour is just such a program.

Some of my favorite VST plugins are created by Kjaerhus Audio. The Classic series of effects are all free downloads, and no one should be without Classic EQ and Classic Reverb.

While I was perusing the Wavosaur tutorials I discovered another EQ tool, called PushTec 5.1 and I was startled by the excellent selection of presets. Be sure to spend a few moments going through the tutorials to better understand the power of Wavosaur and of this terrific free utility.



This entry was posted on Thursday, June 11th, 2009 at 1:40 pm and is filed under Tutorials, Video. You can follow any responses to this entry through the RSS 2.0 feed. You can leave a response, or trackback from your own site.


One Response to ' Audio for Video – Avidemux and Wavosaur '

Subscribe to comments with RSS or TrackBack to ' Audio for Video – Avidemux and Wavosaur '.

  1. apparel shopping said in post # 1,

    on November 23rd, 2009 at 10:32 am

    Thank you for the great quality of your blog, every time i come here, i’m amazed.

Leave a reply






About the Blog

    Howdy, my name is Fran Guidry and this is my Homebrewed Music blog.

    I play Hawaiian slack key guitar and recorded my solo acoustic CD at home. Most of the recording information I find on the internet seems focused on bands, drums, multitracking, and so on but my main focus is recording solo acoustic guitar. Lately I’ve been enjoying video recording along with audio, so that shows up in the blog as well.

    I’m also a guitar nut. I love big ones and little ones, handmades and factory guitars, cheap ones and expensive ones. So I’ll be sharing the fun of exploring guitars as well, along with the challenges of amplifying acoustic guitars for live performance.

    Welcome!

Philosophy

    My recording philosophy is pragmatic, skeptical, not super critical. After all, the performance is by far the most important component of a track, and every aspect of any recording is a matter of taste.

    But I do like to know “about stuff.” Back in hifi days I learned about double blind testing. I learned that we humans can easily hear differences that don’t really exist. The more I’ve learned about our human auditory system, the more I’m skeptical of what people say they hear, especially if they claim that a particular microphone or preamp or cable has some magical property.

    I’ve only been recording since 2001, and when I started I found the usual places on the internet. I sought advice and accepted it, thought I would improve my recordings by using more expensive equipment. It didn’t work.

    Two things that did seem to lead to better recordings were experience and room treatment. Getting an appealing sound is the combination of many small details, and learning those details only comes from experience. Amd the sound of the recording space is obviously a big factor.

    I’ve only recorded seriously using digital technology, but I remember trying to record rehearsals and gigs back in analog days. I don’t have any nostalgia for analog recording and playback systems at all. I think even low end digital systems can capture marvelous recordings. So when I look at gear, I look for good specs: low noise, broad flat frequency response, wide dynamic range, low distortion. I’m not interested in colorful components, mics and preamps with a sound, I want the sound to be the sound of my guitar.

    But the last word is that I’m just learning and I hope you find something useful in my posts.