Linux - GeneralThis 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
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
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.
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.
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...
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?
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.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.