Fluendo mp3 decoder: Difference between revisions
(can't move journal download to filesystem) |
|||
Line 8: | Line 8: | ||
In order to download the codec you have to "buy" the Fluendo mp3 decoder from their store for $0.00 from [https://shop.fluendo.com/ here]. |
In order to download the codec you have to "buy" the Fluendo mp3 decoder from their store for $0.00 from [https://shop.fluendo.com/ here]. |
||
You will also need a web browser such as [[Opera]] that allows you to save files to the filesystem, instead of saving to the Journal. |
|||
You are then allowed to download the file '''fluendo-mp3-2.i386.tar.bz2''' |
You are then allowed to download the file '''fluendo-mp3-2.i386.tar.bz2''' |
Revision as of 08:31, 15 January 2008
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 will also need a web browser such as Opera that allows you to save files to the filesystem, instead of saving to the Journal.
You are then allowed to download the file fluendo-mp3-2.i386.tar.bz2
- But it's downloaded to the journal so that bzip2 can't access it. How do you move the downloaded file from the journal to the filesystem???
Unzip it with bunzip2 and tar, 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