Difference between revisions of "RPM Packaging and support for OpenMAX"
(→Functional Codecs) |
(→GStreamer with GST-OpenMax) |
||
Line 39: | Line 39: | ||
*Build and install | *Build and install | ||
− | *NOTE: Run make as a normal user and make install as root (sudo) | + | **NOTE: Run make as a normal user and make install as root (sudo) |
<pre> | <pre> | ||
make | make | ||
Line 61: | Line 61: | ||
*Register omx codecs | *Register omx codecs | ||
− | *NOTE: This command must be run by the user who complied the package | + | **NOTE: This command must be run by the user who complied the package |
<pre> | <pre> | ||
~/omx/bin/omxregister-bellagio -v | ~/omx/bin/omxregister-bellagio -v |
Revision as of 21:55, 24 November 2012
Contents
GStreamer with GST-OpenMax
Introduction
This how-to will describe how to setup and use gst-openmax a GStreamer plug-in that allows communication with OpenMAX IL components. OpenMAX IL is an industry standard that provides an abstraction layer for computer graphics, video, and sound routines.
Requirements
Tested Platforms
Supported Architectures
- x86_64
- ARM devices with a OMAP processor (Tested on Pandaboard with OMAP 4430)
Required Software
- gstreamer (Included in every Fedora installation)
Downloads
Functional Codecs
- omx_mp3dec
Building OpenMAX IL
- Download the source code to a temporary directory
mkdir -p /tmp/omx cd /tmp/omx wget http://downloads.sourceforge.net/omxil/libomxil-bellagio-0.9.0.tar.gz
- Extract the tarball
tar -xvf libomxil-bellagio-0.9.0.tar.gz cd liboxmil-bellagio-0.9.0
- Configure the package setting the location to our home directory
./configure --prefix=$HOME/omx
- Build and install
- NOTE: Run make as a normal user and make install as root (sudo)
make make install
Installing GST-OpenMAX
- Download the latest RPM from the download section.
- Install the RPM using the command below:
rpm -i gst-openmax-0.2.rpm
Using GST-OpenMAX
Setting the environment
- Set the location to our libraries
export GST_PLUGIN_PATH="$HOME/omx/lib/gstreamer-0.10" export LD_LIBRARY_PATH="$HOME/omx/lib"
- Register omx codecs
- NOTE: This command must be run by the user who complied the package
~/omx/bin/omxregister-bellagio -v
- Check if the codecs have been successfully loaded
gst-inspect | grep omx
Playing a song
- Playing a mp3 file "test.mp3"
gst-launch-0.10 filesrc location="test.mp3" ! omx_mp3dec use-timestamps=false ! audioconvert ! alsasink
FAQs
- Will there be support for Fedora 18?
- We are currently attempting to build our package on the F18 platform but have run into some issues getting our testing environment setup.
Errors
- (gst-launch-0.10:18996): WARNING **: libomxil-bellagio.so.0: cannot open shared object file: No such file or directory
- You did not set the location to the libraries, refer to Setting the environment
- (gst-plugin-scanner:18985): WARNING **: could not find config file '/home/ryan/.config/gst-openmax.conf'.. using defaults!
- You did not install OpenMAX IL, refer to Building OpenMAX IL