Difference between revisions of "HOWTO: Setup GST-OpenMAX on Fedora 17"

From CDOT Wiki
Jump to: navigation, search
(Created page with '=HOWTO: Setup GST-OpenMAX on Fedora 17= ==Introduction== This HOWTO will explain how to setup gst-openmax a GStreamer plugin that allows communication with OpenMAX IL components.…')
 
(HOWTO: Setup GST-OpenMAX on Fedora 17)
 
(4 intermediate revisions by the same user not shown)
Line 14: Line 14:
 
* omx_mp3dec
 
* omx_mp3dec
  
===Required Software===
+
===Required Packages===
 
* gstreamer-0.10
 
* gstreamer-0.10
* libomxil-bellagio-0.9.3
+
* libomxil-bellagio-0.9.3-7
  
 
==Downloads==
 
==Downloads==
* libomxil-bellagio-0.9.3 (RPM): http://www.mediafire.com/download.php?hs04bdflb034nnn
+
===Repositories===
* libomxil-bellagio-devel-0.9.3 (RPM): http://www.mediafire.com/download.php?r546d169g61zo3d
+
* rlawrence-repo (libomxil-bellagio repo): http://matrix.senecac.on.ca/~rlawrence5/repo/rlawrence-repo-0.1-1.fc17.x86_64.rpm
* gst-openmax-0.10.1 (RPM): https://docs.google.com/file/d/0B0THh1GbRWnAZ014cU84VGh2TXc/edit
+
* amartinenco-repo (gst-openmax repo): http://matrix.senecac.on.ca/~amartinenco/PACKAGES/f17/noarch/gstopenmax-release-0.10.1-1.fc17.noarch.rpm
 +
===RPMS===
 +
====libomxil-bellagio====
 +
* SRPM: http://matrix.senecac.on.ca/~rlawrence5/repo/libomxil-bellagio-0.9.3-7.fc17.src.rpm
 +
* RPM: http://matrix.senecac.on.ca/~rlawrence5/repo/libomxil-bellagio-0.9.3-7.fc17.x86_64.rpm
 +
* RPM-devel: http://matrix.senecac.on.ca/~rlawrence5/repo/libomxil-bellagio-devel-0.9.3-7.fc17.x86_64.rpm
 +
* RPM-test: http://matrix.senecac.on.ca/~rlawrence5/repo/libomxil-bellagio-test-0.9.3-7.fc17.x86_64.rpm
 +
* RPM-mad: http://www.mediafire.com/download.php?1j65gyyp9wdlywx
 +
* RPM-debuginfo: http://matrix.senecac.on.ca/~rlawrence5/repo/libomxil-bellagio-debuginfo-0.9.3-7.fc17.x86_64.rpm
 +
====gst-openmax====
 +
* SRPM: http://matrix.senecac.on.ca/~amartinenco/PACKAGES/f17/SRPM/gst-openmax-0.10.1-3.fc17.src.rpm
 +
* RPM: http://matrix.senecac.on.ca/~amartinenco/PACKAGES/f17/x86_64/gst-openmax-0.10.1-3.fc17.x86_64.rpm
 +
* RPM-devel: http://matrix.senecac.on.ca/~amartinenco/PACKAGES/f17/x86_64/gst-openmax-devel-0.10.1-3.fc17.x86_64.rpm
 +
* RPM-debuginfo: http://matrix.senecac.on.ca/~amartinenco/PACKAGES/f17/x86_64/gst-openmax-debuginfo-0.10.1-3.fc17.x86_64.rpm
 +
  
==Installing OpenMAX IL==
+
==Adding Repositories==
 +
* Add both repositories
 +
<pre>
 +
sudo rpm -Uvh http://matrix.senecac.on.ca/~rlawrence5/repo/rlawrence-repo-0.1-1.fc17.x86_64.rpm
 +
sudo rpm -Uvh http://matrix.senecac.on.ca/~amartinenco/PACKAGES/f17/noarch/gstopenmax-release-0.10.1-1.fc17.noarch.rpm
 +
</pre>
 +
 
 +
* Install missing libraries
 +
<pre>
 +
sudo yum install libmad libid3tag
 +
</pre>
 +
 
 +
==Installing OpenMAX IL & GST-OpenMAX==
 
* Install the RPM with the command below
 
* Install the RPM with the command below
 
<pre>
 
<pre>
rpm -i libomxil-bellagio-0.9.3-4.fc17.x86_64.rpm
+
sudo yum install libomxil-bellagio libomxil-bellagio-devel gst-openmax
rpm -i libomxil-bellagio-devel-0.9.3-4.fc17.x86_64.rpm
+
</pre>
 +
 
 +
* '''NOTE: Due to a file size restriction on matrix, we need to install libomxil-bellagio-mad manually!'''
 +
* Download the RPM from the download section and install the RPM with the command below
 +
<pre>
 +
sudo rpm -i libomxil-bellagio-mad-0.9.3-7.fc17.x86_64.rpm
 
</pre>
 
</pre>
  
==Installing GST-OpenMAX==
 
* Install the RPM with the command below
 
<pre> rpm -i gst-openmax-0.10.1-3.fc17.x86_64.rpm </pre>
 
  
 
==Using GST-OpenMAX==
 
==Using GST-OpenMAX==
===Loading the components====
+
===Loading the components===
 
* Register the omx libraries
 
* Register the omx libraries
 
<pre> omxregister-bellagio -v </pre>
 
<pre> omxregister-bellagio -v </pre>
Line 43: Line 71:
  
 
===Playing a mp3 file===
 
===Playing a mp3 file===
* Playing a MP3 file named "test.mp3" in our current directory
+
* Playing a mp3 file named "test.mp3" in our current directory
 
<pre> gst-launch-0.10 filesrc location="test.mp3" ! omx_mp3dec use-timestamps=false ! alsasink </pre>
 
<pre> gst-launch-0.10 filesrc location="test.mp3" ! omx_mp3dec use-timestamps=false ! alsasink </pre>
  

Latest revision as of 22:12, 8 December 2012

HOWTO: Setup GST-OpenMAX on Fedora 17

Introduction

This HOWTO will explain how to setup gst-openmax a GStreamer plugin that allows communication with OpenMAX IL components. As well as OpenMAX IL known as libomxil-bellagio a dependency for gst-openmax.

Requirements

Tested Platforms

  • Fedora 17

Supported Architectures

  • x86_64
  • ARM devices with an OMAP processor

Tested Codecs

  • omx_mp3dec

Required Packages

  • gstreamer-0.10
  • libomxil-bellagio-0.9.3-7

Downloads

Repositories

RPMS

libomxil-bellagio

gst-openmax


Adding Repositories

  • Add both repositories
sudo rpm -Uvh http://matrix.senecac.on.ca/~rlawrence5/repo/rlawrence-repo-0.1-1.fc17.x86_64.rpm
sudo rpm -Uvh http://matrix.senecac.on.ca/~amartinenco/PACKAGES/f17/noarch/gstopenmax-release-0.10.1-1.fc17.noarch.rpm
  • Install missing libraries
sudo yum install libmad libid3tag

Installing OpenMAX IL & GST-OpenMAX

  • Install the RPM with the command below
sudo yum install libomxil-bellagio libomxil-bellagio-devel gst-openmax
  • NOTE: Due to a file size restriction on matrix, we need to install libomxil-bellagio-mad manually!
  • Download the RPM from the download section and install the RPM with the command below
sudo rpm -i libomxil-bellagio-mad-0.9.3-7.fc17.x86_64.rpm


Using GST-OpenMAX

Loading the components

  • Register the omx libraries
 omxregister-bellagio -v 
  • Verify the components have been successfully installed
 gst-inspect | grep omx 

Playing a mp3 file

  • Playing a mp3 file named "test.mp3" in our current directory
 gst-launch-0.10 filesrc location="test.mp3" ! omx_mp3dec use-timestamps=false ! alsasink 

Known Issues/Concerns

  • When using gst-launch and a gst-openmax codec you may receive the warning below. It is safe to ignore this message, the upstream developer has been notified of the issue. This does not effect the functional of gst-openmax.
 OMX-library /usr/lib64/omxloaders/libomxdynamicloader.so dlopen error: /usr/lib64/omxloaders/libomxdynamicloader.so: undefined symbol: RM_Deinit