PDA

View Full Version : decoding AC3 from DivX movies ?


Komura
27th July 2002, 21:32
Hello

Sorry if that is stupid, but it takes a lot of my time.
I have a 2 CD divx movie ( Enemy at the gates) with sound in AC3.I wantto have it in just one CD, using VirtualDub.
It started to work after installing AC3 codec, but VirtualDub doesn't see the audio Codec.
I want to have just one CD, by reducing video and audio quality to some form of MP3. I can't do it because of the unseen codec AC3 from VirtualDub. Also in file properties it is "unknown codec"
Any ideeas ? Thanks a lot

Komura

DJ Bobo
27th July 2002, 21:44
Encode the video alone in VD (don't expect any high quality since you're recompressing an already highly compressed video) into 2 separate video-only files.

Extract the AC3 from the original files using File -> Save WAV, change the extension into ac3 and run the thing through AC3fix that way:
ac3fix oldfilename.ac3 newfilename.ac3

As you have 2 files, you'll have to find the common gain to apply first. Use AZID that way:

azid -c normal -N file1.ac3 file1.wav

And note the peak value
Same thing for the second file.
Take the highest peak from both. For example, if you get -9.5db & -12db, take -9.5db and use now AZID to output WAVs:

azid -c normal -g9.5db file1.ac3 file1.wav
then
azid -c normal -g9.5db file2.ac3 file2.wav

You can now convert these WAV files to MP3 using RazorLame.
Mux now both video-only AVIs with the MP3s in NanDub.
Then use NanDub to append the second file to the first one.

pacohaas
27th July 2002, 23:01
:readfaq: 15 and 7 might be helpful here.