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 _______________________________________________ gstreamer-devel mailing list [hidden email] https://lists.freedesktop.org/mailman/listinfo/gstreamer-devel |
Hi Patrick,
You should have glupload in your plugins-bad, I have on my RPi2. You could try my configure line: ./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" I can also duplicate the OMX/EGLImage error with certain file types/containers - I haven't solved that issue as yet. Regards, Dave. On 20/07/2016 3:08 AM, Patrick Fü
wrote:
_______________________________________________ gstreamer-devel mailing list [hidden email] https://lists.freedesktop.org/mailman/listinfo/gstreamer-devel |
Hey Dave, 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. cheers, patrick 2016-07-21 9:47 GMT+02:00 Digits <[hidden email]>:
_______________________________________________ gstreamer-devel mailing list [hidden email] https://lists.freedesktop.org/mailman/listinfo/gstreamer-devel |
Free forum by Nabble | Edit this page |