Rocode >> Hobbies >> CDRipping

Ripping and Tagging CDs

This page details how I ripped cds and then tagged them using free software and the free cd database.

I used imgburn on Microsoft Windows to rip the cds. I then converted the output to individual tagged files on Ubuntu Linux.


Imgburn Ripping

imgburn is available for free on the web via: http://imgburn.com/

Insert your cd to the Windows computer and start imgburn.

I am using the cd "ABBA Waterloo" for this example

Select "Create image file from disc"

Select "IMG Files (*img)" and enter your given filename

NOTE: You should give a meaningful name here as this can be used if the free cd database lookup fails.

Press the rip from disc to file icon at the bottom

The disc is being ripped

The ripping has finished successfully

This creates two files:

I archive these files and it does not matter if you lose the original CD.


Windows to Linux Transfer

Use your favourite application to move the .img and .cue file to Linux


Tagging

I have created a script on Linux to extract each track and tagged them with details from the free cd database.

convertimg.sh

My script uses flac, bchunk and jack.

Install them using the privileged account:

Software installation on Ubuntu Linux

I wanted .flac files not .ogg so I changed the default in /etc/jackrc

I changed the default of 'oggenc' to 'flac' in /etc/jackrc

I have copied the .img and .cue files to the same folder as convertimg.sh

Now execute convertimg.sh with the prefix of ABBAWaterloo including the "." at end.

NOTE: this can be easily done using command completion with the TAB key!

convertimg.sh with the prefix of ABBAWaterloo

bchunk extracts out the tracks

Each track is converted from .wav to .flac by flac

jack retrieves the track information from the free cd database

When the disc can't be found I use the album prefix for the files with the track number.

I move the resulting .flac files to an archive folder. i.e. ../ripped/

Repeat this process for each album.

For some albums jack will prompt you to select the correct album from a list.