Static plugins

Nicolas Dufresne nicolas at ndufresne.ca
Wed Apr 15 14:19:30 UTC 2020


Le mardi 14 avril 2020 à 11:17 +0800, zhiqiang a écrit :
> Hi,
> I tried to use static plugins of GStreamer.
> Build step:
> Gstreamer: configure --enable-static --enable-static-plugins --disable-shared
> plugin-base: configure --enable-static --enable-static-plugins --disable-shared
> plugin-ugly: configure --enable-static --enable-static-plugins --disable-shared
> 
> After make and make install.
> I can find .a and .la under /usr/local/lib/gstreamer-1.0
> 
> when using gst-inspect-1.0 to inspect plugins:
> staticelements:  bin: Generic bin
> staticelements:  pipeline: Pipeline object

Static only plugins cannot be inspected unless they are statically
linked into your app and initialized (see GST_PLUGIN_STATIC_DECLARE()
and GST_PLUGIN_STATIC_REGISTER()). No plugins a directly linked into
gst-inspect-1.0 or other tools, so only dynamic plugins can be listed.

There is a new libgstreamer-full library that can be generated using
gst-build and meson that may offer some of the functionality you are
looking for. This is quite early and this is not released yet.

> 
> Total count: 1 plugin, 2 features
> 
> only 1 plugin
> 
> Why are other static plugins not inspected?
> 
> Your prompt reply will be much appreciated.
> 
>  	
> zhiqiang
> zhiqiang at multicorewareinc.com
> _______________________________________________
> 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