Re: [gentoo-user] {OT} cdrdao's toc2cue question

2008-09-30 Thread Joerg Schilling
Grant [EMAIL PROTECTED] wrote:

  I don't understand your problem. Did you read the cdda2wav man page?

 I did read it but I didn't find a way to get cdda2wav to produce a
 single raw/inf pair for the entire CD instead of a pair for each
 track.  Do you know if it can do that?

You told me that you like to have one file per track. Using cdda2wav is
the best way to achieve this. Why do you now like to do the converse?

Jörg

-- 
 EMail:[EMAIL PROTECTED] (home) Jörg Schilling D-13353 Berlin
   [EMAIL PROTECTED](uni)  
   [EMAIL PROTECTED] (work) Blog: http://schily.blogspot.com/
 URL:  http://cdrecord.berlios.de/private/ ftp://ftp.berlios.de/pub/schily



Re: [gentoo-user] {OT} cdrdao's toc2cue question

2008-09-30 Thread Grant
  I don't understand your problem. Did you read the cdda2wav man page?

 I did read it but I didn't find a way to get cdda2wav to produce a
 single raw/inf pair for the entire CD instead of a pair for each
 track.  Do you know if it can do that?

 You told me that you like to have one file per track. Using cdda2wav is
 the best way to achieve this. Why do you now like to do the converse?

I said:

I like to end up with a raw/toc pair of files to act as a raw backup
of the CD, and a series of individual FLAC files for each track.

I like having this backup because of the potential issues introduced
by having one file per track.  For example:

Where does the hidden track before track #1 go?  Should it be
prepended to file #1?  If so, what if you just want to hear track #1
and not the hidden track?

I like to have a raw backup of the entire CD to avoid issues brought
about by splitting 1 thing into 15 things.

- Grant



Re: [gentoo-user] {OT} cdrdao's toc2cue question

2008-09-29 Thread Joerg Schilling
Grant [EMAIL PROTECTED] wrote:

  I like to end up with a raw/toc pair of files to act as a raw backup
  of the CD, and a series of individual FLAC files for each track.  For
  the individual files, would you do that like this:
 
  # cdda2wav -B -Oraw
  # rm audio.cddb
  # rm audio.cdindex
  # rm *.inf
  # flac --best --endian=big --sign=signed --channels=2 --bps=16
  --sample-rate=44100 --verify CD/audio_*.raw
 
  How would you generate a raw/toc(inf?) pair for backup?
 
  The toc information is coded in the adjacent .inf file.

 But how do you get cdda2wav to produce a single raw/inf pair instead
 of a pair for each track?  I tried removing -B but it then only rips
 the first track.

I don't understand your problem. Did you read the cdda2wav man page?

  Try to run an extrat run and ask if there are parts that you do not 
  understand.

 What is an extrat run?

I donate you a c.

Jörg

-- 
 EMail:[EMAIL PROTECTED] (home) Jörg Schilling D-13353 Berlin
   [EMAIL PROTECTED](uni)  
   [EMAIL PROTECTED] (work) Blog: http://schily.blogspot.com/
 URL:  http://cdrecord.berlios.de/private/ ftp://ftp.berlios.de/pub/schily



Re: [gentoo-user] {OT} cdrdao's toc2cue question

2008-09-29 Thread Grant
  I like to end up with a raw/toc pair of files to act as a raw backup
  of the CD, and a series of individual FLAC files for each track.  For
  the individual files, would you do that like this:
 
  # cdda2wav -B -Oraw
  # rm audio.cddb
  # rm audio.cdindex
  # rm *.inf
  # flac --best --endian=big --sign=signed --channels=2 --bps=16
  --sample-rate=44100 --verify CD/audio_*.raw
 
  How would you generate a raw/toc(inf?) pair for backup?
 
  The toc information is coded in the adjacent .inf file.

 But how do you get cdda2wav to produce a single raw/inf pair instead
 of a pair for each track?  I tried removing -B but it then only rips
 the first track.

 I don't understand your problem. Did you read the cdda2wav man page?

I did read it but I didn't find a way to get cdda2wav to produce a
single raw/inf pair for the entire CD instead of a pair for each
track.  Do you know if it can do that?

- Grant



Re: [gentoo-user] {OT} cdrdao's toc2cue question

2008-09-28 Thread Grant
 I patched cdrdao to recognize certain CD-TEXT types for its toc file
 creation with the info here:

 http://www.lackhead.org/2007/05/patch-for-cdrdao-122-cd-text-causing-crash/

 but toc2cue fails to execute on such a toc file with a series of these:

 ERROR: CD/cdda.toc:36: Invalid CD-TEXT item for a track.

 What do you like to do?

 Did you try cdda2wav and cdrecord?

 The CUE format interpreter in cdrdao is known to be incomplete.

I'm using a script I wrote to rip a CD twice (each rip creating a
binary file and toc file), compare the two rips with cmp, convert the
toc to cue with toc2cue, create a single FLAC file with flac, and
split the FLAC file into separate track files with cuebreakpoints.
I'd be happy to post the script if anyone is interested.  It works
really well.

I'm very concerned with having as perfect a copy of the original CD as
possible.  I read an article once about how cdrdao was the only method
that seemed to get it right.

- Grant



Re: [gentoo-user] {OT} cdrdao's toc2cue question

2008-09-28 Thread Grant
 I patched cdrdao to recognize certain CD-TEXT types for its toc file
 creation with the info here:

 http://www.lackhead.org/2007/05/patch-for-cdrdao-122-cd-text-causing-crash/

 but toc2cue fails to execute on such a toc file with a series of these:

 ERROR: CD/cdda.toc:36: Invalid CD-TEXT item for a track.

 What do you like to do?

 Did you try cdda2wav and cdrecord?

 The CUE format interpreter in cdrdao is known to be incomplete.

How would you go about figuring out which file to patch to update toc2cue?

- Grant



Re: [gentoo-user] {OT} cdrdao's toc2cue question

2008-09-28 Thread Joerg Schilling
Grant [EMAIL PROTECTED] wrote:

  Did you try cdda2wav and cdrecord?
 
  The CUE format interpreter in cdrdao is known to be incomplete.

 I'm using a script I wrote to rip a CD twice (each rip creating a
 binary file and toc file), compare the two rips with cmp, convert the
 toc to cue with toc2cue, create a single FLAC file with flac, and
 split the FLAC file into separate track files with cuebreakpoints.
 I'd be happy to post the script if anyone is interested.  It works
 really well.

Just run:

cdda2wav -vall -B -Owav cddb=0 paraopts=minoverlap=10 -paranoia 

then write the files using:

cdrecord -v -dao -useinfo -text  *.wav

This has the advantage that it splits into separate files at the correct
locations. Note that cdda2wav is the only program I know that splits correctly.


The CD-Text is inside the *.inf files. 


 I'm very concerned with having as perfect a copy of the original CD as
 possible.  I read an article once about how cdrdao was the only method
 that seemed to get it right.

This is not correct, cdda2wav is known to be better for DAE.

Jörg

-- 
 EMail:[EMAIL PROTECTED] (home) Jörg Schilling D-13353 Berlin
   [EMAIL PROTECTED](uni)  
   [EMAIL PROTECTED] (work) Blog: http://schily.blogspot.com/
 URL:  http://cdrecord.berlios.de/private/ ftp://ftp.berlios.de/pub/schily



Re: [gentoo-user] {OT} cdrdao's toc2cue question

2008-09-28 Thread Joerg Schilling
Grant [EMAIL PROTECTED] wrote:

  Did you try cdda2wav and cdrecord?
 
  The CUE format interpreter in cdrdao is known to be incomplete.

 How would you go about figuring out which file to patch to update toc2cue?

I wrote the parser for cdrecord and it works for all cases I know.
Make sure to use the offocial cdrtools sources.

You seem to be interested in _creating_ cue sheet files.

Why do you like to create a cue file anyway?

Cdda2wav splits the data at the right location and it icludes the paranoia code.

Jörg

-- 
 EMail:[EMAIL PROTECTED] (home) Jörg Schilling D-13353 Berlin
   [EMAIL PROTECTED](uni)  
   [EMAIL PROTECTED] (work) Blog: http://schily.blogspot.com/
 URL:  http://cdrecord.berlios.de/private/ ftp://ftp.berlios.de/pub/schily



Re: [gentoo-user] {OT} cdrdao's toc2cue question

2008-09-28 Thread Grant
  Did you try cdda2wav and cdrecord?
 
  The CUE format interpreter in cdrdao is known to be incomplete.

 How would you go about figuring out which file to patch to update toc2cue?

 I wrote the parser for cdrecord and it works for all cases I know.
 Make sure to use the offocial cdrtools sources.

 You seem to be interested in _creating_ cue sheet files.

 Why do you like to create a cue file anyway?

 Cdda2wav splits the data at the right location and it icludes the paranoia 
 code.

I read a comparison where somebody ripped a CD with cdrdao and a
couple other tools and then burned the images back to CDs and compared
the CDs, and cdrdao was the only one that ended up with being
indistinguishable from the original as reported by the tool he used.

I want to create a cue file because it's required for converting the
CD image to FLAC with the flac command.  I'm actually not interested
in burning CDs, FLAC files only.

- Grant



Re: [gentoo-user] {OT} cdrdao's toc2cue question

2008-09-28 Thread Joerg Schilling
Grant [EMAIL PROTECTED] wrote:

  Why do you like to create a cue file anyway?
 
  Cdda2wav splits the data at the right location and it icludes the paranoia 
  code.

 I read a comparison where somebody ripped a CD with cdrdao and a
 couple other tools and then burned the images back to CDs and compared
 the CDs, and cdrdao was the only one that ended up with being
 indistinguishable from the original as reported by the tool he used.

There have been several tests that show up that cdda2wav/cdrecord are 
the best choice - even compared with Win32 programs.


 I want to create a cue file because it's required for converting the
 CD image to FLAC with the flac command.  I'm actually not interested
 in burning CDs, FLAC files only.

Mmm I see no reason why there should be a need for a cue sheet just to do a 
simple compression.

Jörg

-- 
 EMail:[EMAIL PROTECTED] (home) Jörg Schilling D-13353 Berlin
   [EMAIL PROTECTED](uni)  
   [EMAIL PROTECTED] (work) Blog: http://schily.blogspot.com/
 URL:  http://cdrecord.berlios.de/private/ ftp://ftp.berlios.de/pub/schily



Re: [gentoo-user] {OT} cdrdao's toc2cue question

2008-09-28 Thread Grant
  Why do you like to create a cue file anyway?
 
  Cdda2wav splits the data at the right location and it icludes the paranoia 
  code.

 I read a comparison where somebody ripped a CD with cdrdao and a
 couple other tools and then burned the images back to CDs and compared
 the CDs, and cdrdao was the only one that ended up with being
 indistinguishable from the original as reported by the tool he used.

 There have been several tests that show up that cdda2wav/cdrecord are
 the best choice - even compared with Win32 programs.

Can you point me toward any of those?

 I want to create a cue file because it's required for converting the
 CD image to FLAC with the flac command.  I'm actually not interested
 in burning CDs, FLAC files only.

 Mmm I see no reason why there should be a need for a cue sheet just to do a
 simple compression.

If not the flac command then cuebreakpoints.  Is there a way to split
a FLAC file with a toc file?

- Grant



Re: [gentoo-user] {OT} cdrdao's toc2cue question

2008-09-28 Thread Joerg Schilling
Grant [EMAIL PROTECTED] wrote:

   Why do you like to create a cue file anyway?
  
   Cdda2wav splits the data at the right location and it icludes the 
   paranoia code.
 
  I read a comparison where somebody ripped a CD with cdrdao and a
  couple other tools and then burned the images back to CDs and compared
  the CDs, and cdrdao was the only one that ended up with being
  indistinguishable from the original as reported by the tool he used.
 
  There have been several tests that show up that cdda2wav/cdrecord are
  the best choice - even compared with Win32 programs.

 Can you point me toward any of those?

2+ Years ago, there have been several long discussions in 
de.comp.hardware.laufwerke.brenner

One is here 
http://groups.google.de/group/de.comp.hardware.laufwerke.brenner/browse_thread/thread/355e88b312c2a2f1/269396c366fe2117?hl=delnk=stq=cdda2wav+eac#269396c366fe2117
but there have been better ones...

Try to search for cdda2wav and EAC or ALCOHOL in 
de.comp.hardware.laufwerke.brenner 


  I want to create a cue file because it's required for converting the
  CD image to FLAC with the flac command.  I'm actually not interested
  in burning CDs, FLAC files only.
 
  Mmm I see no reason why there should be a need for a cue sheet just to do a
  simple compression.

 If not the flac command then cuebreakpoints.  Is there a way to split
 a FLAC file with a toc file?

cdda2wav writes a single file per track. Why do you like additional splits?

Jörg

-- 
 EMail:[EMAIL PROTECTED] (home) Jörg Schilling D-13353 Berlin
   [EMAIL PROTECTED](uni)  
   [EMAIL PROTECTED] (work) Blog: http://schily.blogspot.com/
 URL:  http://cdrecord.berlios.de/private/ ftp://ftp.berlios.de/pub/schily



Re: [gentoo-user] {OT} cdrdao's toc2cue question

2008-09-28 Thread Grant
   Why do you like to create a cue file anyway?
  
   Cdda2wav splits the data at the right location and it icludes the 
   paranoia code.
 
  I read a comparison where somebody ripped a CD with cdrdao and a
  couple other tools and then burned the images back to CDs and compared
  the CDs, and cdrdao was the only one that ended up with being
  indistinguishable from the original as reported by the tool he used.
 
  There have been several tests that show up that cdda2wav/cdrecord are
  the best choice - even compared with Win32 programs.

 Can you point me toward any of those?

 2+ Years ago, there have been several long discussions in
 de.comp.hardware.laufwerke.brenner

 One is here
 http://groups.google.de/group/de.comp.hardware.laufwerke.brenner/browse_thread/thread/355e88b312c2a2f1/269396c366fe2117?hl=delnk=stq=cdda2wav+eac#269396c366fe2117
 but there have been better ones...

 Try to search for cdda2wav and EAC or ALCOHOL in
 de.comp.hardware.laufwerke.brenner


  I want to create a cue file because it's required for converting the
  CD image to FLAC with the flac command.  I'm actually not interested
  in burning CDs, FLAC files only.
 
  Mmm I see no reason why there should be a need for a cue sheet just to do a
  simple compression.

 If not the flac command then cuebreakpoints.  Is there a way to split
 a FLAC file with a toc file?

 cdda2wav writes a single file per track. Why do you like additional splits?

I like to end up with a raw/toc pair of files to act as a raw backup
of the CD, and a series of individual FLAC files for each track.  For
the individual files, would you do that like this:

# cdda2wav -B -Oraw
# rm audio.cddb
# rm audio.cdindex
# rm *.inf
# flac --best --endian=big --sign=signed --channels=2 --bps=16
--sample-rate=44100 --verify CD/audio_*.raw

How would you generate a raw/toc(inf?) pair for backup?

- Grant



Re: [gentoo-user] {OT} cdrdao's toc2cue question

2008-09-28 Thread Joerg Schilling
Grant [EMAIL PROTECTED] wrote:

  cdda2wav writes a single file per track. Why do you like additional splits?

 I like to end up with a raw/toc pair of files to act as a raw backup
 of the CD, and a series of individual FLAC files for each track.  For
 the individual files, would you do that like this:

 # cdda2wav -B -Oraw
 # rm audio.cddb
 # rm audio.cdindex
 # rm *.inf
 # flac --best --endian=big --sign=signed --channels=2 --bps=16
 --sample-rate=44100 --verify CD/audio_*.raw

 How would you generate a raw/toc(inf?) pair for backup?

The toc information is coded in the adjacent .inf file.

Try to run an extrat run and ask if there are parts that you do not understand.

It should be easy for you to write a transcoder.

Jörg

-- 
 EMail:[EMAIL PROTECTED] (home) Jörg Schilling D-13353 Berlin
   [EMAIL PROTECTED](uni)  
   [EMAIL PROTECTED] (work) Blog: http://schily.blogspot.com/
 URL:  http://cdrecord.berlios.de/private/ ftp://ftp.berlios.de/pub/schily



Re: [gentoo-user] {OT} cdrdao's toc2cue question

2008-09-28 Thread Grant
  cdda2wav writes a single file per track. Why do you like additional splits?

 I like to end up with a raw/toc pair of files to act as a raw backup
 of the CD, and a series of individual FLAC files for each track.  For
 the individual files, would you do that like this:

 # cdda2wav -B -Oraw
 # rm audio.cddb
 # rm audio.cdindex
 # rm *.inf
 # flac --best --endian=big --sign=signed --channels=2 --bps=16
 --sample-rate=44100 --verify CD/audio_*.raw

 How would you generate a raw/toc(inf?) pair for backup?

 The toc information is coded in the adjacent .inf file.

But how do you get cdda2wav to produce a single raw/inf pair instead
of a pair for each track?  I tried removing -B but it then only rips
the first track.

 Try to run an extrat run and ask if there are parts that you do not 
 understand.

What is an extrat run?

Thanks,
Grant



[gentoo-user] {OT} cdrdao's toc2cue question

2008-09-27 Thread Grant
I patched cdrdao to recognize certain CD-TEXT types for its toc file
creation with the info here:

http://www.lackhead.org/2007/05/patch-for-cdrdao-122-cd-text-causing-crash/

but toc2cue fails to execute on such a toc file with a series of these:

ERROR: CD/cdda.toc:36: Invalid CD-TEXT item for a track.

Does anyone know how to add CD-TEXT types to toc2cue?  The types I
need to add are:

CDTEXT_DISK_ID
CDTEXT_GENRE
CDTEXT_TOC_INFO1
CDTEXT_TOC_INFO2
CDTEXT_RES1
CDTEXT_RES2
CDTEXT_RES3
CDTEXT_RES4
CDTEXT_SIZE_INFO

I filed a Gentoo bug here:

http://bugs.gentoo.org/show_bug.cgi?id=238891

I think I just need a file location.  The cdrdao list seems to be
dead.  I tried to post to it a while ago and only received a message
that my message was awaiting moderator approval.

- Grant



Re: [gentoo-user] {OT} cdrdao's toc2cue question

2008-09-27 Thread Joerg Schilling
Grant [EMAIL PROTECTED] wrote:

 I patched cdrdao to recognize certain CD-TEXT types for its toc file
 creation with the info here:

 http://www.lackhead.org/2007/05/patch-for-cdrdao-122-cd-text-causing-crash/

 but toc2cue fails to execute on such a toc file with a series of these:

 ERROR: CD/cdda.toc:36: Invalid CD-TEXT item for a track.

What do you like to do?

Did you try cdda2wav and cdrecord?

The CUE format interpreter in cdrdao is known to be incomplete.

Jörg

-- 
 EMail:[EMAIL PROTECTED] (home) Jörg Schilling D-13353 Berlin
   [EMAIL PROTECTED](uni)  
   [EMAIL PROTECTED] (work) Blog: http://schily.blogspot.com/
 URL:  http://cdrecord.berlios.de/private/ ftp://ftp.berlios.de/pub/schily