This is the archive for July 2006. Recent posts can be found at the main blog page.

Converting Flac to Ogg Vorbis

Some of my digital music is in the lossless Flac format, which is way too large to carry around on my laptop. I use the following GStreamer magic to convert the Flac files (other types work too with this pipeline) to high quality Ogg Vorbis files:

for file in *.flac; do gst-launch-0.10 filesrc location="$file" ! decodebin ! audioconvert ! vorbisenc quality=0.8 ! oggmux ! filesink location="$file.ogg"; done;
rename 's/.flac.ogg/.ogg/' *.flac.ogg

I’m just blogging this because otherwise I’ll forget how to do this when I need it again…

Update: Yes, I know that oggenc -q8 *.ogg does basically the same, but oggenc won’t preserve ID3v2 tags on Flac files (people do this, don’t ask me why), while the GStreamer pipeline seems to preserve the metadata just fine.

GNOME Foundation member

My application for the Gnome Foundation has been accepted. My name appears on the Membership List and I’ve already sent a request for a gnome.org mail address. My Gnome geekiness is official!

Alternative main menu

After seeing the demo at the Novell Code 10 launch party last week, I decided to try the new ‘Computer’ applet Novell uses as their main Gnome panel menu and the ‘Application Browser’. The source code can be found in the slab module of Gnome CVS and I had no problems compiling the thing. (Update: the module name in CVS is now called gnome-main-menu.)

The computer menu

The computer menu

Overall I’m quite impressed, it certainly looks good for a first version. Some random comments: