Linux - SoftwareThis 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
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.
Introduction to Linux - A Hands on Guide
This guide was created as an overview of the Linux Operating System, geared toward new users as an exploration tour and getting started guide, with exercises at the end of each chapter.
For more advanced trainees it can be a desktop reference, and a collection of the base knowledge needed to proceed with system and network administration. This book contains many real life examples derived from the author's experience as a Linux system and network administrator, trainer and consultant. They hope these examples will help you to get a better understanding of the Linux system and that you feel encouraged to try out things on your own.
Click Here to receive this Complete Guide absolutely free.
I'm looking for something that will rip my cd's and convert them to mp3's that I can put on my iPod. What's a good linux app for this? Does k3b have an encoder or is there something else I should use?
I switched from Grip to KAudioCreator because Grip would crash very often on me. I use "lame" as the underlying encoder with both Grip and KAudioCreator, so the frontend doesn't make a whole lot of difference to me.
If Grip works stably for you, I don't see any reason to not use it, though.
Distribution: Ubuntu, Debian, Various using VMWare
Posts: 2,088
Rep:
To rip one track at a time from CD into mp3 format:
Code:
cdparanoia "n" - | lame - "track-n.mp3"
where n is the desired track.
If you want to do the whole CD:
Code:
#!/bin/sh
count=1
numTracks=$1
destDir=$2
until test $count -gt $numTracks
do
cdparanoia "$count" - | lame - "$destDir/track$count.mp3"
let "count=$count+1"
done
I switched from Grip to KAudioCreator because Grip would crash very often on me.
Grip keeps crashing when I try to close it. No biggie. Either way, with Grip and KAudioCreator, I don't have a 'lame' encoder. I tried to apt-get install lame but it said that lame is an obsolete package. I have no manual entry for lame either so I guess it's not there. I'm going to keep looking for it but if anyone can give me a shortcut to finding a .deb or tarball I'd appreciate it.
Originally posted by 1madstork Grip keeps crashing when I try to close it. No biggie. Either way, with Grip and KAudioCreator, I don't have a 'lame' encoder. I tried to apt-get install lame but it said that lame is an obsolete package. I have no manual entry for lame either so I guess it's not there. I'm going to keep looking for it but if anyone can give me a shortcut to finding a .deb or tarball I'd appreciate it.
I've uploaded the tarball on my Web space. Please feel free to grab it.
I tried to use kaudiocreator because it would do the cddb lookup for me, and fill in the tags.
I found, however, that is was really unstable!!!
I tried the command line path, which worked fine, except it didn't set any of the mp3 tags.
Is there a command line solution for doing the cddb lookup?
P.S. I'm using cdparanoia and lame
Last edited by andrewguy9; 01-27-2005 at 06:22 PM.
Originally posted by andrewguy9 I tried to use kaudiocreator because it would do the cddb lookup for me, and fill in the tags.
I found, however, that is was really unstable!!!
I tried the command line path, which worked fine, except it didn't set any of the mp3 tags.
Is there a command line solution for doing the cddb lookup?
Which version of KAudioCreator are you using? The version that came with KDE 3.1.5 was really unstable, but it has improved quite a bit since then. I currently use 1.12, which came with KDE 3.4 Beta1, with cdparanoia and lame as the backend apps. I've never had any major issue with it.
IBall,
I like your script! Hope you don't mind, I put a couple of sanity checks in.
Code:
#!/bin/bash
#If you want to do the whole cd, run this script.
#Example: ./test 27 /home/music
usage()
{
echo "Usage: $0 [NumTracks] [DestDir]"
exit 1;
}
test "$1" || usage
test -d "$2" || usage
count=1
numTracks=$1
destDir=$2
until test $count -gt $numTracks
do
cdparanoia "$count" - | lame - "$destDir/song$count.mp3"
let "count=$count+1"
done
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.