LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Software (https://www.linuxquestions.org/questions/linux-software-2/)
-   -   Recording with lame (https://www.linuxquestions.org/questions/linux-software-2/recording-with-lame-120936/)

oulevon 11-29-2003 02:14 AM

Recording with lame
 
I'm not sure if this is possible so I'll ask here. I listen to a radio program that is streamed in Real Audio. I wanted to convert that to an mp3 so I can listen to it on my mp3 player on the way to work. My question is how do you record something that is playing on your computer. This is what I tried using lame, but it didn't work (i.e. the program wasn't recorded in mp3, only some fuzz). this is what I tried:
Code:

/bin/cat /dev/dsp | /usr/local/bin/lame -m j -s 24.000000 -b <Bitrate>
 -r -x -S -h --lowpass 15 --lowpass-width 0 --noshort --nohist -
 /usr/local/output.mp3

Is that the right /dev file to record? Thanks for any help. Maybe it isn't possible. And by the way sound quality isn't that important as long as I can hear it.

acid_kewpie 11-30-2003 09:26 AM

personally i end up solving most of my sound / video issues with mplayer. i'd use mencoder to create an avi containing the mp3 file and then after it's all finished, use "mplayer -dumpaudio" to pull the final mp3 file out.


All times are GMT -5. The time now is 11:26 PM.