This article explains how to use TI's DSP with GStreamer (e.g. on [[BeagleBoard|BeagleBoard]]). You need to have the DSP properly set up following [[BeagleBoard/DSP_Howto]].

+

+

This article explains how to use TI's OpenMAX-IL with GStreamer (e.g. on [[BeagleBoard]]).

+

+

[http://www.khronos.org/openmax/ OpenMAX IL] is a standardized API to communicate with multimedia codecs (implemented either in hardware or software).

+

+

[http://freedesktop.org/wiki/GstOpenMAX GstOpenMAX] is a GStreamer plug-in that allows communication with OpenMAX IL components.

= Setup =

= Setup =

+

+

As the TI's OMXIL is hardware accelerated by DSP, you need to have the DSP properly set up following the [[BeagleBoard/DSP_Howto|DSP howto]].

== OpenMAX IL ==

== OpenMAX IL ==

−

The easiest way to use the DSP capabilities is through the [http://www.khronos.org/openmax/ OpenMAX IL] API, but in order to compile TI's implementation a special DSP library is required.

+

The easiest way to use the DSP capabilities is through the OpenMAX IL API, but in order to compile TI's implementation a special DSP library is required.

=== libdspbridge ===

=== libdspbridge ===

−

git clone git://github.com/felipec/libdspbridge.git

+

''libdspbridge'' is a library which wraps up the ioctl calls to the dspbridge kernel driver. Originally it is in the [http://dev.omapzoom.org/?p=tidspbridge/userspace-dspbridge.git;a=summary userspace-dspbridge repository]. But it is bloated and its build process is over-complicated. That is why we have started a slimmed version of it.

−

cd libdspbridge

+

−

make DESTDIR='''rootfs''' install

+

git clone git://gitorious.org/vjaquez-beagleboard/libbridge.git

+

cd libbridge

+

git co -b mybranch 23.3.3

+

make DESTDIR=/media/rootfs install

=== libomxil-ti ===

=== libomxil-ti ===

−

git clone git://github.com/felipec/libomxil-ti.git

+

The original distribution of the TI's OpenMAX IL is in its [https://gforge.ti.com/gf/project/openmax/frs/ gforge site]. Nevertheless, its build process is overcomplicated. For that reason we started a repository which simplifies the build machinery, and also we are targeting a general code cleanup.

Contents

Setup

As the TI's OMXIL is hardware accelerated by DSP, you need to have the DSP properly set up following the DSP howto.

OpenMAX IL

The easiest way to use the DSP capabilities is through the OpenMAX IL API, but in order to compile TI's implementation a special DSP library is required.

libdspbridge

libdspbridge is a library which wraps up the ioctl calls to the dspbridge kernel driver. Originally it is in the userspace-dspbridge repository. But it is bloated and its build process is over-complicated. That is why we have started a slimmed version of it.

libomxil-ti

The original distribution of the TI's OpenMAX IL is in its gforge site. Nevertheless, its build process is overcomplicated. For that reason we started a repository which simplifies the build machinery, and also we are targeting a general code cleanup.