[gst-devel] First Plugin - Compiling and installation

Ionut Dediu deionut at yahoo.com
Fri Mar 7 10:49:46 CET 2008


Thanks a lot guys, export GST_PLUGIN_PATH=/usr/local/lib/gstreamer-0.10/ did the trick. I still have a question about the registry.CPU.xml file under ~/gstreamer-0.10. What is his purpose? It should list all the installed plugins, and since my make install rule executed successfully I would expected to add the plugin in the registry, but obviously this was not the case.

Thanks again,

Tim Müller <t.i.m at zen.co.uk> wrote: On Fri, 2008-03-07 at 00:13 -0800, Ionut Dediu wrote:

> I am trying to get started with GStreamer plugin devel. I wrote a basic
>  plugin, based on the gst-template plugin. I compiled and installed it
>  with autogen.sh make and make install from the top directory. All
>  steps seem to be successful. However I want to inspect it using
>  gst-inspect mypluginname, but it gives me the following error: No such
>  element or plugin 'mypluginname'...

Chances are that the default prefix (/usr/local/) was used, so your
plugin got installed into /usr/local/lib/gstreamer-0.10/, while you're
using GStreamer packages which usually go into the /usr prefix and will
only look in /usr/lib/gstreamer-0.10/ for plugins.

You could try

 a) copying the plugin .so into ~/.gstreamer-0.10/plugins/
 b) use export GST_PLUGIN_PATH=/usr/local/lib/gstreamer-0.10/
 c) re-run autogen.sh or configure with --prefix=/usr (not recommended)


This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2008.
gstreamer-devel mailing list
gstreamer-devel at lists.sourceforge.net

Be a better friend, newshound, and know-it-all with Yahoo! Mobile.  Try it now.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.freedesktop.org/archives/gstreamer-devel/attachments/20080307/ffcb9620/attachment.htm>

More information about the gstreamer-devel mailing list