Log in

View Full Version : ac3 to wave with only 3 channels


Tri
11th January 2002, 20:51
Hi!

I have a 3/2 ac3 file, but I only want to decode the LFE-Channel and the two Front-Channels. How do I do that?

If I save these 3 channels with Soft Encode to wave, I get a file much bigger than an ac3 3/2 file "normally" decoded by azid or dvd2avi.

DSPguru
11th January 2002, 21:03
greetings tri.

use azid with the following switch : -olfe,l,r .

from azid.txt :-o SEQUENCE, --output=SEQUENCE
------------------------------

Default: l,r

This options controls the channel and the sequence of the output channels.
The selectable channels are all input channels (l,c,r,s,sl,sr and lfe)
and a special zero-data channel (0). Up to 6 channels may be listed with this
command.

The -d option controls what kind of decoding target to use. This -o option
controls which of these channels to ouput (and their sequence). Let's say
for example that you have a 4 channel soundcard. You would like to have left
and right on one of the outputs and surround left and surround left on the
other. To do this you must specify -ol,r,sl,sr.

Tri
13th January 2002, 16:20
THX!

DarkAvenger
13th January 2002, 17:11
It should be possible with HeadAC3he, as well. But you will have a 3channel wav in the end, which is of course 50% bigger than a "normal" wav. Or do you just want to decode L,R and LFGE and mix LFE to L and R, thus getting a 2ch wav? Both should be possible.

MaTTeR
13th January 2002, 22:17
@Tri

I think the reason your unable to play the file is because it's a 32bit FP file. LAME will encode it perfectly though. The newest version of HeadAC3he allows you to encode straight to an ABR MP3 all in one step.

Tri
13th January 2002, 23:04
Of course, I want a 2channel wave. I played arround with azid-options and finally managed to get it. But it's much easier with HeadAC3he.

But the wavefile created with HeadAC3he cannot be loaded by MS mediaplayer or soundforge (first one says 'out of memory', soundforge says '... is not a wave file, or contains an unrecoverable error. a valid DATA tag could not be found in the specified file').

lame can correctly compress it to mp3.

btw the wave file is 2,28 GB.

DarkAvenger
14th January 2002, 01:05
If the wav is not 16bit ints, the meadia player cannot cope with it. But why go to wav if you want mp3?

Tri
14th January 2002, 16:51
I intended to compress it with lame using '--alt-preset cbr 160'.

DarkAvenger
15th January 2002, 01:08
Matter knows how to use the "hacked" lame_enc.dll with HeadAC3he, so ask him for help. Then you can do it on-the-fly.

MaTTeR
15th January 2002, 02:03
@Tri

If you want to use the Hacked DLL it's not very pretty just like the read me file states:)

Basically just replace the stable DLL with the hacked DLL. I suggest using DD's nice BeSweet GUI or HeadAC3he (standalone app). Read the read me file that comes with the hacked DLL it will tell you to use a certainly quality setting to achieve one of the --alt-presets. It's pretty straight foward but if you need help the just yell.