LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices


Reply
  Search this Thread
Old 11-29-2003, 03:14 AM   #1
oulevon
Member
 
Registered: Feb 2001
Location: Boston, USA
Distribution: Slackware
Posts: 438

Rep: Reputation: 30
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.
 
Old 11-30-2003, 10:26 AM   #2
acid_kewpie
Moderator
 
Registered: Jun 2001
Location: UK
Distribution: Gentoo, RHEL, Fedora, Centos
Posts: 43,417

Rep: Reputation: 1976Reputation: 1976Reputation: 1976Reputation: 1976Reputation: 1976Reputation: 1976Reputation: 1976Reputation: 1976Reputation: 1976Reputation: 1976Reputation: 1976
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.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
lame dfowensby cAos 3 09-14-2005 09:11 PM
10.1 - Lame High-gain Linux - Newbie 5 06-22-2005 02:30 AM
Lame garr0323 Linux - Software 2 02-28-2004 03:41 AM
Lame doralsoral Linux - Software 4 09-09-2003 12:54 AM
we have the way out - how lame is that! CragStar General 5 04-08-2002 04:11 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 04:23 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration