Monday, November 23, 2009

Ripping CDs in Linux with Rhythmbox

I'm a little particular about my LAME MP3 encoder settings. I really like the size/quality tradeoff of '--preset standard'. I used to install and configure Grip but since I use Rhythmbox for everything else, I figured it was time to get the GStreamer backend to do what I want.

My first step was finding the preset code for gstreamer. Run 'gst-inspect lame'. The last section specifies the codes for the preset keyword, In this case, 1001 equates to standard.

Now I just needed to edit the gstreamer pipeline in rhythmbox. Here's the pipeline I'm using: audio/x-raw-int,rate=44100,channels=2 ! lame name=enc preset=1001 ! xingmux ! id3v2mux

Note that you need gstreamer-plugins-ugly installed (rpmfusion has it) for lame and xingmux to be available.