How to provide a custom plugin to gstreamer in Android ?

Andoni Morales ylatuya at gmail.com
Tue Mar 12 13:27:38 PDT 2013


El 12/03/2013 21:23, "Andoni Morales" <ylatuya at gmail.com> escribió:
>
>
> El 11/03/2013 12:10, <stic at free.fr> escribió:
>
> >
> > Hello,
> >
> > in the case I am trying to create a custom gstreamer plugin, how can I
provide it to gstreamer in Android app ?
> > I didn't find how to provide a custom plugin to Android gstreamer.
Gstreamer finds only plugins already available in the GST SDK.
> > I even tried to add the static library of custom plugin in the same
path as the standard plugins (GSTREAMER_SDK_ROOT/lib/gstreamer-0.10/static)
but I always have the following message when trying to provide the plugin :
error: undefined reference to 'gst_plugin_testplugin_register'
> > (where testplugin is the name of my plugin)
> >
> You will also need to create a libtool library for it in this directory
(eg: libgsttestplugin.la) to help the linker find and link your plugin. And
you must compile your plugin with -DGST_PLUGIN_STATIC_BUILD in your CFLAGS.

And use GST_PLUGIN_DEFINE2. It is something we should document :)
Andoni
> Andoni
>
> > Thanks a lot for any help :)
> > _______________________________________________
> > gstreamer-android mailing list
> > gstreamer-android at lists.freedesktop.org
> > http://lists.freedesktop.org/mailman/listinfo/gstreamer-android
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.freedesktop.org/archives/gstreamer-android/attachments/20130312/765d614e/attachment.html>


More information about the gstreamer-android mailing list