Difference between revisions of "BeagleBoard/gst-openmax"
(→gst-openmax: Use omap branch!) |
(→gst-openmax: Remove stuff that's not needed any more) |
||
Line 31: | Line 31: | ||
./configure --prefix=/usr | ./configure --prefix=/usr | ||
make DESTDIR='''rootfs''' install | make DESTDIR='''rootfs''' install | ||
− | |||
− | |||
= Related stuff = | = Related stuff = |
Revision as of 12:44, 6 May 2009
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 BeagleBoard/DSP_Howto.
Contents
Setup
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
git clone git://github.com/felipec/libdspbridge.git cd libdspbridge make DESTDIR=rootfs install
libomxil-ti
git clone git://github.com/felipec/libomxil-ti.git cd libomxil-ti make BRIDGE_CFLAGS=-I../libdspbridge/inc BRIDGE_LIBS=-L../libdspbridge/lib DESTDIR=rootfs install
gst-openmax
You would need to compile gst-openmax inside scratchbox:
git clone git://github.com/felipec/gst-openmax.git cd gst-openmax git checkout -b omap origin/omap ./autogen.sh --noconfigure ./configure --prefix=/usr make DESTDIR=rootfs install
Related stuff
In order to get the omapfb usable for video playback you need this kernel argument:
video=omapfb:vram:2M,vram:4M
And the GStreamer element:
git clone git://github.com/felipec/gst-omapfb.git cd gst-omapfb make DESTDIR=rootfs install
Running
You should be able to use the gst-openmax elements now:
gst-launch-0.10 filesrc location="foobar.avi" ! avidemux ! omx_mpeg4dec ! omapfbsink