Back Forum Reply New

aac to mp3 or wav

I'm looking for a way to convert aac to wav or mp3 with command line, can someone suggest something?

BePipe

I read this:

showthread.ph...9amp;page=3amp;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?


Originally Posted by boombasticwhat 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.Originally Posted by boombastic2)is behappy simply a gui for bepipe?

see above...Originally Posted by boombastic3.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 :

Code:
BePipe.exe --script quot;DirectShowSource(^....input.aac^)quot; | lame.exe -V 5 - ...output.mp3Well,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:

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

what do you mean by quot;very smallquot; ? Is it playable ?

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!!!

I see that now there's a gui called Behappy,i'm using it with success but with a few files it says quot;Cannot find Streamquot; 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?

Maybe you should give a try to FAAD? It is able to decode even raw aac.

I also recommend FAAD.  If the aac file is valid it will decode to wav.  You can get executables at from--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.

@boombastic

Hi!I see that now there's a gui called Behappy,i'm using it with success

Since 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 quot;drag amp; dropquot; approach

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?

Try extracting it with AviMuxGui from mkv. Unless it has vfr video stream, AviMuxGui
have problems opening it iirc.

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...


Originally Posted by boombasticwith 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


Originally Posted by dimzonBeHappy/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!


Originally Posted by boombasticso 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

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.

quot;behappyquot;
Starting job Track3.aac-gt;Track3.mp3
Error: BeHappy.AviSynthException: DirectShowSource: Could not open as video or audio.

Video returned:  quot;DirectShowSource: RenderFile, the filter graph manager won't talk to mequot;

Audio returned:  quot;DirectShowSource : Timeout waiting for graph to start.quot;

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


Originally Posted by g00gyStarting job Track3.aac-gt;Track3.mp3
Error: BeHappy.AviSynthException: DirectShowSource: Could not open as video or audio.
Video returned:  quot;DirectShowSource: RenderFile, the filter graph manager won't talk to mequot;

Wrong DirectShow configuration.
Do you have the ds filter Aud-X installed?

Originally Posted by g00gyif 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 lt;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.
¥
Back Forum Reply New