Ripping a CD to a single file (was Re: Ripping OGG files (was ...))
Matthew J. Brodeur
mbrodeur at NextTime.com
Wed Dec 11 11:58:17 EST 2002
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
On Wed, 11 Dec 2002, Jason Stephenson wrote:
> Yeah, but I don't know of any ripping software that does that. [Rips a
> CD to a single file] If anybody finds such a beast, please be kind
> enough to tell the rest of us.
I posted this suggestion a few days ago, but I guess it got lost in the
crowd. I just tested my theory on a CD I borrowed from the boss.
This command line:
$ cdparanoia -X -Z -d /dev/cdrom 1- Beethoven\ -\ Symphony\ No.\ 9\ \"Choral\".wav
...generated this display:
Ripping from sector 0 (track 1 [0:00.00])
to sector 315606 (track 4 [25:38.66])
outputting to Beethoven - Symphony No. 9 "Choral".wav
...and this output:
$ ls -l
- -rw-rw-r-- 1 mbrodeur mbrodeur 742307708 Dec 11 11:33 Beethoven - Symphony No. 9 "Choral".wav
Which is indeed a single .wav containing all four tracks from the
source CD. The secret is the "1-" passed to cdparanoia, which tells it to
rip from the beginning of track 1 to the end of the last track. In real
life I wouldn't have used the "-Z" option, as this disables almost every
error check/correction, but this was just a test.
Now a more useful command line would be something like:
$ cdparanoia -X -d /dev/cdrom 1- - | oggenc -o \
"Beethoven - Symphony No. 9 \"Choral\".ogg" -q 4 -c \
"comment=Single Rip/Pipeline Test" -
...which _SHOULD_ produce an single .ogg of the entire CD without an
intermediate .wav file. I'm testing it as I type, and on my machine it's
working. YMMV. Again, in the real world I use a higher quality and add
tags through the oggenc command line.
- --
Matthew J. Brodeur RHCE, GSEC
MBrodeur at NextTime.com http://www.NextTime.com
A little inaccuracy saves a world of explanation.
-- C.E. Ayres
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.0 (GNU/Linux)
iD8DBQE9926sc8/WFSz+GKMRAi3BAKC+Cv2OiNXdhUX8KL3roODwEdh/VACcCuKW
lGDNFHf2TNlfSb6KrdpNnR0=
=qyTb
-----END PGP SIGNATURE-----
More information about the gnhlug-discuss
mailing list