LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Software (https://www.linuxquestions.org/questions/linux-software-2/)
-   -   cdda2wav audio ripping problem (https://www.linuxquestions.org/questions/linux-software-2/cdda2wav-audio-ripping-problem-197723/)

ugenn 06-25-2004 03:31 PM

cdda2wav audio ripping problem
 
I can't get cdda2wav to work. If barfs with the attached output when run with "cdda2wav dev=/dev/cdrom". I'm using cdda2wav from cdrtools 2.01a31 with a 2.6.7 kernel. Back when I was on the 2.4 series of kernels, I never had this problem, so I don't think it' a hardware issue (Besides, I've tried it on 3 different drives, all with similar results).

ps: cdrecord works fine, if anyone needs to know.

Code:

cdrom device (/dev/hdc) is not of type generic SCSI. Setting interface to cooked_ioctl.
126976 bytes buffer memory requested, 4 buffers, 8 sectors
#Cdda2wav version 2.01a31_linux_2.6.6_i686_i686, real time sched., soundcard, libparanoia support
EnableCdda_cooked (CDIOCSETCDDA) is not available...
AUDIOtrack pre-emphasis  copy-permitted tracktype channels
      1- 1          yes              no    audio    2
AUDIOtrack pre-emphasis  copy-permitted tracktype channels
      2-16          yes              no    audio    2
Table of Contents: total tracks:16, (total time 73:51.18)
  1.(22:50.31),  2.( 3:11.54),  3.( 4:02.01),  4.( 4:02.01),  5.( 2:12.00),
  6.( 4:02.01),  7.( 3:06.56),  8.( 2:55.66),  9.( 2:59.17), 10.( 4:17.35),
 11.( 3:08.26), 12.( 4:02.01), 13.( 3:06.21), 14.( 3:20.30), 15.( 3:18.68),
 16.( 3:15.60)

Table of Contents: starting sectors
  1.(      0),  2.(  102781),  3.(  117160),  4.(  135311),  5.(  153462),
  6.(  163362),  7.(  181513),  8.(  195519),  9.(  208710), 10.(  222152),
 11.(  241462), 12.(  255588), 13.(  273739), 14.(  287710), 15.(  302740),
 16.(  317658), lead-out(  332343)
CDINDEX discid: m6oMq4Nz62LBF2ekPTckrztaV0Q-
CDDB discid: 0xe7114f10
CD-Text: not detected
CD-Extra: not detected
samplefile size will be 241740956 bytes.
recording 1370.4133 seconds stereo with 16 bits @ 44100.0 Hz ->'audio'...
cdda2wav: Operation not permitted. cannot set posix realtime scheduling policy
overlap:min/max/cur, jitter, percent_done:
  /  /  /          0%Sorry, this driver and/or drive does not support cdda reading.
cooked: Read cdda : Input/output error
 sector 0 + 8, buffer 4000D000 + 1f000


Tinkster 06-25-2004 04:48 PM

Can you post the invocation, too?

It should look something like this:
cdda2wav --dev ATAPI:your device





Cheers,
Tink

ugenn 06-25-2004 11:25 PM

I already gave that info - cdda2wav dev=/dev/cdrom. I tried it your way, but got this:

Code:

[~] $ cdda2wav dev=ATAPI:/dev/cdrom
Type: ROM, Vendor 'TEAC    ' Model 'CD-224E        ' Revision '1.7A' MMC+CDDA
569344 bytes buffer memory requested, 4 buffers, 55 sectors
#Cdda2wav version 2.01a31_linux_2.6.6_i686_i686, real time sched., soundcard, libparanoia support
 DATAtrack recorded      copy-permitted tracktype
      1- 1 uninterrupted            no      data
AUDIOtrack pre-emphasis  copy-permitted tracktype channels
      2-16          no              no    audio    2
Table of Contents: total tracks:16, (total time 73:51.18)
  1.[22:50.31],  2.( 3:11.54),  3.( 4:02.01),  4.( 4:02.01),  5.( 2:12.00),
  6.( 4:02.01),  7.( 3:06.56),  8.( 2:55.66),  9.( 2:59.17), 10.( 4:17.35),
 11.( 3:08.26), 12.( 4:02.01), 13.( 3:06.21), 14.( 3:20.30), 15.( 3:18.68),
 16.( 3:15.60)

Table of Contents: starting sectors
  1.(      0),  2.(  102781),  3.(  117160),  4.(  135311),  5.(  153462),
  6.(  163362),  7.(  181513),  8.(  195519),  9.(  208710), 10.(  222152),
 11.(  241462), 12.(  255588), 13.(  273739), 14.(  287710), 15.(  302740),
 16.(  317658), lead-out(  332343)
CDINDEX discid: m6oMq4Nz62LBF2ekPTckrztaV0Q-
CDDB discid: 0xe7114f10
CD-Text: not detected
CD-Extra: not detected
Track 1 not found


Tinkster 06-26-2004 12:25 AM

/me coughs ...

That's your device in the notation that cdrecord or
cdda2wav would use, not the physical device...

cdrecord -dev=ATAPI -scanbus

And then use what cdrecord uses in that output.

man is your friend!


Cheers,
Tink

ugenn 06-26-2004 02:08 AM

But cdrecord *does* work with dev=/dev/cdrom.

Edit:
Yeah it works now. I did it as cdrecord dev=ATPI:/dev/cdrom. It failed originally as the CD I tested on was a mixed mode CD where the first track was a data track, hence the error. Thx.


All times are GMT -5. The time now is 08:37 AM.