CDParanoia lives

Audio editors, music players, video players, burning software, etc.
Post Reply
Message
Author
scsijon
Posts: 1596
Joined: Thu 24 May 2007, 03:59
Location: the australian mallee
Contact:

CDParanoia lives

#1 Post by scsijon »

Hunting for a working cdparanoia for my T290 (racy5.5 updated) I was frustrated until I came across this set of patches hiding inside a deb package.

Works with cdparanoia 10.2.

As it now builds X86-64 (and supposedly others), I thought I should share them.
Attachments
cdparanoia-10.2-patches.tar.gz
(67.1 KiB) Downloaded 94 times

User avatar
Flash
Official Dog Handler
Posts: 13071
Joined: Wed 04 May 2005, 16:04
Location: Arizona USA

#2 Post by Flash »

What exactly is cdparanoia? What does it do? Why do I feel that I have to have it?

scsijon
Posts: 1596
Joined: Thu 24 May 2007, 03:59
Location: the australian mallee
Contact:

#3 Post by scsijon »

Flash wrote:What exactly is cdparanoia? What does it do? Why do I feel that I have to have it?
It's been in puppy back to v2 (at least) and it's a CDDA extraction tool (aka ripper).

CDparanoia is a great tool for ripping (digital copying) audio data from Audio-CD's and those combination
Video/Audio and Game CD's appearing around the tracks. It has remarkably good track and error
tracking and correction to deal with buggy drives, or scratched CDs and the like. It won't fix a stuffed
disc, but what is useable (even part tracks) if it will start can usually be recovered.

Oh yes, and it works beautifully from the command line and a number of packages will use
automatically it if it's available and Version 10.2 from 2008 is still the latest version.


From it's --help

cdparanoia III release 10.2 (September 11, 2008)

(C) 2008 Monty <monty@xiph.org> and Xiph.Org

USAGE:
cdparanoia [options] <span> [outfile]

OPTIONS:
-A --analyze-drive : run and log a complete analysis of drive
caching, timing and reading behavior;
verifies that cdparanoia is correctly
modelling a specific drive's cache and
read behavior. Implies -vQL

-v --verbose : extra verbose operation
-q --quiet : quiet operation
-e --stderr-progress : force output of progress information to
stderr (for wrapper scripts)
-l --log-summary [<file>] : save result summary to file, default
filename cdparanoia.log
-L --log-debug [<file>] : save detailed device autosense and
debugging output to file, default
filename cdparanoia.log
-V --version : print version info and quit
-Q --query : autosense drive, query disc and quit
-B --batch : 'batch' mode (saves each track to a
seperate file.
-s --search-for-drive : do an exhaustive search for drive
-h --help : print help

-p --output-raw : output raw 16 bit PCM in host byte
order
-r --output-raw-little-endian : output raw 16 bit little-endian PCM
-R --output-raw-big-endian : output raw 16 bit big-endian PCM
-w --output-wav : output as WAV file (default)
-f --output-aiff : output as AIFF file
-a --output-aifc : output as AIFF-C file

-c --force-cdrom-little-endian : force treating drive as little endian
-C --force-cdrom-big-endian : force treating drive as big endian
-n --force-default-sectors <n> : force default number of sectors in read
to n sectors
-o --force-search-overlap <n> : force minimum overlap search during
verification to n sectors
-d --force-cdrom-device <dev> : use specified device; disallow
autosense
-k --force-cooked-device <dev> : use specified cdrom device and force
use of the old 'cooked ioctl' kernel
interface. -k cannot be used with -d
or -g.
-g --force-generic-device <dev> : use specified generic scsi device and
force use of the old SG kernel
interface. -g cannot be used with -k.
-S --force-read-speed <n> : read from device at specified speed; by
default, cdparanoia sets drive to full
speed.
-t --toc-offset <n> : Add <n> sectors to the values reported
when addressing tracks. May be negative
-T --toc-bias : Assume that the beginning offset of
track 1 as reported in the TOC will be
addressed as LBA 0. Necessary for some
Toshiba drives to get track boundaries
correct
-O --sample-offset <n> : Add <n> samples to the offset when
reading data. May be negative.
-z --never-skip[=n] : never accept any less than perfect
data reconstruction (don't allow 'V's)
but if [n] is given, skip after [n]
retries without progress.
-Z --disable-paranoia : disable all paranoia checking
-Y --disable-extra-paranoia : only do cdda2wav-style overlap checking
-X --abort-on-skip : abort on imperfect reads/skips

OUTPUT SMILIES:
:-) Normal operation, low/no jitter
:-| Normal operation, considerable jitter
:-/ Read drift
:-P Unreported loss of streaming in atomic read operation
8-| Finding read problems at same point during reread; hard to correct
:-0 SCSI/ATAPI transport error
:-( Scratch detected
;-( Gave up trying to perform a correction
8-X Aborted (as per -X) due to a scratch/skip
:^D Finished extracting

PROGRESS BAR SYMBOLS:
<space> No corrections needed
- Jitter correction required
+ Unreported loss of streaming/other error in read
! Errors are getting through stage 1 but corrected in stage2
e SCSI/ATAPI transport error (corrected)
V Uncorrected error/skip

SPAN ARGUMENT:
The span argument may be a simple track number or a offset/span
specification. The syntax of an offset/span takes the rough form:

1[ww:xx:yy.zz]-2[aa:bb:cc.dd]

Here, 1 and 2 are track numbers; the numbers in brackets provide a
finer grained offset within a particular track. [aa:bb:cc.dd] is in
hours/minutes/seconds/sectors format. Zero fields need not be
specified: [::20], [:20], [20], [20.], etc, would be interpreted as
twenty seconds, [10:] would be ten minutes, [.30] would be thirty
sectors (75 sectors per second).

When only a single offset is supplied, it is interpreted as a starting
offset and ripping will continue to the end of he track. If a single
offset is preceeded or followed by a hyphen, the implicit missing
offset is taken to be the start or end of the disc, respectively. Thus:

1:[20.35] Specifies ripping from track 1, second 20, sector 35 to
the end of track 1.

-2 Specifies ripping from the beginning of the disc up to
(and including) track 2

-2:[30.35] Specifies ripping from the beginning of the disc up to
2:[30.35]

2-4 Specifies ripping from the beginning of track two to the
end of track 4.

Don't forget to protect square brackets and preceeding hyphens from
the shell...

A few examples, protected from the shell:
A) query only with exhaustive search for a drive and full reporting
of autosense:
cdparanoia -vsQ

B) extract up to and including track 3, putting each track in a seperate
file:
cdparanoia -B -- "-3"

C) extract from track 1, time 0:30.12 to 1:10.00:
cdparanoia "1[:30.12]-1[1:10]"

Submit bug reports to paranoia@xiph.org

User avatar
zigbert
Posts: 6621
Joined: Wed 29 Mar 2006, 18:13
Location: Valåmoen, Norway
Contact:

#4 Post by zigbert »

Flash wrote:What exactly is cdparanoia? What does it do? Why do I feel that I have to have it?
You don't need cdparanoia...
pMusic includes ripping functionality without using cdparanoia. in pMusic, cdda2wav does the ripping and ffmpeg embeds the metatags to the ripped file. One of the main ideas of pMusic is to get rid of dependencies (like cdparanoia).

User avatar
BarryK
Puppy Master
Posts: 9392
Joined: Mon 09 May 2005, 09:23
Location: Perth, Western Australia
Contact:

#5 Post by BarryK »

Also, as I recall, cdparanoia is deprecated in favor of libcdio.

The latter has full compatibility with the cdparanoia library, and is an active project. Most distros have, I think, gone over to using libcdio.

The cdparanoia part is actually a separate package:

http://www.linuxfromscratch.org/blfs/vi ... bcdio.html

Well, that is what I remember anyway. Perhaps though, there are some apps that still need the old cdparanoia pkg.

I have compiled a complete distro in openembedded, using libcdio and libcdio-paranoia, no problem with compiling anything.

edit:
Oh yeah, should add, libcdio-paranoia also has the utility /usr/bin/cd-paranoia
[url]https://bkhome.org/news/[/url]

Post Reply