Problems with qmlgl plugin
Nicolas Dufresne
nicolas at ndufresne.ca
Sun Jul 7 00:54:20 UTC 2019
Le sam. 6 juill. 2019 20 h 40, xargs <gstreamer at xargs.com> a écrit :
> 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?
>
That is strange, have you considered removing the registry cache ? Maybe
you have some clock/timestamp glitchs ? It happens sometimes on system that
does not have a persistent RTC.
>
>
>
> --
> Sent from: http://gstreamer-devel.966125.n4.nabble.com/
> _______________________________________________
> gstreamer-devel mailing list
> gstreamer-devel at lists.freedesktop.org
> https://lists.freedesktop.org/mailman/listinfo/gstreamer-devel
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.freedesktop.org/archives/gstreamer-devel/attachments/20190706/c63b04fd/attachment.html>
More information about the gstreamer-devel
mailing list