Device Provider not found
Edgar Thier
edgar.thier at theimagingsource.com
Thu Feb 25 13:46:14 UTC 2021
I am still not sure why the example device provider does not work.
I tried an own build similar to V4L2DeviceProvider. That works and is recognized.
It has problems with the probe function when using gst-device-monitor.
Not sure what to do about that as device_added is correctly triggered.
________________________________
From: gstreamer-devel <gstreamer-devel-bounces at lists.freedesktop.org> on behalf of Nicolas Dufresne <nicolas at ndufresne.ca>
Sent: Wednesday, February 24, 2021 16:29
To: Discussion of the development of and with GStreamer <gstreamer-devel at lists.freedesktop.org>
Subject: Re: Device Provider not found
Le mer. 24 févr. 2021 02 h 00, Edgar Thier <edgar.thier at theimagingsource.com<mailto:edgar.thier at theimagingsource.com>> a écrit :
The GST_PLUGIN_PATH_1_0 should not be the problem. Other elements in the same folder are found...
Let's check the basic, does you plugin filename properly matches your plugin name ?
________________________________
From: gstreamer-devel <gstreamer-devel-bounces at lists.freedesktop.org<mailto:gstreamer-devel-bounces at lists.freedesktop.org>> on behalf of Nicolas Dufresne <nicolas at ndufresne.ca<mailto:nicolas at ndufresne.ca>>
Sent: Tuesday, February 23, 2021 17:51
To: Discussion of the development of and with GStreamer <gstreamer-devel at lists.freedesktop.org<mailto:gstreamer-devel at lists.freedesktop.org>>
Subject: Re: Device Provider not found
Please ignored, I have totally miss-read this email.
Your built provider might not be in the plugins path.
Le mardi 23 février 2021 à 11:49 -0500, Nicolas Dufresne a écrit :
> Le mardi 23 février 2021 à 14:22 +0000, Edgar Thier a écrit :
> > Hi,
> >
> > When compiling the example device provider I am unable to receive messages
> > concerning any non v4l2 devices.
> > In fact the exampledeviceprovider is not even loaded according to debug
> > output.
>
> You are likely missing libgudev, which the provider depends on. When you build
> gst-plugins-good, you can pass -Dv4l2-gudev=enabled to ensure the build will
> fail if that dependency is missing.
>
> >
> > Source for exampledeviceprovider:
> > https://gitlab.freedesktop.org/gstreamer/gst-plugins-base/-/blob/master/tests/examples/device-provider/example-device-provider.c
> >
> > Cut output when running tests with `--gst-debug-level=4`. These are the only
> > provider loaded.
> >
> > 0:00:00.023405484 54897 0x55cb43d0d6c0 INFO GST_PLUGIN_LOADING
> > gstplugin.c:915:_priv_gst_plugin_load_file_for_registry: plugin
> > "/usr/lib/x86_64-linux-gnu/gstreamer-1.0/libgstdecklink.so" loaded
> > 0:00:00.023421645 54897 0x55cb43d0d6c0 INFO GST_DEVICE_PROVIDER_FACTORY
> > gstdeviceproviderfactory.c:271:gst_device_provider_factory_get: getting
> > device
> > provider "decklinkdeviceprovider"
> > 0:00:00.025626598 54897 0x55cb43d0d6c0 INFO GST_PLUGIN_LOADING
> > gstplugin.c:915:_priv_gst_plugin_load_file_for_registry: plugin
> > "/usr/lib/x86_64-linux-gnu/gstreamer-1.0/libgstvideo4linux2.so" loaded
> > 0:00:00.025642919 54897 0x55cb43d0d6c0 INFO GST_DEVICE_PROVIDER_FACTORY
> > gstdeviceproviderfactory.c:271:gst_device_provider_factory_get: getting
> > device
> > provider "v4l2deviceprovider"
> >
> > System is a Debian testing with GStreamer 1.18.3.
> >
> > Are there any additional ways to get information as to why my custom
> > provider
> > is not used?
> >
> > -Edgar
> > _______________________________________________
> > gstreamer-devel mailing list
> > gstreamer-devel at lists.freedesktop.org<mailto:gstreamer-devel at lists.freedesktop.org>
> > https://lists.freedesktop.org/mailman/listinfo/gstreamer-devel
>
>
_______________________________________________
gstreamer-devel mailing list
gstreamer-devel at lists.freedesktop.org<mailto:gstreamer-devel at lists.freedesktop.org>
https://lists.freedesktop.org/mailman/listinfo/gstreamer-devel
_______________________________________________
gstreamer-devel mailing list
gstreamer-devel at lists.freedesktop.org<mailto: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/20210225/8eb3e6c2/attachment-0001.htm>
More information about the gstreamer-devel
mailing list