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 Support 
  Rank:		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.

Comments:

[Trackback] Bookmarked your post over at Blog Bookmarker.com!

Posted by directory on September 08, 2008 at 01: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 03: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 05:53 AM GMT #

This is awesome!! Thanks!

Posted by Angad Singh on October 12, 2008 at 09:32 AM GMT #

[Trackback] I recently installed the last  release candidate version of OpenSolaris 2008.11 (ISO image available from here) and I am happy to note that the audiohd driver now supports the Intel soundchip (82891H) in my Lenovo Thinkpad T61 out of the box! This...

Posted by Lenz Grimmer's blog on November 12, 2008 at 06:25 AM 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 07:53 AM GMT #

Great. That works for me!
Thanks.
Dominique

Posted by Dominique Merle on December 13, 2008 at 04:24 AM GMT #

great, now i have mp3 support on opensolaris 2008.11
Thanks

Posted by Jeronimo Martinez on January 01, 2009 at 01: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 10:40 AM GMT #

[Trackback] Bookmarked your post over at Blog Bookmarker.com!

Posted by Warhammer Online Power Leveling on March 11, 2009 at 11:40 PM GMT #

It still works 2014. Thank you.Probably the only way to listen mp3 on solaris

Posted by guest on April 16, 2014 at 02:46 PM GMT #

Post a Comment:
  • HTML Syntax: NOT allowed
About

The Observatory is a blog for users of Oracle Solaris. Tune in here for tips, tricks and more as we explore the Solaris operating system from Oracle.

Connect with Oracle Solaris:


Search

Archives
« April 2014
SunMonTueWedThuFriSat
  
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
20
21
22
23
24
25
26
27
28
29
30
   
       
Today