<div dir="ltr"><br><div><br></div><div>Hey Dave, </div><div><br></div><div>thanks for the hint. I got it to work now. the problem were the wrong configure flags. I used the same one as you suggested. </div><div><br></div><div>cheers, patrick</div><div><br></div><div><br></div></div><div class="gmail_extra"><br><div class="gmail_quote">2016-07-21 9:47 GMT+02:00 Digits <span dir="ltr"><<a href="mailto:info@digits.tv" target="_blank">info@digits.tv</a>></span>:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
<div 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><div class="h5">
<div>On 20/07/2016 3:08 AM, Patrick Fü
wrote:<br>
</div>
</div></div><blockquote type="cite"><div><div class="h5">
<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 href="http://anongit.freedesktop.org/git/gstreamer/$module" target="_blank">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>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></fieldset>
<br>
</div></div><pre>_______________________________________________
gstreamer-devel mailing list
<a href="mailto:gstreamer-devel@lists.freedesktop.org" target="_blank">gstreamer-devel@lists.freedesktop.org</a>
<a href="https://lists.freedesktop.org/mailman/listinfo/gstreamer-devel" target="_blank">https://lists.freedesktop.org/mailman/listinfo/gstreamer-devel</a>
</pre>
</blockquote>
<br>
</div>
<br>_______________________________________________<br>
gstreamer-devel mailing list<br>
<a href="mailto:gstreamer-devel@lists.freedesktop.org">gstreamer-devel@lists.freedesktop.org</a><br>
<a href="https://lists.freedesktop.org/mailman/listinfo/gstreamer-devel" rel="noreferrer" target="_blank">https://lists.freedesktop.org/mailman/listinfo/gstreamer-devel</a><br>
<br></blockquote></div><br></div>