Re: [ecasound] mp3stereo2mp3mono

From: Kai Vehmanen <kvehmanen@email-addr-hidden>
Date: Sun Apr 17 2005 - 12:25:17 EEST

On Fri, 15 Apr 2005, Lars Bjørndal wrote:

> Is it possible to do this from the command line, without changing
> anything in the ecasoundrc file? I've tried the -f: option, but I
> still get 2 channels.

Unfortunately that's not supported. You have to manually set up pipes
to do that:

ecasound -f:16,2,44100 -i foo.mp3 -f:16,1,44100 -o stdout -erm:1 |lame -b 128 -s 44.1 -x -m m - foo-mono.mp3

You can also try directly with lame (not tested):

lame -b 128 -s 44.1 -x -m m --mp3input -a foo.mp3 foo-mono.mp3

But note that you will lose in quality by doing this, as ecasound (I'm not
100% sure about lame, but I think it will re-encode) has to decode and
then re-encode the audio data => information is lost. I recommend using
non-lossy codecs if you need to process your audio files. Converting to a
lossy format (such as mp3), should always be the very last step.

  Audio software for Linux!
SF email is sponsored by - The IT Product Guide
Read honest & candid reviews on hundreds of IT Products from real users.
Discover which products truly live up to the hype. Start reading now.
Ecasound-list mailing list
Received on Sun Apr 17 16:15:05 2005

This archive was generated by hypermail 2.1.8 : Sun Apr 17 2005 - 16:15:05 EEST