Static plugins

classic Classic list List threaded Threaded
2 messages Options
Reply | Threaded
Open this post in threaded view
|

Static plugins

zhiqiang
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

Total count: 1 plugin, 2 features

only 1 plugin

Why are other static plugins not inspected?

Your prompt reply will be much appreciated.


_______________________________________________
gstreamer-devel mailing list
[hidden email]
https://lists.freedesktop.org/mailman/listinfo/gstreamer-devel
Reply | Threaded
Open this post in threaded view
|

Re: Static plugins

Nicolas Dufresne-5
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
> [hidden email]
> _______________________________________________
> 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