Command Line Apps abcde
Latest revision as of 13:24, 24 January 2010
abcde audio ripper
From the man page:
Ordinarily, the process of grabbing the data off a CD and encoding it, then tagging or commenting it, is very involved. abcde is designed to automate this. It will take an entire CD and convert it into a compressed audio format - Ogg/Vorbis, MPEG Audio Layer III, Free Lossless Audio Codec (FLAC), Ogg/Speex, MPP/MP+(Musepack) and/or M4A (AAC) format(s). With one command, it will:
- Do a CDDB query over the Internet to look up your CD or use a locally stored CDDB entry
- Grab an audio track (or all the audio CD tracks) from your CD
- Normalize the volume of the individual file (or the album as a single unit)
- Compress to Ogg/Vorbis, MP3, FLAC, Ogg/Speex, MPP/MP+(Musepack) and/or M4A format(s), all in one CD read
- Comment or ID3/ID3v2 tag
- Give an intelligible filename
- Calculate replaygain values for the individual file (or the album as a single unit)
- Delete the intermediate WAV file (or save it for later use)
- Repeat until finished
Alternatively, abcde can also grab a CD and turn it into a single FLAC file with an embedded cuesheet which can be user later on as a source for other formats, and will be treated as if it was the original CD. In a way, abcde can take a compressed backup of your CD collection.
For most systems
If the CDROM you are reading from is not the standard /dev/cdrom (in GNU/Linux systems)
abcde -d /dev/cdrom2
Create both Ogg/Vorbis and Ogg/FLAC files.
abcde -o vorbis,flac
Pass "-b 192" to the Ogg/Vorbis encoder, without having to modify the config file
abcde -o vorbis:"-b 192"
For double+ CD settings: will create the 1st CD starting with the track number 101, and will add a comment "CD 1" to the tracks, the second starting with 201 and so on.
abcde -W 1
Extract the files contained in singletrack using the embedded cuesheet.
abcde -d singletrack.flac