GStreamer will not recognize my plugin
David Ing
ding at panopto.com
Tue Oct 22 15:18:22 UTC 2019
Another option is to set an environment variable GST_PLUGIN_PATH which
points to a folder where your plugins are stored. Sorry I didn't notify
you a day earlier.
On Tue, Oct 22, 2019 at 7:42 AM William Johnston <wgj at cast.uark.edu> wrote:
> Well OK. This is lame, but for the record the problem was that I was
> putting it in the wrong directory. While there are a lot of libgst*.so
> files in /usr/lib/x86_64-linux-gnu the place it actually needed to be
> was in /usr/lib/x86_64-linux-gnu/gstreamer-1.0. Yeah, that cost me a
> day. LOL
>
> On 10/21/2019 4:43 PM, 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?
> >
> >
> >
> > --
> > 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
> _______________________________________________
> gstreamer-devel mailing list
> gstreamer-devel at lists.freedesktop.org
> https://lists.freedesktop.org/mailman/listinfo/gstreamer-devel
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.freedesktop.org/archives/gstreamer-devel/attachments/20191022/6539e8ec/attachment.html>
More information about the gstreamer-devel
mailing list