Linux distro's while they ship gstreamer pre-built do not always ship all the plugins. I needed to use qmlglsink with a particular version of Qt.
Took awhile to figure this one out. The solution is here (thanks to jackersson for the initial script):
https://gist.github.com/damiandixon/3e93ddb575bce40e59bd6d76984696b6
The main change to the script is:
|
|
QT_LOC=/opt/Qt/5.11.1/gcc_64 |
PATH=$QT_LOC/bin:$PATH |
LD_LIBRARY_PATH=$QT_LOC/lib:$LD_LIBRARY_PATH |
PKG_CONFIG_PATH=$QT_LOC/lib/pkgconfig:$PKG_CONFIG_PATH |
./autogen.sh --disable-gtk-doc --enable-qt |
The result of a successful build is: user@Laptop:/usr/local/bin$ ./gst-inspect-1.0 qmlglsink Factory Details: Rank none (0) Long-name Qt Video Sink Klass Sink/Video Description A video sink that renders to a QQuickItem Author Matthew Waters <matthew@centricular.com> Plugin Details: Name qmlgl Description Qt gl plugin Filename /usr/local/lib/gstreamer-1.0/libgstqmlgl.so Version 1.14.2 License LGPL Source module gst-plugins-good Source release date 2018-07-20 Binary package GStreamer Good Plug-ins source release Origin URL Unknown package origin |
Comments
Post a Comment