You are on page 1of 7

What I do is something similar.
I rip the DVD using DVD Decryptor. I then open the VOB files within XMPEG 5 (available from
Doom9.ORG ) and right click on the application.
I then chose Extract Audio to....
This gives me 3 audio extraction choices:
1.) DirectStream to AC3/MP2
This dumps the AC3 audio from the VOB files directly to a single AC3 file, without losing the
2.) WAV
This will convert the AC3 audio to an uncompressed WAV file. I believe it's standard CD audio
(44100 Hz, 16-bit stereo), but it might even be 48000 Hz, 24-bit stereo.
3.) MP3
Converts the AC3 to a MP3 file, using the audio encoding setup set up beforehand in the Options.
So, I can encode to 256 Kbps VBR or 320 Kbps CBR.

First, launch VirtualDubMod. Then, go to the File menu and select Open video file.. and use the file
dialog box to locate the video file that you want the AC3 audio to be extracted from and click Open.
VirtualDubMod will open MKV files as well.
Stream list

Now, head to the Streams menu and select Stream list. This opens up a new window that includes a
list of audio and possible subtitle streams in your AVI file. As you can see in the example, mine has
a 6 channel Dolby AC3 stream.
Extract the AC3 stream

In the stream list view, select the AC3 audio stream from the list you see and then click the Demux
button. This opens up a new file dialog box. Select a directory where you wish to save the AC3

audio file to, give it a easy-to-remember name, make sure that the Save as type says AC3 file and
click Save.
Finishing Up
Now, VirtualDubMod will extract the AC3 audio into its own file, with an extension of .ac3. This
will take only few moments and after this is done, you have an extracted AC3 file ready and you
can proceed with whatever it is that you're doing with it :-)

AC3 to MP3 using BeSweet

You'll need the following software for this guide:
In the DVD and TV backup world, there's one audio tool you should be familiar with, and that is
BeSweet. No other tool is as suited for the tasks at hand. BeLight is one of the many GUIs available
for BeSweet, and is the most up-to-date so I'm going to use it in this guide.
Step 0: First time setup
Copy both BeLight and BeSweet to the same folder.
Step 1: Encoding
To add files to be encoded, simply drag and drop them from Windows Explorer to the input are in
The easiest way to get on the way is to use one of the existing encoding presets:
Select one, then press the Start Processing button and you're under way.

If you prefer more control, you can of course configure BeSweet just the way you want it. First of
all, you can configure all the codec agnostic settings. Once you have done that, select the MP3 tab
to configure the MP3 encoder. The first choice you have to make is the encoding mode:
Selecting Bitrate allows you to use the bitrate based mode. In that mode, you can enforce a certain
bitrate. In Quality mode, the encoder will try to reach the desired quality level and use whichever
bitrate is necessary to reach the desired quality.

In Bitrate mode, you an then use the bitrate slider to set your desired bitrate. If you check Restrict
Encoder to Constant Bitrate, you enforce a CBR audio stream. If you don't check it, the audio
stream will use variable bitrate.

In Quality mode, you have the quality slider to work with. 100 is the best quality you can achieve,
10 the lowest. If you hover over the slider's current position, BeLight will show you an
approximation of the bitrate you should get at the current setting.
Finally, we have the Operational Options.
Check Mono Encoding if your target format is mono (if your source is mono, so should your target).
You can click on Other Settings to access the more advanced options of the MP3 encoder, but
generally you shouldn't reconfigure them unless you can explain what they do..
All the remains to be done now is press the Start Processing button. BeLight has a nice progress bar
to keep you up-to-date with the progress of the encoding session:
BeLight Common settings
The Azid Settings are broken into two parts: Dynamic Compression, which is accessible from the
main GUI window, and all the other settings which are only available in the Advanced Settings
Dynamic Compression does the same thing your player does during playback of an AC3 file: it
reduces the dynamic range so that you can hear weak signals (like voices) better. Leave this at
Normal or set it to Light (most players use normal).

BeSweet can resample your audio source using the high quality SSRC resampler. There are two
scenarios where you should consider resampling: Your source doesn't have a sampling rate of 48000
Hz and you're encoding a file that is to be put on a DVD. DVDs require 48000 Hz, so resampling is
a must. The other scenario is that you have a 48000 Hz source and are encoding for a VCD/SVCD,
which requires 41000 Hz. I consider this an optional resampling in this scenario, because DVD
players generally can handle (S)VCDs even with an audio sampling rate that is not specs compliant.
Either way, if you need resampling, check Output Sampling Rate and select the appropriate
sampling rate from the dropdown.

BeSweet offers different ways of increasing the volume of the output, so you won't have to turn the
volume knob on your stereo when watching one of your DVD backups, and wake up all your
neighbors if you forget to turn the volume back and putting in an audio CD after watching a movie.
One of those options is using Boost.
Checking Boost Mode allows you to select one of the different volume boost options. The options
differ in how much different frequencies are being boosted. If you want to use this option, I suggest
you experiment to find the proper setting.

The volume increase option I suggest is using BeSweet's OTA.

Check Mode to enable an volume increase option. Depending on which audio codec tab is active,
you have 3 options: HybridGain, PreGain and PostGain. If possible, use HybridGain. HybridGain is
a combination of the other two modes: PreGain decodes the audio to find out how much the volume
can be increased without causing any overflows. This requires two passes over the audio, and is
thus the slowest mode. PostGain encodes the audio at the original volume level and then increases
the volume after encoding using special mechanisms that are not available for all codecs.
HybridGain applies a 10db from the start, and then uses the same mechanism as PostGain to
increase the volume level after encoding where applicable.
If you load an audio source, BeLight will automatically look at the filename, and if it contains a
delay value, will fill in the delay value. If you have a source for which this is not done, check Delay
and enter the appropriate value on your own. Note that delays can be negative (meaning the first X
milliseconds of the audio will be skipped), or positive (in which case BeSweet adds X milliseconds
of silence at the beginning).
View or Edit BeSweet Command Line allows you to preview the commandline BeLight has
created, and to edit the commandline.
All other generic settings are available if you click on the Advanced Settings button.
First of all we have the Azid Settings
If your input is a 5.1 channel AC3 (the default for most DVDs), and your output is to have only 2
channels, you'll want to put the LFE (subwoofer) channel into the main stereo channels and reduce
its volume level to prevent distortion during explosions and such. Hence check LFE to LR Channels
and set it to -3dB. If your input is a 2 channel source or your output is to have 5.1 channels,
uncheck this option.
Output Mode allows you to configure the surround downmix mode. Check if if your input has 5.1
channels and the output has 2.0 channels. Stereo creates a 2.0 channel downmix without any
surround channels. Setting it to dplii creates a Dolby Surround 2 compatible downmix which yields
the best quality for Dolby Surround 2 compatible stereos, while remaining compatible to stereo and
Dolby Surround capable setups. Finally, dpl would create a standard Dolby Pro Logic Downmix.
Dialog Normalization Reduction can be used to reduce audio volume normalization for the center
Checking Normalize to allows you to force normalization to a specific volume level (that is to level
out the dynamic range so that voices and other quiet sounds on the original DVDs can be heard
properly in the end). I suggest not to use this option but instead use the BeSweet OTA options in the
main window.
Using the SoundTouch options, you can change the length of your audio track:
The one option you are most likely to use here is the Convert Frame Rate from option. Simply plug
in the original framerate of your source and the framerate of your converted video and BeLight will
adjust the audio length accordingly so that the audio will remain in synch with the video.
Since changing the length of an audio track will change the speed of the audio track, voices will no
longer sound the same. That is where the other options come in. Using the Pitch option, you can
effectively adjust the tone of voices to match the original movie (something which is not done when

American movies are brought to European DVDs, or the other way around). Since SoundTouch is a
rather complex subject, I suggest that you use the options not explained here with great care, and
refer to the BeSweet commandline manual for the full gist on what all those options do and how
they are supposed to be used.
If you want to limit encoding to a certain range of the input file, you can use the Partial Encodings
Check Start Point to make BeSweet start encoding at the desired point in seconds from the start of
the audio track, and check End Point to set the point up to which BeSweet will encode.

I won't go into the External Plugins as they are too complex to be treated here, so let's proceed
directly to the Others options.
If you are interested in using the SuperEqualizer, please refer to the SuperEqualizer thread in the
You can use Append Silence of to add silence to the beginning of your output. I don't see much use
for that in DVD backups, because you can also use the Delay option to add silence, so this seems
kind of redundant.
By default, when writing MP3 files, BeSweet adds an ID3 tag identifying the file and indicating
that it was created by BeSweet. You can check No ID3 Tags to disable this mechanism.
You should always keep Output Log File checked so that BeSweet's operations will be logged, and
that potential errors can easily be identified. By default, BeSweet will overwrite its logfile for each
operation, so you can check Append Log Output to the end of existing file to make sure nothing is
For a complete reference of all BeSweet options, please refer to the BeSweet Commandline
this file lists all supported WaveBooster switches for BeSweet v1.3.
beware : switches are case-sensitive.
Usage :
BeSweet -core(..) -ota(..) -azid(..) -ssrc(..) -boost(..) -lame(..) -2lame(..) -ogg(..) -split( .. ) -plugin( ..
/l= Limit Factor
---------------Default: 0.95
This controls the maximum gain of output file.
Values should vary from 0 to 1.

/b= Boost Factor

---------------Default: 3
This controls the compression level.
Values should vary from 1 to 10.
implements a DRC algorithm by LigH.
/b2= Boost Factor
---------------Default: 3
This controls the compression level.
Values should vary from 1 to 10.
implements a DRC algorithm by Dg.

/b3= Boost Factor

---------------Default: 3
This controls the compression level.
Values should vary from 1 to 10.
implements a DRC algorithm by Tera.
-------Default: Disabled.
This disables WaveBooster engine.
WaveBooster is disabled by default and this switch is mostly used in list files, when the use of the
WaveBooster is needed to be disabled after was enabled.

Within The Options Of Boost Mode (LigH, DSPGuru & Tera) Which Does The Best Job?
Never Got Much Out Of This :(
Ligh: Defines the dynamic compressions strength using an algorithm by LigH. Valid arguments
range from 1 to 10. With a value around 3 this switch is especially useful for stereo sources.
DSPGuru: Defines the dynamic compressions strength using an algorithm by DSPguru. Valid

arguments range from 1 to 10. With a value around 4 this switch is especially useful for 6-channel
Tera: Defines the dynamic compressions strength using an algorithm by Tera. Valid arguments
range from 1 to 10.