<html>
<head>
<meta content="text/html; charset=utf-8" http-equiv="Content-Type">
</head>
<body bgcolor="#FFFFFF" text="#000000">
<font face="Helvetica, Arial, sans-serif">Hi Patrick,<br>
<br>
You should have glupload in your plugins-bad, I have on my RPi2.
You could try my configure line:<br>
<br>
</font><font face="Helvetica, Arial, sans-serif">./configure
--disable-gtk-doc --disable-x11 --disable-glx --enable-egl
--enable-dispmanx CFLAGS="-I/opt/vc/include/EGL
-I/opt/vc/include/GLES -I/opt/vc/include/GLES2 -I/opt/vc/include
-I/opt/vc/include/interface/vcos/pthreads
-I/opt/vc/include/interface/vmcs_host/linux"
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 -I/opt/vc/include/EGL"<br>
<br>
I can also duplicate the OMX/EGLImage error with certain file
types/containers - I haven't solved that issue as yet.<br>
<br>
Regards,<br>
<br>
Dave.<br>
<br>
</font>
<div class="moz-cite-prefix">On 20/07/2016 3:08 AM, Patrick Fü
wrote:<br>
</div>
<blockquote
cite="mid:CAPr4S6GADdmqhiz7_EEbyQevdHBc=eoX8Vh+Tj26SWvyeb6B5A@mail.gmail.com"
type="cite">
<div dir="ltr"><br>
<div><br>
</div>
<div>Hey all, </div>
<div><br>
</div>
<div>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.</div>
<div><br>
</div>
<div>Could some one point me in the right direction so I can
test the latest gstreamer code on the RPI ? </div>
<div><br>
</div>
<div>What I did is the following: </div>
<div>+++++++++++++++++++++++++++++</div>
<div><br>
</div>
<div>
<div># first install gstreamer dependencies</div>
<div>apt install autoconf automake libtool bison flex
gtk-doc-tools python git</div>
<div><br>
</div>
<div><br>
</div>
<div># get the latest source code </div>
<div>for module in gstreamer orc gst-plugins-base
gst-plugins-good gst-plugins-bad gst-omx ; do</div>
<div> git clone git://<a moz-do-not-send="true"
href="http://anongit.freedesktop.org/git/gstreamer/$module">anongit.freedesktop.org/git/gstreamer/$module</a>
;</div>
<div>done</div>
<div><br>
</div>
<div>#compile gstreamer core</div>
<div>cd gstreamer</div>
<div>./autogen.sh</div>
<div>make -j3</div>
<div>make install </div>
<div><br>
</div>
<div># after we installed gstreamer to the default location</div>
<div># this helps plugins to find gstreamer</div>
<div>export PKG_CONFIG_PATH=/usr/local/lib/pkgconfig</div>
<div><br>
</div>
<div>cd ..</div>
<div>cd orc</div>
<div>./autogen.sh</div>
<div>make -j3</div>
<div>make install </div>
<div><br>
</div>
<div>cd ..</div>
<div>cd gst-plugins-base</div>
<div>./autogen.sh</div>
<div>./configure --enable-gtk-doc-html=no</div>
<div>make -j3</div>
<div>make install </div>
<div><br>
</div>
<div>cd ..</div>
<div>cd gst-plugins-good</div>
<div>./autogen.sh</div>
<div>./configure --enable-gtk-doc-html=no</div>
<div>make -j3</div>
<div>make install </div>
<div><br>
</div>
<div>cd ..</div>
<div>cd gst-plugins-bad</div>
<div>./autogen.sh</div>
<div>./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'</div>
<div>make -j3</div>
<div>make install </div>
<div><br>
</div>
<div>cd ..</div>
<div>cd gst-omx</div>
<div>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</div>
<div>make -j3</div>
<div>make install </div>
<div><br>
</div>
<div>export LD_LIBRARY_PATH=/usr/local/lib/</div>
<div>export GST_OMX_CONFIG_DIR=~/gst-omx/config/rpi/</div>
</div>
<div><br>
</div>
<div>+++++++++++++++++++++++</div>
<div><br>
</div>
<div>This results in different error while calling different
things: </div>
<div><br>
</div>
<div>calling: gst-inspect-1.0 glupload</div>
<div>results in:</div>
<div> (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</div>
<div>No such element or plugin 'glupload'</div>
<div><br>
</div>
<div>or calling: gst-launch-1.0 playbin
uri=<a class="moz-txt-link-freetext" href="file:///home/pi/fingers.mov">file:///home/pi/fingers.mov</a> </div>
<div>results in: </div>
<div>
<div>Setting pipeline to PAUSED ...</div>
<div>Pipeline is PREROLLING ...</div>
<div>error: XDG_RUNTIME_DIR not set in the environment.</div>
<div>WARNING: from element /GstWaylandSink:waylandsink0: Could
not initialise Wayland output</div>
<div>Additional debug info:</div>
<div>gstwaylandsink.c(288): gst_wayland_sink_find_display ():
/GstWaylandSink:waylandsink0:</div>
<div>Failed to create GstWlDisplay: 'Failed to connect to the
wayland display '(default)''</div>
<div>error: XDG_RUNTIME_DIR not set in the environment.</div>
<div>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</div>
<div>Pipeline is PREROLLED ...</div>
<div>Setting pipeline to PLAYING ...</div>
</div>
<div><br>
</div>
<div><br>
</div>
<div>Thanks for any help. </div>
<div><br>
</div>
<div>Best Patrick</div>
<div><br>
</div>
<div><br>
</div>
<div><br>
</div>
<div><br>
</div>
<div><br>
</div>
</div>
<br>
<fieldset class="mimeAttachmentHeader"></fieldset>
<br>
<pre wrap="">_______________________________________________
gstreamer-devel mailing list
<a class="moz-txt-link-abbreviated" href="mailto:gstreamer-devel@lists.freedesktop.org">gstreamer-devel@lists.freedesktop.org</a>
<a class="moz-txt-link-freetext" href="https://lists.freedesktop.org/mailman/listinfo/gstreamer-devel">https://lists.freedesktop.org/mailman/listinfo/gstreamer-devel</a>
</pre>
</blockquote>
<br>
</body>
</html>