PDA

View Full Version : aac to mp3 or wav


boombastic
23rd December 2005, 20:58
I'm looking for a way to convert aac to wav or mp3 with command line, can someone suggest something?

Kurtnoise
23rd December 2005, 22:49
BePipe

boombastic
23rd December 2005, 23:13
I read this:

http://forum.doom9.org/showthread.php?p=740769&page=3&pp=40

but i don't understood a lot!
1)First of all:what are the differences/connections between avs2wav,behappy and bepipe?

2)is behappy simply a gui for bepipe?

3)i read that bepipe needs a script and an encoder like ffmpeg or oggenc:
3.1:what's the structure of the avs needed for transoding an aac file to wav or mp3?
3.2 what kind of encoder should i use?

Kurtnoise
23rd December 2005, 23:29
what are the differences/connections between avs2wav,behappy and bepipe?
avs2wav is a command line tool to transcode an audio stream from an avs script.
bepipe is basically the same thing but with more goodies.
behappy is a user interface. It uses the same code from bepipe + an interface.

2)is behappy simply a gui for bepipe?
see above...

3.1:what's the structure of the avs needed for transoding an aac file to wav or mp3?
For aac to mp3 transcoding :

Avisynth 2.5*
.nET m$ framework
Lame

and the command line can be :
BePipe.exe --script "DirectShowSource(^....input.aac^)" | lame.exe -V 5 - ...output.mp3

boombastic
24th December 2005, 00:01
Well,i tried your suggestions but the encoding last a couple of second and finish without any errors but obviously the mp3 fiel is very small...this is my commandline:

"I:\Programmi\Besweet beta31\BePipe.exe" --script "DirectShowSource(^C:\Leon\Track2.aac^)" | "I:\Programmi\foobar2000\lame.exe" -V 5 - C:\Leon\leon.mp3

Kurtnoise
24th December 2005, 00:34
what do you mean by "very small" ? Is it playable ?

boombastic
24th December 2005, 12:54
It's playabel but last only 6 seconds!Anywayonly that file gave me this problem;with several others bepipe worked very well!!Thanks to you and Dimzon!!!

boombastic
5th January 2006, 15:57
I see that now there's a gui called Behappy,i'm using it with success but with a few files it says "Cannot find Stream" when i start the job.
I tought that i didn't install any aac directshow filter then i did but again Behappy gives me the same erro.
I can play the file in MediaPlayerClassic. Any ideas?

[)370|\|470!2
5th January 2006, 19:34
Maybe you should give a try to FAAD? It is able to decode even raw aac.

AMTuring
7th January 2006, 02:11
I also recommend FAAD. If the aac file is valid it will decode to wav. You can get executables at http://www.rarewares.org in the aac section.

Then you can recompress it to mp3 or whatever you want.

However, recompression will generally loose quality. The tricks used to compress to aac will distort the reconstructed wav file and the result will not be as good as compressing from the original source.

setarip_old
7th January 2006, 05:26
@boombastic

Hi!I see that now there's a gui called Behappy,i'm using it with successSince you now seem willing to use something other than a direct commanline program, I just thought I'd mention that it appears that NERO's Wave Editor is capable of converting .AAC files directly to .MP3, using a simple as can be "drag & drop" approach

boombastic
7th January 2006, 13:41
ok,so there are everal way to convert an aac to mp3:

1)Bepipe/Behappy

2)faad

3)Nero

i also add

4) Foobar

with these i've been able to convert all my files except one: every of those programs stop to encode it to wav or mp3 at the same point (25 min.). The aac file is extracted with MKVExtractGui from a MKV file which plays fine.
What do you think about?

[)370|\|470!2
7th January 2006, 14:07
Try extracting it with AviMuxGui from mkv. Unless it has vfr video stream, AviMuxGui
have problems opening it iirc.

setarip_old
7th January 2006, 20:37
The aac file is extracted with MKVExtractGui from a MKV file which plays fine.You are saying that the MKV file plays fine,but does the extracted .AAC audiostream play properly (before you try to convert it to .MP3)? If not, try using different means of extraction...

dimzon
10th January 2006, 11:47
with these i've been able to convert all my files except one: every of those programs stop to encode it to wav or mp3 at the same point (25 min.). The aac file is extracted with MKVExtractGui from a MKV file which plays fine.
What do you think about?
BeHappy/BePipe can encode directly from MKV via DirectShowSource :)

boombastic
10th January 2006, 13:36
BeHappy/BePipe can encode directly from MKV via DirectShowSource :)

so can i load the mkv file in Behappy anc convert only the audio into mp3?Wov!

dimzon
10th January 2006, 13:46
so can i load the mkv file in Behappy anc convert only the audio into mp3?Wov!
Yes, but unfortunally only first or default audio stream :)

g00gy
3rd October 2006, 08:37
I have been trying to encode this aac file for days now but still no luck. i tried out all of those programs and more. nearly all pause or give me an error message il really be gratefull if you can help.

"behappy"
Starting job Track3.aac->Track3.mp3
Error: BeHappy.AviSynthException: DirectShowSource: Could not open as video or audio.

Video returned: "DirectShowSource: RenderFile, the filter graph manager won't talk to me"

Audio returned: "DirectShowSource : Timeout waiting for graph to start."

if it helps this aac file is for a movie and is 2hours long and 128mb big.

tebasuna51
3rd October 2006, 14:37
Starting job Track3.aac->Track3.mp3
Error: BeHappy.AviSynthException: DirectShowSource: Could not open as video or audio.
Video returned: "DirectShowSource: RenderFile, the filter graph manager won't talk to me"
Wrong DirectShow configuration.
Do you have the ds filter Aud-X installed?
if it helps this aac file is for a movie and is 2hours long and 128mb big.
By the bitrate (128MB/2hours near to 145 Kb/s) this file can be 5.1
If is less than 124 m. 16 sec. (48 KHz) you can use Faad or neroAacDec to obtain a wav 6 chan <4GB.

After you can open the wav in BeHappy (with WavSource if obtained with neroAacDec, with BassAudio if obtained with Faad because WAVE_FORMAT_EXTENSIBLE header), use a Downmix DSP function, normalize and encode to mp3.