TomMitchell
Posts: 6
Joined: Thu Dec 29, 2016 12:16 pm

How to install gstreamer gst-omx on Raspbian Jessie lite ?

Fri Jan 06, 2017 12:07 pm

I want to use OpenGLES without the X11 window system.
On the Jessie lite platform the gstreamer test pipeline halts when I use omxmjpegdec.

I have an application working on a RPI3 with "Jessie Raspbian with Pixel" version installed.
On this platform I just installed gstreamer-1.0 via the repository and everything works fine.
(I think I only had to manually change the links to the correct libEGL.so.2 and libGLESv2.so.2.)

To install on Jessie lite I have followed this guide: I got all the sources via git and compiled them.
Ref: https://lists.freedesktop.org/archives/ ... 00724.html

Compiling was ok.
When I do gst-inspect-1.0 omxmjpegdec the plugin works and shows info.

When I do a test pipeline the pipeline halts and no video is shown.
gst-launch-1.0 -v souphttpsrc location=<URL> is-live=true ! image/jpeg,framerate=25/1 ! jpegparse ! omxmjpegdec ! videoconvert ! videoscale ! autovideosink

When I replace omxmjpegdec by jpegdec the pipeline works ok and video is displayed.
gst-launch-1.0 -v souphttpsrc location=<URL> is-live=true ! image/jpeg,framerate=25/1 ! jpegparse ! jpegdec ! videoconvert ! videoscale ! autovideosink

I have tried to install on a Jessie lite via the repository but the installation halts because dpkg fails on a dependency.

Does anyone know what I am doing wrong / any suggestions ?

Best Regards,
Tom

6by9
Raspberry Pi Engineer & Forum Moderator
Raspberry Pi Engineer & Forum Moderator
Posts: 9069
Joined: Wed Dec 04, 2013 11:27 am
Location: ZZ9 Plural Z Alpha, aka just outside Cambridge.

Re: How to install gstreamer gst-omx on Raspbian Jessie lite

Fri Jan 06, 2017 3:18 pm

Software Engineer at Raspberry Pi Trading. Views expressed are still personal views.
I'm not interested in doing contracts for bespoke functionality - please don't ask.

TomMitchell
Posts: 6
Joined: Thu Dec 29, 2016 12:16 pm

Re: How to install gstreamer gst-omx on Raspbian Jessie lite

Fri Jan 06, 2017 6:59 pm

Hello,

I am not sure if it is a gst-omx problem or problem with some dependency.
The one in the post you refer to is an older version than my working version.

My versions are:

This one that is not working (On Jessie Lite):
Name omx
Description GStreamer OpenMAX Plug-ins
Filename /usr/local/lib/gstreamer-1.0/libgstomx.so
Version 1.11.0.1
License LGPL
Source module gst-omx
Source release date 2017-01-05 18:28 (UTC)
Binary package GStreamer OpenMAX Plug-ins git
Origin URL Unknown package origin


This one that works ok (on Jessie with Pixel):
Name omx
Description GStreamer OpenMAX Plug-ins
Filename /usr/lib/arm-linux-gnueabihf/gstreamer-1.0/libgstomx.so
Version 1.0.0.1
License LGPL
Source module gst-omx
Source release date 2015-11-11 17:35 (UTC)
Binary package GStreamer OpenMAX Plug-ins git
Origin URL Unknown package origin


I have tried to compile the old one but I get undefined references because of the newer versions of the gstreamer and it's plugins.

Regards,
Tom

Return to “Graphics, sound and multimedia”