News SuSEFAQ Howtos Using Wordnet(New) VNC(New) Bash Initialization CD Ripping Apt for RPM PAM Sendmail Mailboxes RPM OpenSSH YOU local(Changed) Fixed packages Wine Clock Grub Graphire Guides Project About |
CD RippingRipping is the process of copying audio data from an audio CD and compressing it into small, but high quality files. There are several competing audio formats right now and I will mention three:
Ripping music from a CD is normally a two-step process. Copy the raw data (as a .wav) from the CD to disk. Encode the .wav into either an .mp3 or .ogg. It can all be done easily in one step, but I want to review how to do it manually first. Copying data from a CD to .wav format is done with the cdparanoia program. In addition to simple reading, cdparanoia adds extra robust data verification, synchronization, error handling and scratch reconstruction capability. It defaults to using the /dev/cdrom link unless you tell it to look for other CD-ROM devices. This rips tracks 1-4 from a CD into separate .wav files in the current directory: cdparanoia "1-4" You can do some wild things with cdparanoia like ripping only part of a track. See the man/info pages. Once tracks have been copied, you need to encode them using either the OGG encode (oggenc) or MP3 encoder (lame). The oggenc program is included in most distros. The lame MP3 encoder can't be included with most distros since it is patented. You can however, download the latest source code from http://www.sulaco.org/mp3 ,you then have to compile the source to get the lame executable. To encode to an OGG file at 128 kb/s (produces input.ogg): oggenc -b 128 input.wav To encode to an MP3 file at 128 kb/s (high psycho-acoustics): lame -h input.wav input.mp3 Don't forget to delete the .wav files if you don't need them anymore. The very best ripper I've tried so far is a GTK program called grip. Grip combines a CD player, CDDB reader, ripper and encoder in one nice interface. Grip calls and/or embeds several programs, including gcd and cdparanoia, oggenc, and lame. There are few things to set up before you start using grip.
There are many more options to explore, but this is all you need to get started. Finally, to actually rip a CD, load a CD, start grip and it should within a few seconds grab the CDDB information about the tracks on the CD.
|