HOWTO: Setup GST-OpenMAX on Fedora 17

From CDOT Wiki
Revision as of 10:58, 4 December 2012 by Ryan Lawrence (talk | contribs) (HOWTO: Setup GST-OpenMAX on Fedora 17)
Jump to: navigation, search

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 Software

  • gstreamer-0.10
  • libomxil-bellagio-0.9.3

Downloads

Installing Dependencies

  • Add RPMFusion repositories to our system
sudo rpm -Uvh http://download1.rpmfusion.org/free/fedora/rpmfusion-free-release-stable.noarch.rpm
sudo rpm -Uvh http://download1.rpmfusion.org/nonfree/fedora/rpmfusion-nonfree-release-stable.noarch.rpm
  • Install missing libraries
sudo yum install libmad libid3tag

Installing OpenMAX IL

  • Install the RPM with the command below
sudo rpm -i libomxil-bellagio-0.9.3-4.fc17.x86_64.rpm
sudo rpm -i libomxil-bellagio-devel-0.9.3-4.fc17.x86_64.rpm

Installing GST-OpenMAX

  • Install the RPM with the command below
 sudo rpm -i gst-openmax-0.10.1-3.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