Fluendo mp3 decoder: Difference between revisions

From OLPC
Jump to navigation Jump to search
mNo edit summary
(playback of mp3 from command line)
Line 23: Line 23:


Unless this command reports back 'No such element or plugin 'flump3dec' the plugin should be sucessfully installed and you should have access to playing back MP3 files using GStreamer applications.
Unless this command reports back 'No such element or plugin 'flump3dec' the plugin should be sucessfully installed and you should have access to playing back MP3 files using GStreamer applications.

== To playback a file ==

gst-launch-0.10 playbin uri=file:///path/to/file.mp3

Revision as of 21:05, 2 January 2008

This page describes third-party software that does not meet the OLPC standards for software freedom. The use of such software is unsupported; OLPC does not endorse or encourage its use.

The majority of podcasts are made available as mp3 files, which cannot be viewed by the OLPC by default. To enable mp3 playback, an extra codec has to be installed.

Fluendo has made available a free (as in beer) codec, with a free (as in speech) implementation with a paid up license for the Gstreamer code framework. This requires execution of a license agreement for redistribution; unfortunately, the agreement does not permit sub-licensing, so while including it would be convenient and OLPC may choose to execute this agreement in the future, those redistributing our software would still have to execute this agreement to legally redistribute the codec.

Installation

In order to download the codec you have to "buy" the Fluendo mp3 decoder from their store for $0.00 from here.

You are then allowed to download the file fluendo-mp3-2.i386.tar.bz2

Unzip it, then copy the libgstflump3dec.so file into

$HOME/.gstreamer-0.10/plugins

on your local system.

If you have root access you can instead copy it to

/usr/lib/gstreamer-0.10

If you use this second position then the plugin will be available to any user logging into this machine.

Once it is copied over, verify that gstreamer recognises the plugin by doing a 'gst-inspect-0.10 flump3dec'.

Unless this command reports back 'No such element or plugin 'flump3dec' the plugin should be sucessfully installed and you should have access to playing back MP3 files using GStreamer applications.

To playback a file

gst-launch-0.10 playbin uri=file:///path/to/file.mp3