Here's a question from someone who doesn't do much Linux multimedia (me) but has a friend who wants a solution. Situation: Friend wants an MP3 server for his home network to play his large CD collection. I've been trying out edna (http://edna.sourceforge.net/) to serve/stream MP3s and its a nice simple and satisfactory solution. Works well in that it is basically a webserver that is accessible from any computer on the network. Does multiple streams as well. Problem: Is there an automated way in Linux to place an audio CD-ROM into the tray and have it rip into 256k "CD-quality" MP3s without user intervention? I know about lame as an encoder from .wav to .mp3. Are there any automated solutions available (or creatable) that will allow my friend to buy a new CD, place it in his Linux MP3 server CD tray, have it rip to 256k MP3s without him having to press any keys/buttons, then eject the disk after ripping? I'm not a very good script writer so any help there is also welcomed. Currently, he is using RealJukebox on Win2K to rip to .wav and RazorLame to encode to MP3 since the free version of RJB only encodes to 96k. A two stage process that I *KNOW* Linux could do better all by itself in one! <grin> -- Rob -= rb@millbury.net =-
On Mon, Feb 18, 2002 at 02:22:07PM -0500, rb@millbury.net wrote:
Here's a question from someone who doesn't do much Linux multimedia (me) but has a friend who wants a solution.
Situation:
Friend wants an MP3 server for his home network to play his large CD collection. I've been trying out edna (http://edna.sourceforge.net/) to serve/stream MP3s and its a nice simple and satisfactory solution. Works well in that it is basically a webserver that is accessible from any computer on the network. Does multiple streams as well.
Problem:
Is there an automated way in Linux to place an audio CD-ROM into the tray and have it rip into 256k "CD-quality" MP3s without user intervention? I know about lame as an encoder from .wav to .mp3.
Are there any automated solutions available (or creatable) that will allow my friend to buy a new CD, place it in his Linux MP3 server CD tray, have it rip to 256k MP3s without him having to press any keys/buttons, then eject the disk after ripping? I'm not a very good script writer so any help there is also welcomed.
Bunches of them. My personal favorite is grip, a nice shiny gtk based frontend to to cdparanioa/lame|bladenc|etc/id3tag. Search freshmeat for various other ones, ranging from other shiny versions to bash scripts. -- Frank Sweetser fs at wpi.edu, fs at suave.net | $ x 16 Full-time WPI Network Tech, Part time Linux/Perl guy | #define NULL 0 /* silly thing is, we don't even use this */ -- Larry Wall in perl.c from the perl source code
On Mon, Feb 18, 2002 at 02:22:07PM -0500, rb@millbury.net wrote:
Is there an automated way in Linux to place an audio CD-ROM into the tray and have it rip into 256k "CD-quality" MP3s without user intervention? I know about lame as an encoder from .wav to .mp3.
I use a hacky perl script that uses cdparanoia and lame. It's pretty ghetto, so I'll let you roll your own, or maybe someone else on this list has a better one. But I just pop the CD into my P200 and let it go overnight, and compress a variable-rate 256k. (Averages 120-150 on most discs.) Then when it's done, I rename the resultant .mp3 files. You'll get extra credit, though, if you have it look up the CDDB and rename the tracks for you. :) -Chuck (If you're *really* interested, I can send you the script that I have when I get to my box at home. The only good thing about my script is that it parallelizes the ripping with the encoding. ie. it encodes track 1 while track 2 is ripping, etc...)
On Monday 18 February 2002 02:50 pm, Chuck Homic wrote:
On Mon, Feb 18, 2002 at 02:22:07PM -0500, rb@millbury.net wrote:
Is there an automated way in Linux to place an audio CD-ROM into the tray and have it rip into 256k "CD-quality" MP3s without user intervention? I know about lame as an encoder from .wav to .mp3.
I use a hacky perl script that uses cdparanoia and lame. It's pretty ghetto, so I'll let you roll your own, or maybe someone else on this list has a better one. But I just pop the CD into my P200 and let it go overnight, and compress a variable-rate 256k. (Averages 120-150 on most discs.) Then when it's done, I rename the resultant .mp3 files.
You'll get extra credit, though, if you have it look up the CDDB and rename the tracks for you. :)
-Chuck
I use grip which also has the nice advantage of automatically using my SMP machine to its fullest. The result is 128K quality MP3s by default (due to Lame), but the commands are fully customizable. Grip is a GUI which understands the following rippers and has built in commands for them (which are customizable): cdparanoia cdda2wav other (put in your favorite ripper) It also understands these MP3 encoders: lame bladeenc l3enc xingmp3enc mp3encode gogo oggenc other (put in your favorite wav->mp3 encoder) Finally, it reads the CD and looks up the songs in a database (CDDB) so you don't have to type the song titles, artist, etc. It works for me...maybe it'll help you out, too. Look at http://www.nostatic.org/grip for more information. Andy -- Andy Stewart Founder Worcester Linux Users' Group Worcester, MA, USA http://www.wlug.org
It works for me...maybe it'll help you out, too. Look at http://www.nostatic.org/grip for more information.
I use Grip and it's great, but you should note that versions newer than 2.96 are no longer GTK-only and require some Gnome libraries (and devel packages to compile) as well. As I don't use Gnome or any such libraries, I expressed my interest to the developers in letting the Gnome requirement be optional, but they didn't seem interested. Just my $0.02, 2.96 works great for me. Brian J. Conway bconway@wpi.edu "LINUX is obsolete" - Andrew S. Tanenbaum, creator of Minix - Jan 29, 1992
On Mon, Feb 18, 2002 at 05:44:20PM -0500, Andy Stewart wrote:
Grip is a GUI which understands the following rippers and has built in commands for them (which are customizable):
Sounds cool, Andy. Can I skip the GUI and automate it once it's set up? Rob and I both seem to want a solution where we can set up our happy defaults, then just pop a disc in and say "go." -Chuck
On Monday 18 February 2002 05:58 pm, you wrote:
On Mon, Feb 18, 2002 at 05:44:20PM -0500, Andy Stewart wrote:
Grip is a GUI which understands the following rippers and has built in commands for them (which are customizable):
Sounds cool, Andy. Can I skip the GUI and automate it once it's set up? Rob and I both seem to want a solution where we can set up our happy defaults, then just pop a disc in and say "go."
-Chuck
I'm not sure...I thought starting the GUI, popping in the audio CD, and doing 3 clicks was about as automatic as it gets. :-) It sounds like what you might want is something that's polling the drive, looking for the insertion of a new CD, which it assumes it can rip. The ripping and encoding process commences. Once done, it sits patiently until you insert the next CD. The polling stops when you stop the original program. Is this the kind of thing which you seek? If so, I've never seen such a beast. Andy -- Andy Stewart Founder Worcester Linux Users' Group Worcester, MA, USA http://www.wlug.org
On Monday 18 February 2002 18:17, you wrote:
On Monday 18 February 2002 05:58 pm, you wrote:
On Mon, Feb 18, 2002 at 05:44:20PM -0500, Andy Stewart wrote:
Grip is a GUI which understands the following rippers and has built in commands for them (which are customizable):
Sounds cool, Andy. Can I skip the GUI and automate it once it's set up? Rob and I both seem to want a solution where we can set up our happy defaults, then just pop a disc in and say "go."
-Chuck
I'm not sure...I thought starting the GUI, popping in the audio CD, and doing 3 clicks was about as automatic as it gets. :-)
It sounds like what you might want is something that's polling the drive, looking for the insertion of a new CD, which it assumes it can rip. The ripping and encoding process commences. Once done, it sits patiently until you insert the next CD. The polling stops when you stop the original program. Is this the kind of thing which you seek? If so, I've never seen such a beast.
Andy
I use Grip 2.95 and it has options to auto rip on insert and auto eject after rip. Then all you have to do is start the GUI and stick the CD in. -Matthew
On Mon, Feb 18, 2002 at 06:17:49PM -0500, Andy Stewart wrote:
I'm not sure...I thought starting the GUI, popping in the audio CD, and doing 3 clicks was about as automatic as it gets. :-)
Ah, starting the GUI... You Linux guys have gotten soft. ;) When I want to rip/encode a CD, I just type "encodecd" at my bash and it goes. Only problem is, my script doesn't do the CDDB stuff. Anyone know of a console CDDB client? That would allow my script to finish the job. Though, I'll check out Grip anyway. It sounds like it does all the cool stuff.
It sounds like what you might want is something that's polling the drive, looking for the insertion of a new CD, which it assumes it can rip. The ripping and encoding process commences. Once done, it sits patiently until you insert the next CD. The polling stops when you stop the original program. Is this the kind of thing which you seek? If so, I've never seen such a beast.
No, that's rediculous. :) -Chuck
Chuck Homic said:
On Mon, Feb 18, 2002 at 06:17:49PM -0500, Andy Stewart wrote:
I'm not sure...I thought starting the GUI, popping in the audio CD, and doing 3 clicks was about as automatic as it gets. :-)
Ah, starting the GUI... You Linux guys have gotten soft. ;) When I want to rip/encode a CD, I just type "encodecd" at my bash and it goes. Only problem is, my script doesn't do the CDDB stuff.
Anyone know of a console CDDB client? That would allow my script to finish the job. Though, I'll check out Grip anyway. It sounds like it does all the cool stuff.
I use abcde (a better cd encoder) from http://lly.org/~rcw/abcde/ (it requires cd-discid [http://lly.org/~rcw/cd-discid/] to extract the disc id in cddb format) If you're on debian, you can "apt-get install abcde" I'm not sure if any other distros include it; It was originally a debian-native package. it uses CDDB, parallelisation, and it's just a shell script. i've got an account "mp3" set to not require a password, with abcde as its shell.
It sounds like what you might want is something that's polling the drive, looking for the insertion of a new CD, which it assumes it can rip. The ripping and encoding process commences. Once done, it sits patiently until you insert the next CD. The polling stops when you stop the original program. Is this the kind of thing which you seek? If so, I've never seen such a beast.
No, that's rediculous. :)
I know someone who was actually writing something like this for his own use... don't know if he ever finished it, though. I'll have to ask him. -- Aaron Haviland orion [at] tribble [dot] dyndns [dot] org orion [at] parsed [dot] net _____ _ | |___|_|___ ___ | | | _| | . | | |_____|_| |_|___|_|_|
Hi all, my name is Sean, and I am new to the list.
Anyone know of a console CDDB client? That would allow my script to finish the job. Though, I'll check out Grip anyway. It sounds like it does all the cool stuff.
It's not exactly a console app, but how would a perl module do? http://family.zawodny.com/~jzawodn/perl/Net-CDDB/ There's a script here as well: http://armin.emx.at/cddb/ Cheers, Sean
On Monday 18 February 2002 05:58 pm, you wrote:
On Mon, Feb 18, 2002 at 05:44:20PM -0500, Andy Stewart wrote:
Grip is a GUI which understands the following rippers and has built in commands for them (which are customizable):
Sounds cool, Andy. Can I skip the GUI and automate it once it's set up? Rob and I both seem to want a solution where we can set up our happy defaults, then just pop a disc in and say "go."
Chuck, If Grip is open, then it will auto-rip and encode when a new disc is inserted into the tray. If the app isn't active, then I suppose you'd have to use the polling method Andy mentioned. This is what I've been doing for the last hour: 1) Run Grip 2) Insert audio CD (a Todd Rundgren Anthology, in this case) 3) Automatically Grip reads track info and selects all to rip 4) Automatically Grip rips and encodes 5) CD gets ejected when finished Of course, I had to configure a few items but not many at all. VERY smooth if Grip is running. I'm just going to have it start automatically when the KDE desktop starts. -- Rob -= rb@millbury.net =-
Grip seems to be the magic app I was looking for. MUCH TOO EASY!!! ;) Thanks to all that replied. -- Rob -= rb@millbury.net =-
participants (8)
-
Aaron Haviland
-
Andy Stewart
-
Brian J. Conway
-
Chuck Homic
-
Frank Sweetser
-
Matthew Kwiatkowski
-
rb@millbury.net
-
Sean