qmlglsink plugin installation problem
Matthew Waters
ystreet00 at gmail.com
Fri Sep 16 13:00:59 UTC 2016
On 16/09/16 22:38, Ritesh Panchal wrote:
> 1. Did the ./configure output say it was going to build the qt plugin?
> ./configure output says qt under this
> configure: *** Plug-ins with dependencies that will be built:
> bz2
> dash
> decklink
> dtls
> dvb
> fbdevsink
> gl
> gtk
> hls
> qt
> shm
> smoothstreaming
> vcdsrc
> wayland
Good.
> 2. Do you have GST_PLUGIN_PATH pointing to /usr/local/lib/gstreamer-1.0 ?
> I think no. because "echo $GST_PLUGIN_PATH" output Blank
Right, so this is your issue. By default only system plugins are loaded
which are in /usr, not /usr/local. You need to add
/usr/local/lib/gstreamer-1.0 to GST_PLUGIN_PATH for GStreamer to
automatically find the qt plugin.
> 3. What happens when you run gst-inspect-1.0 on the plugin file directly?
> e.g gst-inspect-1.0 /usr/local/lib/gstreamer-1.0/libgstqmlgl.so
> gst-inspect-1.0 /usr/local/lib/gstreamer-1.0/libgstqmlgl.so
> Plugin Details:
> Name qt
> Description Qt gl plugin
> Filename /usr/local/lib/gstreamer-1.0/libgstqmlgl.so
> Version 1.8.3
> License LGPL
> Source module gst-plugins-bad
> Source release date 2016-08-19
> Binary package GStreamer Bad Plug-ins source release
> Origin URL Unknown package origin
>
> qmlglsink: Qt Video Sink
>
> 1 features:
> +-- 1 elements
Looks good.
> So i think its problem in PATH, Right?
> So Whats the default location where gstreamer plugin installed? I
> think its not /usr/local, right?
> So what should be the .configure command argument?
It's not a configure argument but rather an environment setup. When
building your own GStreamer packages you also need to setup the
necessary environment for GStreamer to find them correctly. If you're
building the same version as you already have installed and only
attempting to complement the installed packages, you can usually get
away with just adding paths to GST_PLUGIN_PATH. Anything more
complicated/involved requires setting up a full prefix/uninstalled
environment. e.g.
https://arunraghavan.net/2014/07/quick-start-guide-to-gst-uninstalled-1-x/
is a quick guide for setting up an uninstalled setup in your home
directory (or anywhere else) that can also be used for stable branches
(1.6, 1.8) with some slight modifications.
Cheers
-Matt
> On Friday 16 September 2016 06:00 PM, Matthew Waters wrote:
>> On 16/09/16 20:33, riteshSTPL wrote:
>>> I am using Gstreamer 1.8.3 on Ubuntu 16.04 with Qt 5.5.1. and
>>> qt-gstreamer
>>> 1.2.0.
>>> I want to use *qmlglsink* to preview gstreamer video on QML surface.
>>>
>>> I follwed below commands to install qmlglsink plugin
>>> git clone https://github.com/GStreamer/gst-plugins-bad
>>> cd gst-plugins-bad
>>> git checkout 1.8.3
>>> ./autogen.sh
>>> ./configure --prefix=/usr/local/
>>> make
>>> make install
>>>
>>> gst-inspect-1.0 gmlglsink
>>> No such element or plugin 'gmlglsink'
>>>
>>> But still i am not able to get this plugin.
>> 1. Did the ./configure output say it was going to build the qt plugin?
>> 2. Do you have GST_PLUGIN_PATH pointing to
>> /usr/local/lib/gstreamer-1.0 ?
>> 3. What happens when you run gst-inspect-1.0 on the plugin file
>> directly?
>> e.g gst-inspect-1.0 /usr/local/lib/gstreamer-1.0/libgstqmlgl.so
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 484 bytes
Desc: OpenPGP digital signature
URL: <https://lists.freedesktop.org/archives/gstreamer-devel/attachments/20160916/c389e92a/attachment.sig>
More information about the gstreamer-devel
mailing list