GStreamer will not recognize my plugin

Philippe Normand phil at base-art.net
Tue Oct 22 10:11:47 UTC 2019


On Mon, 2019-10-21 at 16:43 -0500, William wrote:
> So I'm trying to write a plugin and seemed to have tripped over the
> starting
> line. I have read in the docs that I should use gst-element-maker to
> create
> a basic template for a plugin. So I give it a try:
> 
> ./gst-element-maker myplugin382 basetransform
> 
> So not only did that create the .h and .c files, it also creates the
> .so
> library file gstmyplugin382.so.
> Wow, cool. So now I only have to copy the gstmyplugin382.so into the
> directory where all the other gst-plugins reside and GStreamer will
> magically see recognize it. Excellent! And so I copied
> gstmyplugin382.so to
> /usr/lib/x86_64-linux-gnu and ran gst-inspect-1.0. But no joy. It
> doesn't
> work. 
> I have spent the day trying slight variations, searching the internet
> for
> solutions, and trying out different suggestions. And still no joy. 
> Was this supposed to work? Am I missing a step? How is GStreamer
> supposed to
> recognize plugins?

The plugin name needs to match the lib.so name. If your plugin is named
"foo", the lib file should be named "libgstfoo.so".

Philippe
> 
> 
> 
> --
> Sent from: http://gstreamer-devel.966125.n4.nabble.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