BeagleBoard/gst-dsp

From eLinux.org
< BeagleBoard
Revision as of 18:48, 13 August 2010 by Ceyusa (Talk | contribs) (See also)

Jump to: navigation, search


Texas Instruments provides DSP algorithms for the OMAP 3 platform used in a number of devices like BeagleBoard and N900.

The gst-dsp project aims to provide GStreamer elements to take advantage of those algorithms. The list includes video/image decoders and encoders.

Unlike other similar projects there are no dependencies (no openmax, no libdspbridge).

The features include:

  • video decoding (MPEG-4, H.263, H.264)
  • video encoding (MPEG-4, H.263)
  • image encoding (JPEG)
  • zero-copy

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

Setup

Follow carefully the DSP howto, and ensure that the TI's DSP binaries are properly installed.

GStreamer

Install GStreamer for your board.

If your cross compilation environment doesn't provide it, you can follow this generic recipe: How to compile for embedded.

gst-dsp

Then, using your preferred cross compilation environment, checkout and compile the project.

git clone git://github.com/felipec/gst-dsp.git
cd gst-dsp
make
make install DESTDIR=/media/rootfs

gst-omapfb

In order to display the video playback through the DVI interface, you should also install gst-omapfb.

Testing

gst-launch playbin2 uri=file:///big_buck_bunny_480p_surround-fix.avi

See also