Device Provider not found

Nicolas Dufresne nicolas at ndufresne.ca
Tue Feb 23 16:49:58 UTC 2021


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
> https://lists.freedesktop.org/mailman/listinfo/gstreamer-devel




More information about the gstreamer-devel mailing list