HOWTO: Setup GST-OpenMAX on Fedora 17

From CDOT Wiki
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 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