LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - General
User Name
Password
Linux - General This Linux forum is for general Linux questions and discussion.
If it is Linux Related and doesn't seem to fit in any other forum then this is the place.

Notices


Reply
  Search this Thread
Old 10-01-2003, 10:44 PM   #1
Scruff
Member
 
Registered: Oct 2002
Location: Stoughton, MA
Distribution: Gentoo x86_64 & PPC
Posts: 949

Rep: Reputation: 30
command line cd rip and encode


Can someone please point me in the right direction for learning how to rip and encode mp3's (lame) from a CLI? I had found a killer tutorial awhile back, but can't find it for the life of me now. I already tried google, man cdparanoia and a few of the HOWTO's but haven't figured it out yet. Google seems to return a MILLION of the same results: some perl script. I want to know how to do it manually. Grip seems to be a pain in the ass to install on Slack 9 running Dropline-Gnome with 2.4.22 so I would rather just do it from the command line.

Thanks!
 
Old 10-01-2003, 10:54 PM   #2
Mad Merlin
Member
 
Registered: Aug 2003
Location: Approximately here.
Distribution: Mandrake 9.1
Posts: 86

Rep: Reputation: 15
man lame

Will give you oodles of info. You'll probably find

lame --preset help

to be more helpful, at least at first. it tells you about the presets which are supposted to as optimized as possible. At the very least, you can start producing very nice quality rips with the presets.

Edit: Oh, I should point out that lame (I'm pretty sure) does not decode tracks from a cd, so you'll probably have to team lame up with something like cdda2wav.

Last edited by Mad Merlin; 10-01-2003 at 10:55 PM.
 
Old 10-01-2003, 11:02 PM   #3
Scruff
Member
 
Registered: Oct 2002
Location: Stoughton, MA
Distribution: Gentoo x86_64 & PPC
Posts: 949

Original Poster
Rep: Reputation: 30
I was thinking I would use cdparanoia to rip from the cd to wav, then lame to encode to mp3, but I can't seem to get cdparanoia to work from the cli. I am missing something...
 
Old 10-01-2003, 11:10 PM   #4
quatsch
LQ Addict
 
Registered: Aug 2003
Location: New York, NY
Distribution: gentoo, gentooPPC
Posts: 1,661

Rep: Reputation: 48
I haven't done this myself but judging from man cdparanoia, it seems pretty straightforward. What exactly goes wrong when you try using cdparanoia from the command line?
 
Old 10-01-2003, 11:16 PM   #5
Scruff
Member
 
Registered: Oct 2002
Location: Stoughton, MA
Distribution: Gentoo x86_64 & PPC
Posts: 949

Original Poster
Rep: Reputation: 30
Ok. It might be a problem unrelated to cdparanoia. Check this out:
root@dabasement:/home/scruff# mount /dev/cdrom
mount: wrong fs type, bad option, bad superblock on /dev/cdrom,
or too many mounted file systems
root@dabasement:/home/scruff# xmms /mnt/cdrom
(plays cd just fine)
root@dabasement:/home/scruff# umount /dev/cdrom
umount: /dev/cdrom: not mounted
It acts like the cd is unmountable, yet I can play it in xmms....

knowing that the audio cd is at /mnt/cdrom, can you give me a sample command to start the rip? maybe I am not using it correctly. I tried several different methods, but I'm not entirely sure any of them are correct.

Last edited by Scruff; 10-01-2003 at 11:20 PM.
 
Old 10-01-2003, 11:30 PM   #6
quatsch
LQ Addict
 
Registered: Aug 2003
Location: New York, NY
Distribution: gentoo, gentooPPC
Posts: 1,661

Rep: Reputation: 48
audio cds cannot be mounted. Just run cdparanoia without mounting the CD. It should work.
 
Old 10-01-2003, 11:30 PM   #7
quatsch
LQ Addict
 
Registered: Aug 2003
Location: New York, NY
Distribution: gentoo, gentooPPC
Posts: 1,661

Rep: Reputation: 48
also, do take a look at
man cdparanoia
it gives a few examples.
 
  


Reply



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 On
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Putting it all together - auto CD rip and encode mrock2 Linux - Software 20 06-25-2009 04:01 PM
Grip Won't Rip + Encode dingledoink Linux - Software 7 09-25-2005 09:01 PM
Rip and encode cd Linuxkundi Mandriva 3 05-10-2005 06:49 AM
Command to output file content line by line aznluvsmc Programming 2 09-12-2004 07:45 PM
Christmas rip and encode nut Thulemanden Libranet 1 12-27-2003 12:35 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - General

All times are GMT -5. The time now is 12:40 AM.

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
Open Source Consulting | Domain Registration