On Friday 18 March 2005 06:08 pm, Andy Hawkins wrote:
> Can someone point me to some instructions as to how to do the following
> under linux?
>
> 1. Rip an entire CD to a single WAV file
> 2. Encode this to FLAC
> 3. Apply tags from CDDB to this FLAC file so it has info for all the tracks
> in it
> 4. Generate and apply a cue file so that slimserver can play the file.

Funny, I just posted this message to another thread yesterday:

Here's the process I've been using (scripted, of course):

1) Rip the entire CD to a single WAV file:
�cdparanoia "[::]-" CD.wav
2) Read the CD's TOC:
�cdrdao read-toc --fast-toc --datafile CD.wav CD.toc
3) Convert TOC to CUE:
�cueconvert -f CD.toc -f CD.cue
4) Get CDDB information and store it in a YAML file

That is the ripping process. �It gets all of the information that is derived 
from the source CD, so that the next step, encoding, can be done separately. �
I encode to several different formats for various purposes:

1) Encode single WAV file to single FLAC file:
�flac --cuesheet=CD.cue [insert tags here...] CD.wav
2) Split CD.wav into multiple WAV files:
�cuebreakpoints -f CD.cue | shnsplit CD.wav
3) Now that I have individual WAV files per track, I encode them to Ogg Vorbis 
and mp3.

The cuetools package and the shntool package are not available in Debian, but 
you can get them from the RareWares repository:

deb http://www.rarewares.org/debian/packages/unstable ./

Some of the problems that I've yet to resolve are:

* Some CUE sheets that list DATA segments cannot be added to the FLAC CUESHEET 
block. �I may need to massage some CUE sheets before encoding the FLAC file, 
so that I can remove such DATA segments.
* How to tag multi-disc sets. �Slim provides support for a DISC tag, but I 
think I need two tags: DISCNUMBER and DISCNAME (for multi-disc sets where 
each disc has its own title)

Let me know if you have any other questions. �I've been pretty heavily 
researching how to do all this on Debian for quite a while. �Pretty soon I'll 
have a Ruby script that others might be able to use, but right now it's 
pretty specific to my environment.

-- 
Jason Voegele

Attachment: pgpDYpI2Kp9Lx.pgp
Description: PGP signature

_______________________________________________
Discuss mailing list
[email protected]
http://lists.slimdevices.com/lists/listinfo/discuss

Reply via email to