Log in

View Full Version : How to convert mp2 stereo to mono wave in CLI


Malow
12th July 2005, 10:26
hi, im trying to convert a stereo "mpeg1 layer2" audio to a mono wave in cli, but i didn't find a tool for this conversion. besweet not make such conversion, so, with tool does?

tnks in advance.

Raziel6969
12th July 2005, 13:14
You can decode de mp2 (mp2=mpeg layer 2) with an audio player, like winamp, foobar (free).

In foobar2000 v0.83 you can use:
1. setup to output a mono wav.
Menu: Foobar2000 > Preferences > Components > Diskwriter > Processing > Use DSP
Menu: Foobar2000 > Preferences > Playback > DSP Manager > "Downmix channels to mono"

2. convert mp2.
Drag & Drop file 2 foobar, right-click > Convert > Run conversion

boilá!

Note: I don't know about the CLI way. The following can help:
http://www.rarewares.org/dancer/dancer.php?f=2
"lame.exe fixed for .mp2 decoding: includes lame.exe only (ICL4.5)
2004-11-04"
Lame is excellent quality command-line (maybe CLI) mp3 encoder that can decode mp2!

maybe Besweet can convert WAV stereo 2 mono.

Many audio software can do this, like:
Cool Edit Pro, Soundforge, many more :P

Bye

Imperial Llama
13th July 2005, 17:55
You can use MADplay to do this:

madplay -m -o output.wav input.mp2

Download it from here: http://www.rarewares.org/mp3.html

Malow
14th July 2005, 00:56
You can use MADplay to do this:

madplay -m -o output.wav input.mp2

Download it from here: http://www.rarewares.org/mp3.html

woooo tnks a lot guys! just perfect...