[linux-audio-user] mp3 live-encoding with sox and lame

Frank Barknecht fbar at footils.org
Mon Dec 9 06:16:00 EST 2002


Hi,
Emiliano Grilli hat gesagt: // Emiliano Grilli wrote:

>    
> > i want to have realtime-encoding of my soundcard
> > line-in with sox and lame (or something similar - i
> > need command line tools). Now i use
> > 
> > rec -t wav -r 44100 - | lame -m m -a -b 64 -
> 
> Have you tried with ecasound? e.g.:
> 
> 	ecasound -i/dev/dsp -o file.mp3
> 
> in your .ecasoundrc you can set options for lame:
> 	...
> 	ext-mp3-output-cmd = lame -b 128 -x -S - %f
> 	...
> 
> I don't know of 5 hours recording, but I think that in this way you can
> bypass sox.

I can guarantee that ecasound works for 3 hour recordings each day
several times at work 7 days a week. Ecasound rules, stable as a
rock ('n'roll)

ciao
-- 
 Frank Barknecht                               _ ______footils.org__



More information about the Linux-audio-user mailing list