Problems with qmlgl plugin

xargs gstreamer at xargs.com
Sun Jul 7 00:29:51 UTC 2019


I've built Qt 5.12.4 from source and GStreamer from git.  My goal is
to be able to display video in a Qt application with the qmlgl
GStreamer plugin.  I've built this successfully on an x86 Ubuntu
platform, but when I build it on an ARM Ubuntu platform (Firefly), it
all builds successfully, but gst-inspect cannot find the qmlgl plugin,
while all other plugins are working as expected.

Qt and GStreamer are installed in their default locations (/usr/local)

Running ldd on libgstqmlgl.so returns no errors.

$ set | grep PATH

GST_PLUGIN_PATH=/usr/local/lib/gstreamer-1.0
GST_PLUGIN_SYSTEM_PATH_1_0=/usr/local/lib/gstreamer-1.0
LD_LIBRARY_PATH=/usr/local/lib:/usr/local/Qt-5.12.4/lib:/usr/local/lib/gstreamer-1.0
PATH=/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin

$ gst-inspect-1.0 qmlgl
No such element or plugin 'qmlgl'

$ ls -l /usr/local/lib/gstreamer-1.0/libgstqmlgl.so
-rwxr-xr-x 1 root root 2209752 Jul  5 12:38
/usr/local/lib/gstreamer-1.0/libgstqmlgl.so

gst-inspect-1.0 --gst-plugin-path=/usr/local/lib/gstreamer-1.0  qmlgl
No such element or plugin 'qmlgl'

Specifying the path to the plugin gives the expected results:

$ gst-inspect-1.0 /usr/local/lib/gstreamer-1.0/libgstqmlgl.so

Plugin Details:
  Name                     qmlgl
  Description              Qt gl plugin
  Filename                 /usr/local/lib/gstreamer-1.0/libgstqmlgl.so
  Version                  1.17.0.1
  License                  LGPL
  Source module            gst-plugins-good
  Source release date      2019-07-05 04:34 (UTC)
  Binary package           GStreamer Good Plug-ins git
  Origin URL               Unknown package origin

  qmlglsink: Qt Video Sink
  qmlglsrc: Qt Video Source

  2 features:
  +-- 2 elements

Any other plugin also gives the expected results without the path:

$ gst-inspect-1.0 png

Plugin Details:
  Name                     png
  Description              PNG plugin library
  Filename                 /usr/local/lib/gstreamer-1.0/libgstpng.so
  Version                  1.17.0.1
  License                  LGPL
  Source module            gst-plugins-good
  Source release date      2019-07-05 04:34 (UTC)
  Binary package           GStreamer Good Plug-ins git
  Origin URL               Unknown package origin

  pngdec: PNG image decoder
  pngenc: PNG image encoder

  2 features:
  +-- 2 elements

Does anyone have any ideas?




--
Sent from: http://gstreamer-devel.966125.n4.nabble.com/


More information about the gstreamer-devel mailing list