What's the meaning of 'blacklisted' on GStreamer? What's the meaning of 'blacklisted' on GStreamer? linux linux

What's the meaning of 'blacklisted' on GStreamer?


if you want to know for sure why these plugins are blacklisted, you can remove "registry.dat" (run locate to find out its location), then rerun gst-inspect , the plugins will be examined once again and the reason for blacklisting them should be printed.

There can be several reasons why they are blacklisted, if you do this you should find them out.

Alternatively, you can also run gst-inspect location_of_the_dynamic_library.so


For gstreamer 1.8 gst-inspect-1.0 need to be launcged with additional GST_DEBUG=4 env var to view detailed reason (incompatible version in my case):

GST_DEBUG=4 gst-inspect-1.0  /usr/lib/aarch64-linux-gnu/gstreamer-1.0/libgst_some_plugin.so
...15-20 lines with non-interesting details...0:00:00.035553207  4287     0x29f93c00 WARN      GST_PLUGIN_LOADING gstplugin.c:485:gst_plugin_register_func: plugin "/usr/lib/aarch64-linux-gnu/gstreamer-1.0/libgst_some_plugin.so" has incompatible version (plugin: 1.10, gst: 1,8), not loadingCould not load plugin file: File "/usr/lib/aarch64-linux-gnu/gstreamer-1.0/libgst_some_plugin.so" appears to be a GStreamer plugin, but it failed to initialize


In my case it was blacklisted as I have built kvssink which have dependencies on other libraries. And GStreamer doesn't found them.

It was like that:

gst-inspect-1.0 kvssink(gst-plugin-scanner:22): GStreamer-WARNING **: 13:07:28.097: Failed to load plugin '/root/bin/producer/libgstkvssink.so': libproducer.so: cannot open shared object file: No such file or directory(gst-plugin-scanner:22): GStreamer-WARNING **: 13:07:28.204: Failed to load plugin '/root/bin/producer/libproducer.so': libcproducer.so: cannot open shared object file: No such file or directory

To confirm libraries issue I've used ldd

ldd libgstkvssink.so

Which will list all dependencies with paths were they may be found in system.my libraries libcproducer.so and libcproducer.so were not found.

Based on path pritned for other visible libraries

    linux-vdso.so.1 (0x00007ffc3c1a6000)libgstreamer-1.0.so.0 => /usr/lib/x86_64-linux-gnu/libgstreamer-1.0.so.0 (0x00007f064d24d000)

I just copied missing libraries to /usr/lib/x86_64-linux-gnu/In my case it was:

cp libcproducer.so  /usr/lib/x86_64-linux-gnu/cp libproducer.so /usr/lib/x86_64-linux-gnu/

And than:

gst-inspect-1.0 kvssink

prints plugin details.

I've resolved that thanks to information in this thread:Linking against external libraries in gstreamer plugin using autotools