LinuxCommandLibrary
GitHubF-DroidGoogle Play Store

cdparanoia

CD audio ripper with error correction

TLDR

Rip entire CD to WAV files
$ cdparanoia -B
copy
Rip specific track
$ cdparanoia [5] [track05.wav]
copy
Rip track range
$ cdparanoia [1-5]
copy
Query CD table of contents
$ cdparanoia -Q
copy
Output raw PCM data
$ cdparanoia -r [1] [track.raw]
copy
Verbose output
$ cdparanoia -v [1]
copy

SYNOPSIS

cdparanoia [options] span [outfile]

DESCRIPTION

cdparanoia is a CD digital audio extraction tool with advanced error correction and jitter handling. It reads audio tracks from CDDA-capable drives and performs verification, synchronization, and scratch reconstruction to produce bit-perfect rips whenever possible.Unlike simple CD rippers, cdparanoia uses multiple read passes and cross-correlates data to detect and correct errors caused by scratches, smudges, or drive imperfections. The progress display shows smiley faces indicating read quality, from normal operation to scratch detection and correction failures.Output formats include WAV (default), AIFF, AIFF-C, and raw 16-bit PCM. Batch mode (`-B`) splits output into one file per track automatically.

PARAMETERS

-B, --batch

Batch mode, split output at track boundaries
-Q, --query
Query and print CD table of contents
-d device, --force-cdrom-device device
Specify CD-ROM device
-v, --verbose
Verbose output for debugging
-q, --quiet
Quiet operation
-w, --output-wav
Output WAV format (default)
-a, --output-aiff
Output AIFF format
-r, --output-raw
Output raw 16-bit PCM
-R, --output-raw-big-endian
Output raw big-endian PCM
-c, --output-aifc
Output AIFF-C format
-f, --force-cdrom-little-endian
Force treating the drive as little endian.
-F, --force-cdrom-big-endian
Force treating the drive as big endian.
-g device, --force-generic-device device
Force use of the old generic SCSI (sg) interface with the specified device.
-S speed, --force-read-speed speed
Set the read speed of the CD drive (where supported).
-A, --analyze-drive
Run and log a complete analysis of drive caching, timing and reading behavior.
-z, --never-skip
Never skip failed reads, retry indefinitely.
-Z, --disable-paranoia
Disable all data verification and correction features.
-X, --abort-on-skip
If a read is skipped due to imperfect data, abort reading the track.

SPAN FORMAT

N: Track NN-M: Tracks N through MN-: Track N to end-M: Beginning to track M

PROGRESS SYMBOLS

:-) Normal operation, low jitter:-| Considerable jitter:-( Scratch detected;-( Gave up correction:^D Finished

CAVEATS

Requires CDDA-capable drive. Works best with Accurate Stream drives that don't cache audio. Scratched discs may cause long read times.

SEE ALSO

abcde(1), lame(1), flac(1), sox(1)

Copied to clipboard
Kai