[gst-devel] gtreamer+plugin

Tim-Philipp Müller t.i.m at zen.co.uk
Fri Jan 16 14:40:17 CET 2009


On Fri, 2009-01-16 at 16:52 +0530, vaisakh.n wrote:

> Can i  add a new plugin( which is completly new not written under open 
> source category ) to gstreamer...

That depends on what you want/need. There is nothing special about such
a plugin. It works just like with any other plugin, only that you would
specify "Proprietary" as license in the license field and not e.g.
"LGPL".

> how can i do that??
> help me
> is there any specific API 's in gstreamer???
> ??

You have two options:

1. If you want to make the plugin available to all GStreamer
applications, you need to make sure it gets installed into the right
plugin directory. This is no different from any other plugin module.

2. If the plugin is specific to an application of yours, there is no
need to install it system-wide - you can simply ship it as part of your
application binary and register it as 'static plugin' just after you
call gst_init(). See gst_plugin_register_static(). I'm sure you can find
an example somewhere if you look for it.

Cheers
 -Tim

PS: one question mark is usually sufficient





More information about the gstreamer-devel mailing list