Monday, November 23, 2009

GStreamer Codecs on Moblin v2.1

Works perfect! The only thing I did different is I used whatever was the newest version of the package I was downloading (i.e. gst-plugins-good-0.10.17 vs 16). Otherwise works very well. The only thing that doesn't seem to work is the preview images when browsing through files with the File Browser app.



English translation:

1) Install dependencies:
sudo yum install bison flex gcc make diffutils glib2-devel pango-devel cairo-devel liboil-devel alsa-lib-devel libtheora-devel libvorbis-devel libogg-devel

2) Download gstreamer sources:
Go to http://gstreamer.freedesktop.org/src and download the following packages:

· Gstreamer-0.10.25.tar.gz
· Gst-plugins-base-0.10.25.tar.gz
· Gst-plugins-good-0.10.16.tar.gz
· Gst-plugins-bad-0.10.16.tar.gz
· Gst-plugins-ugly-0.10.16.tar.gz
· Gst-ffmpeg-0.10.9.tar.gz

***In order to streamline this process I ran the following command:
wget http://gstreamer.freedesktop.org/src/gstreamer/gstreamer-0.10.25.tar.gz http://gstreamer.freedesktop.org/src/gst-plugins-base/gst-plugins-base-0.10.25.tar.gz http://gstreamer.freedesktop.org/src/gst-plugins-good/gst-plugins-good-0.10.17.tar.gz http://gstreamer.freedesktop.org/src/gst-plugins-bad/gst-plugins-bad-0.10.17.tar.gz http://gstreamer.freedesktop.org/src/gst-plugins-ugly/gst-plugins-ugly-0.10.13.tar.gz http://gstreamer.freedesktop.org/src/gst-ffmpeg/gst-ffmpeg-0.10.9.tar.gz

Once downloaded, extract all files. We will be 6 folders, each with the source code of each package.

3) Enter the folder first package (gstreamer) and execute:
. / configure - prefix = / usr
** here I also ran make clean first
make
sudo make install

4) Repeat these three steps in the base folder, good, bad, ugly and ffmpeg.

5) That's it. For some reason it did not work until I rebooted, but now plays videos and mp3 perfectly.

2 comments:

Unknown said...

Any chance for a step by step for idots?
My last unix experiance was a shell account before Mozilla came out and I have found the way Linux developers reinvent the wheel all the time to be what keeps me from using it. Moblin looks OK ( A standard but a bit rought in the UI, Not made for the power user on the go and the UI has some things I have no need for but can not remove.) but like you I a least need codec/container support.(Or Smplayer)

Unknown said...

yeah, same here, i just dont know what to enter into the config usr thingy..
could you post an example?