Lates Gstreamer on Raspberry PI
Patrick Fü
pat.fuerst at gmail.com
Tue Jul 19 17:38:08 UTC 2016
Hey all,
I'm trying to compile the latest Gstreamer (including plugins) on a
Raspberry Pi3 running Rasbian. The compiling almost worked without any
problems but now some error while trying to start a player give me some
headache.
Could some one point me in the right direction so I can test the latest
gstreamer code on the RPI ?
What I did is the following:
+++++++++++++++++++++++++++++
# first install gstreamer dependencies
apt install autoconf automake libtool bison flex gtk-doc-tools python git
# get the latest source code
for module in gstreamer orc gst-plugins-base gst-plugins-good
gst-plugins-bad gst-omx ; do
git clone git://anongit.freedesktop.org/git/gstreamer/$module ;
done
#compile gstreamer core
cd gstreamer
./autogen.sh
make -j3
make install
# after we installed gstreamer to the default location
# this helps plugins to find gstreamer
export PKG_CONFIG_PATH=/usr/local/lib/pkgconfig
cd ..
cd orc
./autogen.sh
make -j3
make install
cd ..
cd gst-plugins-base
./autogen.sh
./configure --enable-gtk-doc-html=no
make -j3
make install
cd ..
cd gst-plugins-good
./autogen.sh
./configure --enable-gtk-doc-html=no
make -j3
make install
cd ..
cd gst-plugins-bad
./autogen.sh
./configure --enable-gtk-doc-html=no --enable-gles2=yes
LDFLAGS='-L/opt/vc/lib' CPPFLAGS='-I/opt/vc/include
-I/opt/vc/include/interface/vcos/pthreads
-I/opt/vc/include/interface/vmcs_host/linux'
make -j3
make install
cd ..
cd gst-omx
LDFLAGS='-L/opt/vc/lib' CPPFLAGS='-I/opt/vc/include -I/opt/vc/include/IL
-I/opt/vc/include/interface/vcos/pthreads
-I/opt/vc/include/interface/vmcs_host/linux' ./autogen.sh
--with-omx-target=rpi --enable-gtk-doc-html=no
make -j3
make install
export LD_LIBRARY_PATH=/usr/local/lib/
export GST_OMX_CONFIG_DIR=~/gst-omx/config/rpi/
+++++++++++++++++++++++
This results in different error while calling different things:
calling: gst-inspect-1.0 glupload
results in:
(gst-plugin-scanner:22741): GStreamer-WARNING **: Failed to load plugin
'/usr/local/lib/gstreamer-1.0/libgstopengl.so': /opt/vc/lib/libEGL.so:
undefined symbol: glDiscardFramebufferEXT
No such element or plugin 'glupload'
or calling: gst-launch-1.0 playbin uri=file:///home/pi/fingers.mov
results in:
Setting pipeline to PAUSED ...
Pipeline is PREROLLING ...
error: XDG_RUNTIME_DIR not set in the environment.
WARNING: from element /GstWaylandSink:waylandsink0: Could not initialise
Wayland output
Additional debug info:
gstwaylandsink.c(288): gst_wayland_sink_find_display ():
/GstWaylandSink:waylandsink0:
Failed to create GstWlDisplay: 'Failed to connect to the wayland display
'(default)''
error: XDG_RUNTIME_DIR not set in the environment.
0:00:00.317756845 22762 0x73d028c0 ERROR omxvideodec
gstomxvideodec.c:974:gst_omx_video_dec_reconfigure_output_port:<omxh264dec-omxh264dec0>
Failed to negotiate RGBA for EGLImage
Pipeline is PREROLLED ...
Setting pipeline to PLAYING ...
Thanks for any help.
Best Patrick
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.freedesktop.org/archives/gstreamer-devel/attachments/20160719/866c61a0/attachment.html>
More information about the gstreamer-devel
mailing list