<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">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=file:///home/pi/fingers.mov </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>