Log in

View Full Version : AAC to WAV, is it possible via command line?


Mogan
28th October 2003, 23:45
Hi. My problem is that i have to convert an aac file (5.1 channel) to an mp3. I know i can do it with Nero, but i need to do it via a script (like using besweet). Is it possible to decode to wav an aac with besweet (or another command line utility)?

Thanks
Mogan

P.S. i tried to seach through the forum but didn't find an answer, even in the FAQ.

KpeX
28th October 2003, 23:57
Head over to http://rarewares.hydrogenaudio.org/aac.html and grab the latest FAAD binary. You'll probably need libmmd.dll as well, it's linked on the same page. Your commandline should probably look something like faad -o outfile.wav -d infile.aac
The '-d' switch denotes a 5 channel to 2 channel downmix, which I'm assuming you want to do since you mentioned MP3. hth,

Mogan
29th October 2003, 00:34
Thanks a lot.
I'll give it a try :)

Byez
mogan

Mogan
29th October 2003, 08:20
It works!! And is GREAT:
Now :) there's a way to demux every single channel from a aac 5.1 to single wavs? I looked at faac help but seems to don't support this feature.

Thanks
Mogan

tiki4
29th October 2003, 16:36
You may split the multichannel wav with BeSweet like this:

besweet -core( -input multichannel_wav_file.wav -output mono_wav_files -6ch )

tiki4

Edit: Didn't read all of the above. This will of course only work if you do not downmix from 6 to 2 channel. But otherwise you get six mono WAVs for C, FL, FR, SL, SR and LFE.

Mogan
29th October 2003, 17:00
@Tiki4
I tried, but i got this error message:
Error 58: Error : Unknown Input-File Format
I tried to open the wav file, obtained via faad demux, and the file sounds normal, the matrix mixer gets the 5.1 channel and i can hear the voice and sounds from different channels (a little bit aloud ... but correct)
Any other suggestion?

Thanks :)
Mogan

tiki4
29th October 2003, 17:07
Hu, which version of BeSweet do you use?

Otherwise you may use besplit as an alternative:

besplit -core( -input multichannel.wav -prefix mono -demux -type wav )

Please check the examples file that comes with BeSplit. You get it from DSPGuru's homepage, latest should be 0.9b6 AFAIK.

tiki4

Edit: No, it's 0.9b6

Mogan
29th October 2003, 17:17
Thanks, i'll give it a try, BTW I'm using latest beta 23

Mogan

EDIT: It's working :D
Thanks a lot your help was precious.

Mogan