Perfect Single-File FLAC: cdrdao vs. abcde
2011-04-23 08:58:02
I'm attempting to rip a CD to a single file that can be used to produce a bit-perfect reproduction of the original CD (or as close as possible to bit-perfect -- at least something that CDDB will recognize). I'm compressing with FLAC to save space, and because of FLAC's wide compatibility. I also really like the "abcde -d file.flac" technique for encoding single-file FLAC albums to lossy separate tracks. I prefer to use linux native tools.Question 1 : Will the file that results from cdrdao read-cd --read-raw --driver generic-mmc-raw --with-cddb --datafile file.bin file.toc toc2cue file.toc file.cue flac --best --force-raw --sample-rate=44100 --channels=2 --bps=16 --endian=big --sign=signed --cuesheet=file.cue file.bin -o file.flac be better for reconstructing the original CD than the file that results from abcde -1 -M -o flac Using abcde is appealing because of its simplicity, and I suspect it's faster than the first option. Can anyone suggest steps superior to either of these options (e.g. better/different switches on cdrdao and flac, or different tools altogether)? Question 2 : I plan to reconstruct CD's (if necessary) by decoding the FLAC and writing with cdrdao. flac --decode --force-raw --endian=big --sign=signed --output-name=file.bin file.flac cdrdao write data.toc As the "--with-cddb" option adds CD-text data to the cdrdao's toc file, does that mean the resulting toc cannot be used to reconstruct a bit-perfect reproduction of the original CD? Is it best not to use this option for that reason?Question 3 : Has abcde (now in version 2.4.2) improved such that "abcde -1 -M -o flac" accomplishes the result desired by these tedious steps:If you *REALLY* want to use linux (I do, too, but I'm getting less sure about this), the best I've come up with given the existing tools is: 1) Rip the whole disk using cdparanoia with a zero sector start position (ie: cdparanoia [00:00:00.00]- ) 2) Generate a TOC file using cdrdao read-toc 3) Convert the toc file to a cue file with toc2cue 4) "Massage" the cue file, adding any pre-gap to the track index positions see also: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=389975 Question 4 : Regarding FLAC options, is it preferable to use "--endian=big" or "--endian=little"?