PDA

View Full Version : Avi with AC3, need to deocde please


Spakker
16th December 2002, 09:48
Hi,

I've got an avi thats been encoded using XVid, it seems to have an ac3 soundtrack, not a wave or mp3 soundtrack.
If i use virtualdub, i get a wavefile @ 90mb, 48000hz 8bit sampling.
But after this though, I cant do anything with the wavefile.

Can someone help me out please, i was thinking along the lines of demuxing the avi to its components, but cant get started, Besweet wont do anything for me.

Any help would be appreciated, thanks.

Spk.

DJ Bobo
16th December 2002, 11:35
extract the audio using avi2wav

rename the file to something.ac3

use azid in a DOS command to decode to WAV that way:

azid -c normal -a filename.ac3 filename.wav

you can add a "-F wav24" if you want better quality

Then you can encode to MP3 or whatever you want.

If your application doesn't support 24-bit input (Lame does support 24-bit input!), dither the 24-bit file into 16-bit using something like WaveLab or whatever you feel comfortable with.

Spakker
16th December 2002, 18:23
What can I say? Brilliant!

Thanks for the help, I did a direct stream copy of the video stream with virualdub. Then used Avi2Wav to create an ac3 file then ran that through headache to create a normal wave file.

Thanks again,

Spk.