Playing Your mp3s with Songbird
Songbird is the open source equivalent to iTunes. It's built on top of Mozilla, giving it the same extendability as Firefox. However, OpenSolaris doesn't ship with an mp3 codec, so before you can enjoy your music with Songbird, you first need to solve the missing codec problem. In this blog entry I'll walk you through both steps.
Fluendo
The folks at Fluendo are one of the key contributors to the GStreamer open source multimedia framework. One of the products they "sell for free" is the Fluendo MP3 Decoder. I use the term "sell for free" because to get the decoder, you need to register with the Fluendo Web Shop, add the mp3 decoder to your cart and work through the checkout process.When you get to the Download page, click the mp3 icon in the center to download the codec:

When you make your way to the download page, get the package for Solaris i386 and save the decoder to your Desktop. The list isn't long, but in the screen capture below I've filtered it for i386 archictures:

Now open a terminal and unzip the archive:
bunzip2 Desktop/fluendo-mp3-4.solaris-intel.tar.bz2
Then extract the archive:
tar -xf Desktop/fluendo-mp3-4.solaris-intel.tar -C Desktop/
Copy the mp3 codec to the GStreamer plugins directory:
pfexec cp Desktop/codecs/libgstflump3dec.so /usr/lib/gstreamer-0.10/Then run the gst-inspect utility to verify the installation:
bleonard@opensolaris:~$ gst-inspect flump3dec Factory Details: Long name: Fluendo MP3 Decoder (C build) Class: Codec/Decoder/Audio Description: Decodes MPEG-1 Layer 1, 2 and 3 streams to raw audio frames Author(s): Fluendo SupportRank: primary (256) Plugin Details: Name: flump3dec Description: Fluendo MP3 decoder Filename: /usr/lib/gstreamer-0.10/libgstflump3dec.so Version: 0.10.8 License: unknown Source module: gst-fluendo-mp3 Binary package: Fluendo MP3 Decoder Origin URL: http://www.fluendo.com ...
Songbird
As of OpenSolaris 2008.11, Songbird is available in the IPS repository:
bleonard@opensolaris:~$ pfexec pkg install SUNWsongbird DOWNLOAD PKGS FILES XFER (MB) Completed 1/1 504/504 21.55/21.55 PHASE ACTIONS Install Phase 601/601 PHASE ITEMS Reading Existing Index 9/9 Indexing Packages 1/1
After the installation, you will now find Songbird under the Sound & Video Applications menu:

Start Songbird and enjoy.
Posted by directory on September 08, 2008 at 08:36 PM GMT #
Which version of OpenSolaris was this on? because defect 561: http://defect.opensolaris.org/bz/show_bug.cgi?id=561
Add's the extra step of symlinking to libgcc_s.so.1:
ln -s /usr/sfw/lib/libgcc_s.so.1 /usr/lib/libgcc_s.so.1
Posted by Che Kristo on September 09, 2008 at 10:32 AM GMT #
This was done on 2008.05, snv_86. I was also surprised I didn't hit that bug. I did notice that the Fluendo codec is dated 2008-08-27, so possibly they've released an updated version (0.10.8) which works around that issue?
Posted by Brian Leonard on September 09, 2008 at 12:53 PM GMT #
This is awesome!! Thanks!
Posted by Angad Singh on October 12, 2008 at 04:32 PM GMT #
Posted by Lenz Grimmer's blog on November 12, 2008 at 02:25 PM GMT #
Also note, with OpenSolaris 2008.11 RC1, songbird is now available in the IPS repository. You'll still need the MP3 codec, however.
Posted by Brian Leonard on November 12, 2008 at 03:53 PM GMT #
Great. That works for me!
Thanks.
Dominique
Posted by Dominique Merle on December 13, 2008 at 12:24 PM GMT #
great, now i have mp3 support on opensolaris 2008.11
Thanks
Posted by Jeronimo Martinez on January 01, 2009 at 09:36 PM GMT #
Thanks my friend,
that was exactly what I need
It works fine for me.
Regards,
Posted by mahboop on February 05, 2009 at 06:40 PM GMT #
[Trackback] Bookmarked your post over at Blog Bookmarker.com!
Posted by Warhammer Online Power Leveling on March 12, 2009 at 06:40 AM GMT #