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/ _______________________________________________ gstreamer-devel mailing list [hidden email] https://lists.freedesktop.org/mailman/listinfo/gstreamer-devel |
Le sam. 6 juill. 2019 20 h 40, xargs <[hidden email]> a écrit : I've built Qt 5.12.4 from source and GStreamer from git. My goal is 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.
_______________________________________________ gstreamer-devel mailing list [hidden email] https://lists.freedesktop.org/mailman/listinfo/gstreamer-devel |
Success! Thank you so much.
$ rm .cache/gstreamer-1.0/registry.aarch64.bin $ gst-inspect-1.0 qmlgl 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 qmlglsrc: Qt Video Source qmlglsink: Qt Video Sink 2 features: +-- 2 elements -- Sent from: http://gstreamer-devel.966125.n4.nabble.com/ _______________________________________________ gstreamer-devel mailing list [hidden email] https://lists.freedesktop.org/mailman/listinfo/gstreamer-devel |
Free forum by Nabble | Edit this page |