Log in

View Full Version : eac3to ac3 to mp3


grokwik
19th October 2010, 20:06
For command line audio encoding of ac3 files, I'm using Besweet which works pretty well.

I want to use eac3to instead because besweet is no more developped.

I have search through the forum but I didn't find what I want.

My command line for encoding is

"C:\Program Files\megui\tools\eac3to\eac3to.exe" "myfile.ac3" "myfile.wav" -normalize -down2 -down16 | "C:\Portableapps\Lame\lame.exe" -r --bitwidth 16 -s 48 -V2 - "myfile.mp3"


but I get a crappy mp3 (just a glitch sound)
The wav file is good.

If I don't use stdout and the simple command line :


"C:\Portableapps\Lame\lame.exe" -V2 "myfile.wav" "myfile.mp3"


Everything works fine.

If I dont use "-r --bitwidth 16 -s 48" in lame when piping I've got an error "unsupported audio format" because lame can't read wav header..

Does anyone can help

Thanks

tebasuna51
19th October 2010, 21:49
Use this command line:
"C:\Program Files\megui\tools\eac3to\eac3to.exe" "myfile.ac3" stdout.wav -normalize -down2 | "C:\Portableapps\Lame\lame.exe" -V2 - "myfile.mp3"
The exact name stdout.wav make eac3to send the wav (included header) to Lame.
You don't need -down16, Lame support 24 bits input.

grokwik
20th October 2010, 08:31
THANK YOU !!!!!

And thank you for behappy that I often use.....