Skip to contentSkip to conversation

CD ripper/MP3 encoder

DISCUSSION Charu Chaubal 10 participants 16 messages Feb 8, 2000 – Feb 9, 2000

lore
Share & tools
lore
#0 lore raw

Can anyone recommend some programs for Linux on Ultra for ripping CDs and encoding MP3's?

strictly for my own personal use, of course.

(I assume this is one application where an Ultra would do much better than an x86, even one with much higher MHz rating).

---Charu

*********************************************************************
/\
\\ \ Charu Chaubal
\ \\ / Performance Engineer
/ \/ / / Desktop Performance Group
/ / \//\ Sun Microsystems, Inc.
\//\ / / 901 San Antonio Road, MS MPK28-301
/ / /\ / Palo Alto, CA 94303-4900
/ \\ \ voice: (650) 786-7672 (x87672)
\ \\ [email protected]
\/
*********************************************************************

#2 lore raw
In reply to Charu Chaubal

Charu,

Quoted 3 lines

Can anyone recommend some programs for Linux on Ultra for ripping CDs and encoding MP3's?

I use encoder-js found at wopr.campus.se /pub/mpeg_layer_3 and cdrecord.

Have fun...

-Chris

#4 lore raw
In reply to Charu Chaubal
Quoted 2 lines · Charu Chaubal

Can anyone recommend some programs for Linux on Ultra for ripping CDs and encoding MP3's?

As davem suggested, check freshmeat.

Quoted 2 lines

(I assume this is one application where an Ultra would do much better than an x86, even one with much higher MHz rating).

You'd think so, but any modern CPU does just fine at mp3 encoding, better than realtime usually. The bottleneck is usually the CD drive, and my personal experience has been the consumer-grade ATAPI CD drives are the only ones with greater than 1x audio read speeds. I haven't tried ripping audio tracks on any of my sun boxes though, YMMV.

+--------------------------------------------------------------------------+
| Aaron T Porter                      | If you can't code it -- support it |
| [email protected]                | Help make Linux work for everyone  |
| [email protected] | Subscribe to linux-admin today.    |
+--------------------------------------------------------------------------+
#5 lore raw
In reply to Charu Chaubal
Quoted 5 lines

You'd think so, but any modern CPU does just fine at mp3 encoding, better than realtime usually. The bottleneck is usually the CD drive, and my personal experience has been the consumer-grade ATAPI CD drives are the only ones with greater than 1x audio read speeds. I haven't tried ripping audio tracks on any of my sun boxes though, YMMV.

I definitely agree on the encoding part, even crappy first-batch
Celerons do it without a problem. But the ability to rip, encode, and play mp3s at the same time is great. I haven't found a PC that can do that -- the ripping process always eats up the I/O of the machine too much. Ripping at a different speed, while it uses less I/O, still uses too much to justify the speed loss.

Just one more reason /me *heart* sparcs

Quoted 5 lines
+--------------------------------------------------------------------------+
| Aaron T Porter                      | If you can't code it -- support it |
| [email protected]                | Help make Linux work for everyone  |
| [email protected] | Subscribe to linux-admin today.    |
+--------------------------------------------------------------------------+

- Isaiah

#6 lore raw
In reply to Charu Chaubal
Quoted 5 lines · Isaiah Weiner

But the ability to rip, encode, and
play mp3s at the same time is great. I haven't found a PC that can do that -- the ripping process always eats up the I/O of the machine too much. Ripping at a different speed, while it uses less I/O, still uses too much to justify the speed loss.

This is easy! I have a PII 400 with 1 2GB SCSI2 HD and a 4x SCSI toshiba CDROM and I encode, rip, and play mp3s all the time. In fact I have even compiled code during this process! Note: Esd had to be reniced to -10

Quoted 10 lines

Just one more reason /me *heart* sparcs

Quoted 5 lines
+--------------------------------------------------------------------------+
| Aaron T Porter                      | If you can't code it -- support it |
| [email protected]                | Help make Linux work for everyone  |
| [email protected] | Subscribe to linux-admin today.    |
+--------------------------------------------------------------------------+

- Isaiah

begin:vcard
n:Hooton;Shawn
tel;cell:(614) 419-4996
tel;fax:(614) 652-5401
tel;work:(614) 652-5058
x-mozilla-html:FALSE
org:Cendant Technical Services;Good, Quick, Cheap: Choose Two. adr:;;;;;;
version:2.1
email;internet:[email protected]
title:Unix Wizard
x-mozilla-cpt:;5632
fn:Shawn Hooton
end:vcard

#7 lore raw
In reply to Charu Chaubal
Quoted 4 lines

This is easy! I have a PII 400 with 1 2GB SCSI2 HD and a 4x SCSI toshiba CDROM and I encode, rip, and play mp3s all the time. In fact I have even compiled code during this process! Note: Esd had to be reniced to -10

In my book, having all SCSI components takes your machine out of
the "PC" classification. When I think "PC", an IDE disk, IDE CDROM, and Celeron come to mind. And you had to renice esd. ;)

- Isaiah

#9 lore raw
In reply to Charu Chaubal
Quoted 3 lines

So an Ultra 10 with IDE devices is a PC, right?

bond

The cache the cpu has in this case declassifies it from an
otherwise deathly PC label.

My opinion of Ultra5/10s is not very high. ;)

- Isaiah

#10 lore raw
In reply to Charu Chaubal
Quoted 1 line · Isaiah Weiner

My opinion of Ultra5/10s is not very high. ;)

I bet!
The only Sun class thing about U5/10s is the price ;-) I think the U10 is the only 'tower' machine that has to be opened upside-down...

bond

#11 lore raw
In reply to Charu Chaubal
Quoted 2 lines

I think the U10 is the only 'tower' machine that has to be opened upside-down...

And the little metal flaps below (or above, if you've got the case
off) the floppy have to be bent to add another drive. It's very frustrating, and I cut my hands on those more than any other case I've ever messed with.

- Isaiah

#12 lore raw
In reply to Charu Chaubal
Quoted 4 lines · Shawn Hooton

This is easy! I have a PII 400 with 1 2GB SCSI2 HD and a 4x SCSI toshiba CDROM and I encode, rip, and play mp3s all the time. In fact I have even compiled code during this process! Note: Esd had to be reniced to -10

Do you have a SCSI drive that will read audio tracks at above 1x? If so, which brand/model?

+--------------------------------------------------------------------------+
| Aaron T Porter                      | If you can't code it -- support it |
| [email protected]                | Help make Linux work for everyone  |
| [email protected] | Subscribe to linux-admin today.    |
+--------------------------------------------------------------------------+
#13 lore raw
In reply to Charu Chaubal

I have no idea at what speed I rip audio at, how can you tell using cdparanoia?

I did this:

Quoted 1 line

time cdparanoia -S 3 1

cdparanoia III release 9.6 (August 17, 1999)
(C) 1999 Monty <[email protected]> and Xiphophorus

Report bugs to [email protected]
http://www.xiph.org/paranoia/

Ripping from sector 0 (track 1 [0:00.00])

          to sector   13716 (track  1 [3:02.66])

outputting to cdda.wav

(== PROGRESS == [------------------------------| 013716 00 ] == :^D *
==)

Done.

7.55user 2.09system 1:59.37elapsed 8%CPU (0avgtext+0avgdata 0maxresident)k
0inputs+0outputs (135major+31498minor)pagefaults 0swaps [11:55:09] shooton@diablo {~/tmp}

Quoted 1 line

ls -l

total 31544
-rw-r--r-- 1 shooton devadm 32262428 Feb 9 11:55 cdda.wav

Using the same model Toshiba CDROM(5401 I think) on Solaris I know for a fact that it can rip @ 3x using this program:

http://www.cybersoft.org/galette/

Quoted 8 lines · Aaron T Porter
Quoted 4 lines · Shawn Hooton

This is easy! I have a PII 400 with 1 2GB SCSI2 HD and a 4x SCSI toshiba CDROM and I encode, rip, and play mp3s all the time. In fact I have even compiled code during this process! Note: Esd had to be reniced to -10

Quoted 8 lines

Do you have a SCSI drive that will read audio tracks at above 1x? If so, which brand/model?

+--------------------------------------------------------------------------+
| Aaron T Porter                      | If you can't code it -- support it |
| [email protected]                | Help make Linux work for everyone  |
| [email protected] | Subscribe to linux-admin today.    |
+--------------------------------------------------------------------------+

begin:vcard
n:Hooton;Shawn
tel;cell:(614) 419-4996
tel;fax:(614) 652-5401
tel;work:(614) 652-5058
x-mozilla-html:FALSE
org:Cendant Technical Services;Good, Quick, Cheap: Choose Two. adr:;;;;;;
version:2.1
email;internet:[email protected]
title:Unix Wizard
x-mozilla-cpt:;5632
fn:Shawn Hooton
end:vcard

#14 lore raw
In reply to Charu Chaubal
Quoted 9 lines · Aaron T Porter
Quoted 4 lines · Shawn Hooton

This is easy! I have a PII 400 with 1 2GB SCSI2 HD and a 4x SCSI toshiba CDROM and I encode, rip, and play mp3s all the time. In fact I have even compiled code during this process! Note: Esd had to be reniced to -10

Do you have a SCSI drive that will read audio tracks at above 1x? If so, which brand/model?

Erm... I've got a plextor that'll do that, a couple of toshibas that'll do that (mostly shipped by sun), an HP that'll do that...

The mechanism for reading CDs in an ATAPI drive and a SCSI drive are fundamentally the same thing. In fact, most everything else is too -- ATAPI is sending SCSI commands over an IDE bus.

-- Peter

THE MAGIC WORDS ARE SQUEAMISH OSSIFRAGE

#15 lore raw
In reply to Charu Chaubal
Quoted 3 lines · Peter Jones

The mechanism for reading CDs in an ATAPI drive and a SCSI drive are fundamentally the same thing. In fact, most everything else is too -- ATAPI is sending SCSI commands over an IDE bus.

And in fact 2.3 uses the exact same code to do ripping from SCSI and ATAPI drives.

Signature · 3 lines
*  Jens Axboe <[email protected]>
*  Linux CD-ROM Maintainer
*  http://www.kernel.dk