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.
Source for exampledeviceprovider:
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 [hidden email] https://lists.freedesktop.org/mailman/listinfo/gstreamer-devel |
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 > [hidden email] > https://lists.freedesktop.org/mailman/listinfo/gstreamer-devel _______________________________________________ gstreamer-devel mailing list [hidden email] https://lists.freedesktop.org/mailman/listinfo/gstreamer-devel |
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 > > [hidden email] > > https://lists.freedesktop.org/mailman/listinfo/gstreamer-devel > > _______________________________________________ gstreamer-devel mailing list [hidden email] https://lists.freedesktop.org/mailman/listinfo/gstreamer-devel |
The GST_PLUGIN_PATH_1_0 should not be the problem. Other elements in the same folder are found...
From: gstreamer-devel <[hidden email]> on behalf of Nicolas Dufresne <[hidden email]>
Sent: Tuesday, February 23, 2021 17:51 To: Discussion of the development of and with GStreamer <[hidden email]> 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 > > [hidden email] > > https://lists.freedesktop.org/mailman/listinfo/gstreamer-devel > > _______________________________________________ gstreamer-devel mailing list [hidden email] https://lists.freedesktop.org/mailman/listinfo/gstreamer-devel _______________________________________________ gstreamer-devel mailing list [hidden email] https://lists.freedesktop.org/mailman/listinfo/gstreamer-devel |
Le mer. 24 févr. 2021 02 h 00, Edgar Thier <[hidden email]> a écrit :
Let's check the basic, does you plugin filename properly matches your plugin name ?
_______________________________________________ gstreamer-devel mailing list [hidden email] https://lists.freedesktop.org/mailman/listinfo/gstreamer-devel |
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 <[hidden email]> on behalf of Nicolas Dufresne <[hidden email]>
Sent: Wednesday, February 24, 2021 16:29 To: Discussion of the development of and with GStreamer <[hidden email]> Subject: Re: Device Provider not found Le mer. 24 févr. 2021 02 h 00, Edgar Thier <[hidden email]> a écrit :
Let's check the basic, does you plugin filename properly matches your plugin name ?
_______________________________________________ gstreamer-devel mailing list [hidden email] https://lists.freedesktop.org/mailman/listinfo/gstreamer-devel |
Free forum by Nabble | Edit this page |