I tried playing videos on Raspbian stretch with gstreamer but failed. I started installing gst-omx and tried the following pipelines:
gst-launch-1.0 videotestsrc ! videoconvert ! glimagesink
-> ERROR: from element /GstPipeline:pipeline0/GstGLImageSinkBin:glimagesinkbin0/GstGLImageSink:sink: Failed to connect to X display server
gst-launch-1.0 --gst-debug=3 uridecodebin uri=file:///opt/test/file.mp4 ! autovideosink
and
gst-launch-1.0 --gst-debug=3 playbin uri=file:///opt/test/file.mp4
-> gldisplay gstgldisplay_x11.c:88:gst_gl_display_x11_new: Failed to open X11 display connection with name, '(null)'
It seems like GStreamer
is looking for an X display server. But I don't want to use one.
Did anyone get it running on a Raspbian Stretch? It seemed to work on Wheezy.