LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware
User Name
Password
Slackware This Forum is for the discussion of Slackware Linux.

Notices


Reply
  Search this Thread
Old 09-24-2005, 08:25 AM   #1
trey85stang
Senior Member
 
Registered: Sep 2003
Posts: 1,091

Rep: Reputation: 41
ripping audio cd's really slow


When I attempt to rip audio cd's it goes painfully slow... I have a DVD/RW drive but the cdreader supposedly runs at 48x. This is on slackware 10.1, and it only happens with slackware, I have had other distro's on this same machine and never had this problem.

When I rip with sound juicer or grip, it only reads the cd at .5x? What could the problem be (btw tip rip one track takes about 20-30 minutes.)
 
Old 09-24-2005, 12:40 PM   #2
acid_kewpie
Moderator
 
Registered: Jun 2001
Location: UK
Distribution: Gentoo, RHEL, Fedora, Centos
Posts: 43,417

Rep: Reputation: 1980Reputation: 1980Reputation: 1980Reputation: 1980Reputation: 1980Reputation: 1980Reputation: 1980Reputation: 1980Reputation: 1980Reputation: 1980Reputation: 1980
that does seems highly excessive, but there are standard things to check like DMA being enabled on the device. Also you might want to remove the Extra Paranoia options from cdparanoia in grip, that'll speed it up loads too.
 
Old 09-24-2005, 02:46 PM   #3
Fluxx
Member
 
Registered: Aug 2005
Location: Bavaria, Germany
Distribution: Slackware (Current)
Posts: 225

Rep: Reputation: 30
I have the same problem with an older notebook and the integrated cd-rom-drive. Ripping is very slow and not really something to do with fun.

DMA is enabled, other problems are not there (as far as I can see).

I found out that there is a way to rip a cd nevertheless with the same hardware in a really good way. I open K3b and copy the audio cd - but with the feature only to create an image to disk (I choose a folder, where I can find the .wav-files after creating the disk-image).

These .wav-files are written very fast (I don't know which commands K3b takes for cdparanoia).

I navigate to this folder and rip the files with lame or oggenc.

This way is much more faster than any rip-program (I usually use rip as program).

So far my way to do this with my old notebook.

flux.

P. S.: K3b does it although there is no cd-writer in the notebook. Reading is no problem for K3b.
 
Old 09-25-2005, 09:46 AM   #4
trey85stang
Senior Member
 
Registered: Sep 2003
Posts: 1,091

Original Poster
Rep: Reputation: 41
Quote:
Originally posted by acid_kewpie
that does seems highly excessive, but there are standard things to check like DMA being enabled on the device. Also you might want to remove the Extra Paranoia options from cdparanoia in grip, that'll speed it up loads too.
Code:
root@darkstar:/home/trey# hdparm -i /dev/cdrom

/dev/cdrom:

 Model=_NEC DVD_RW ND-3520A, FwRev=1.04, SerialNo=
 Config={ Removeable DTR<=5Mbs DTR>10Mbs nonMagnetic }
 RawCHS=0/0/0, TrkSize=0, SectSize=0, ECCbytes=0
 BuffType=unknown, BuffSize=0kB, MaxMultSect=0
 (maybe): CurCHS=0/0/0, CurSects=0, LBA=yes, LBAsects=0
 IORDY=yes, tPIO={min:120,w/IORDY:120}, tDMA={min:120,rec:120}
 PIO modes:  pio0 pio1 pio2 pio3 pio4
 DMA modes:  mdma0 mdma1 mdma2
 UDMA modes: udma0 udma1 *udma2
 AdvancedPM=no

 * signifies the current active mode
root@darkstar:/home/trey# dmesg | grep DMA
    ide0: BM-DMA at 0xff00-0xff07, BIOS settings: hda:DMA, hdb:DMA
    ide1: BM-DMA at 0xff08-0xff0f, BIOS settings: hdc:DMA, hdd:DMA
hda: 60030432 sectors (30735 MB) w/2048KiB Cache, CHS=59554/16/63, UDMA(100)
hdb: ATAPI 32X DVD-ROM DVD-R CD-R/RW drive, 2048kB Cache, UDMA(33)

I'll try disabling the paranoia options...

Flux, can I get id3 tags by doing it like that?
 
Old 09-25-2005, 01:42 PM   #5
trey85stang
Senior Member
 
Registered: Sep 2003
Posts: 1,091

Original Poster
Rep: Reputation: 41
Thumbs up

i disabled all the fluffy cdparanoia options.. it spead the process up a lot. Im now ripping at 3-4x. So now the process is a lot quicker, about 15minutes or so to rip the whole cd.. then another 5-6 minutes to encode. Much better
 
Old 10-03-2005, 04:01 PM   #6
ittut
LQ Newbie
 
Registered: Sep 2005
Distribution: debian
Posts: 2

Rep: Reputation: 0
I've noticed that cd-rw drives are usually slower in linux than windows despite the tweaks made with hdparm. Does anyone know the reason for this or am I just imagining things? :O
 
Old 10-03-2005, 05:48 PM   #7
acid_kewpie
Moderator
 
Registered: Jun 2001
Location: UK
Distribution: Gentoo, RHEL, Fedora, Centos
Posts: 43,417

Rep: Reputation: 1980Reputation: 1980Reputation: 1980Reputation: 1980Reputation: 1980Reputation: 1980Reputation: 1980Reputation: 1980Reputation: 1980Reputation: 1980Reputation: 1980
drives were a lot slower using scsi emulation. a 2.6 kernel set up right i.e. without emulaion, should be noticably faster
 
Old 10-04-2005, 04:02 AM   #8
ittut
LQ Newbie
 
Registered: Sep 2005
Distribution: debian
Posts: 2

Rep: Reputation: 0
I'll try that, thanks
 
Old 10-04-2005, 05:43 PM   #9
IRIGHTI
Member
 
Registered: Oct 2003
Distribution: Slackware64 13.1 x86_64, Ubuntu 10.04 x86_64
Posts: 121

Rep: Reputation: 15
I run 2.6.X and can rip and encode an entire CD in ~6 minutes, depending on the CD length, with custom script. I never tried it with 2.4.X so I couldn't tell you the speed up.
 
Old 10-04-2005, 06:40 PM   #10
liquidtenmilion
Member
 
Registered: May 2004
Location: South Carolina
Distribution: Slackware 11.0
Posts: 606

Rep: Reputation: 31
2.4 is slower, but not significantly slower, maybe it takes 1 or 2 more minutes.(but then again i'm probably limited to my processor) I have a 52x ide cd drive.
 
Old 10-05-2005, 11:35 AM   #11
Fluxx
Member
 
Registered: Aug 2005
Location: Bavaria, Germany
Distribution: Slackware (Current)
Posts: 225

Rep: Reputation: 30
Hello,

Quote:
Originally posted by IRIGHTI
I run 2.6.X and can rip and encode an entire CD in ~6 minutes, depending on the CD length, with custom script. I never tried it with 2.4.X so I couldn't tell you the speed up.
would you give me more information about your way to rip a CD and your custom script?

Would be very nice ...

Fluxx.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

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



Similar Threads
Thread Thread Starter Forum Replies Last Post
Ripping CD's is Incredibly Slow linux-rulz Linux - General 1 05-17-2005 01:08 AM
Ripping Cd's quietguy47 Linux - Laptop and Netbook 13 03-25-2005 07:08 AM
Playing/Ripping Audio CD's in 10.1 MyNameIsDave Mandriva 6 10-16-2004 03:42 PM
Ripping CD's Bloodspiller Mandriva 2 02-26-2004 11:28 PM
Trouble playing commercial audio cd's. MP3 cd's ok. barryww1956 Linux - General 7 12-17-2001 07:42 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware

All times are GMT -5. The time now is 09:46 PM.

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
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration