1 .TH CDPARANOIA 1 "02 Mar 2001"
3 cdparanoia 9.8 (Paranoia release III) \- an audio CD reading utility which includes extra data verification features
11 retrieves audio tracks from CDDA capable CDROM drives. The data can
12 be saved to a file or directed to standard output in WAV, AIFF, AIFF-C
13 or raw format. Most ATAPI, SCSI and several proprietary CDROM drive
16 can determine if the target drive is CDDA capable.
18 In addition to simple reading,
20 adds extra-robust data verification, synchronization, error handling
21 and scratch reconstruction capability.
26 Be absurdly verbose about the autosensing and reading process. Good
27 for setup and debugging.
31 Do not print any progress or error information during the reading process.
34 .B \-e --stderr-progress
35 Force output of progress information to stderr (for wrapper scripts).
39 Print the program version and quit.
43 Perform CDROM drive autosense, query and print the CDROM table of
47 .B \-s --search-for-drive
48 Forces a complete search for a cdrom drive, even if the /dev/cdrom link exists.
52 Print a brief synopsis of
58 Output headerless data as raw 16 bit PCM data with interleaved samples in host byte order. To force little or big endian byte order, use
65 .B \-r --output-raw-little-endian
66 Output headerless data as raw 16 bit PCM data with interleaved samples in LSB first byte order.
69 .B \-R --output-raw-big-endian
70 Output headerless data as raw 16 bit PCM data with interleaved samples in MSB first byte order.
74 Output data in Micro$oft RIFF WAV format (note that WAV data is always
75 LSB first byte order).
79 Output data in Apple AIFF format (note that AIFC data is
80 always in MSB first byte order).
84 Output data in uncompressed Apple AIFF-C format (note that AIFF-C data is
85 always in MSB first byte order).
90 Cdda2wav-style batch output flag; cdparanoia will split the output
91 into multiple files at track boundaries. Output file names are
92 prepended with 'track#.'
95 .B \-c --force-cdrom-little-endian
96 Some CDROM drives misreport their endianness (or do not report it at
97 all); it's possible that cdparanoia will guess wrong. Use
99 to force cdparanoia to treat the drive as a little endian device.
102 .B \-C --force-cdrom-big-endian
103 As above but force cdparanoia to treat the drive as a big endian device.
106 .BI "\-n --force-default-sectors " n
107 Force the interface backend to do atomic reads of
109 sectors per read. This number can be misleading; the kernel will often
110 split read requests into multiple atomic reads (the automated Paranoia
111 code is aware of this) or allow reads only wihin a restricted size
113 .B This option should generally not be used.
116 .BI "\-d --force-cdrom-device " device
117 Force the interface backend to read from
119 rather than the first readable CDROM drive it finds. This can be used
120 to specify devices of any valid interface type (ATAPI, SCSI or
124 .BI "\-g --force-generic-device " device
125 This option is used along with
127 when one wants explicit control in setting both the SCSI cdrom and
128 generic devices seperately. This option is only useful on
129 non-standard SCSI setups.
132 .BI "\-S --force-read-speed " number
133 Use this option explicitly to set the read rate of the CD drive (where
134 supported). This can reduce underruns on machines with slow disks, or
135 which are low on memory.
138 .BI "\-t --toc-offset " number
139 Use this option to force the entire disc LBA addressing to shift by
140 the given amount; the value is added to the beginning offsets in the
141 TOC. This can be used to shift track boundaries for the whole disc
142 manually on sector granularity. The next option does something
146 .BI "\-T --toc-bias "
147 Some drives (usually random Toshibas) report the actual track
148 beginning offset values in the TOC, but then treat the beginning of
149 track 1 index 1 as sector 0 for all read operations. This results in
150 every track seeming to start too late (losing a bit of the beginning
151 and catching a bit of the next track).
153 accounts for this behavior. Note that this option will cause
154 cdparanoia to attempt to read sectors before or past the known user
155 data area of the disc, resulting in read errors at disc edges on most
156 drives and possibly even hard lockups on some buggy hardware.
159 .BI "\-O --sample-offset " number
160 Use this option to force the entire disc to shift sample position
161 output by the given amount; This can be used to shift track boundaries
162 for the whole disc manually on sample granularity. Note that this will
163 cause cdparanoia to attempt to read partial sectors before or past the
164 known user data area of the disc, probably causing read errors on most
165 drives and possibly even hard lockups on some buggy hardware.
169 .B \-Z --disable-paranoia
172 data verification and correction features. When using -Z, cdparanoia
173 reads data exactly as would cdda2wav with an overlap setting of zero.
174 This option implies that
179 .B \-z --never-skip[=max_retries]
180 Do not accept any skips; retry forever if needed. An optional maximum
181 number of retries can be specified; for comparison, default without -z is
185 .B \-Y --disable-extra-paranoia
186 Disables intra-read data verification; only overlap checking at read
187 boundaries is performed. It can wedge if errors occur in the attempted overlap area. Not recommended.
190 .B \-X --abort-on-skip
191 If the read skips due to imperfect data, a scratch, whatever, abort reading this track. If output is to a file, delete the partially completed file.
197 Normal operation, low/no jitter
201 Normal operation, considerable jitter
209 Unreported loss of streaming in atomic read operation
213 Finding read problems at same point during reread; hard to correct
217 SCSI/ATAPI transport error
225 Gave up trying to perform a correction
229 Aborted read due to known, uncorrectable error
235 .SH PROGRESS BAR SYMBOLS
239 No corrections needed
243 Jitter correction required
247 Unreported loss of streaming/other error in read
251 Errors found after stage 1 correction; the drive is making the
252 same error through multiple re-reads, and cdparanoia is having trouble
257 SCSI/ATAPI transport error (corrected)
261 Uncorrected error/skip
265 The span argument specifies which track, tracks or subsections of
266 tracks to read. This argument is required.
268 Unless the span is a simple number, it's generally a good idea to
269 quote the span argument to protect it from the shell.
271 The span argument may be a simple track number or an offset/span
272 specification. The syntax of an offset/span takes the rough form:
274 1[ww:xx:yy.zz]-2[aa:bb:cc.dd]
276 Here, 1 and 2 are track numbers; the numbers in brackets provide a
277 finer grained offset within a particular track. [aa:bb:cc.dd] is in
278 hours/minutes/seconds/sectors format. Zero fields need not be
279 specified: [::20], [:20], [20], [20.], etc, would be interpreted as
280 twenty seconds, [10:] would be ten minutes, [.30] would be thirty
281 sectors (75 sectors per second).
283 When only a single offset is supplied, it is interpreted as a starting
284 offset and ripping will continue to the end of the track. If a single
285 offset is preceeded or followed by a hyphen, the implicit missing
286 offset is taken to be the start or end of the disc, respectively. Thus:
290 Specifies ripping from track 1, second 20, sector 35 to the end of
294 Specifies ripping from 1[20.35] to the end of the disc
297 Specifies ripping from the beginning of the disc up to (and including) track 2
300 Specifies ripping from the beginning of the disc up to 2:[30.35]
303 Specifies ripping from the beginning of track 2 to the end of track 4.
305 Again, don't forget to protect square brackets and preceeding hyphens from
310 A few examples, protected from the shell:
312 Query only with exhaustive search for a drive and full reporting of autosense:
316 Extract an entire disc, putting each track in a seperate file:
320 Extract from track 1, time 0:30.12 to 1:10.00:
322 cdparanoia "1[:30.12]-1[1:10]"
324 Extract from the beginning of the disc up to track 3:
328 The "--" above is to distinguish "-3" from an option flag.
331 The output file argument is optional; if it is not specified,
332 cdparanoia will output samples to one of
333 .BR cdda.wav ", " cdda.aifc ", or " cdda.raw
335 .BR \-w ", " \-a ", " \-r " or " \-R " is used (" \-w
336 is the implicit default). The output file argument of
338 specifies standard output; all data formats may be piped.
341 Cdparanoia sprang from and once drew heavily from the interface of
342 Heiko Eissfeldt's (heiko@colossus.escape.de) 'cdda2wav'
343 package. Cdparanoia would not have happened without it.
345 Joerg Schilling has also contributed SCSI expertise through his
346 generic SCSI transport library.
349 Monty <monty@xiph.org>
351 Cdparanoia's homepage may be found at:
352 http://www.xiph.org/paranoia/