How to provide a custom plugin to gstreamer in Android ?
Andoni Morales
ylatuya at gmail.com
Sat Mar 16 13:23:39 PDT 2013
2013/3/14 Jacques Bride <jacques.bride at gmail.com>:
> Hello
>
> Similar to your message, a colleague and I are trying to add a custom plugin
> to the gstreamer-sdk for Android.
> - we built with success the sdk (package gstreamer-sdk) with cerbero and
> cross-android.cbc on Ubuntu1204 (we had to remove the package
> "video-editing" in gstreamer-sdk.package since the gnonlin source code could
> not be correctly fetch by git today (could not understand why))
> - we added a directory with our code in the plugins-bad/gst directory with
> is Makefile.am.
> - we added a static recipe in the recipe folder and added our recipe in the
> plugin-bad recipe
>
> Anyway we are still not done and we we are a bit stuck on how to progress.
> Any hint?
I am on vacations and I can't reply with all the details as I would
like :) I'll be back on Monday and I will try to document all the
steps correctly.
Cheers,
Andoni
> Thanks
>
>
>
> 2013/3/13 <stic at free.fr>
>
>> I tried using -DGST_PLUGIN_STATIC_BUILD in CFLAGS, and using
>> GST_PLUGIN_DEFINE2.
>> But it still does not work for me, always same error when trying to use
>> the plugin: undefined reference to 'gst_plugin_testplugin_register'.
>> Do I have to build the plugin using Cerbero or can I compile plugin with
>> GST SDK release ?
>>
>> Thank you
>>
>> 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
>>
>> _______________________________________________
>> gstreamer-android mailing list
>> gstreamer-android at lists.freedesktop.org
>> http://lists.freedesktop.org/mailman/listinfo/gstreamer-android
>> _______________________________________________
>> gstreamer-android mailing list
>> gstreamer-android at lists.freedesktop.org
>> http://lists.freedesktop.org/mailman/listinfo/gstreamer-android
>
>
>
> _______________________________________________
> gstreamer-android mailing list
> gstreamer-android at lists.freedesktop.org
> http://lists.freedesktop.org/mailman/listinfo/gstreamer-android
>
--
Andoni Morales Alastruey
LongoMatch:The Digital Coach
http://www.longomatch.ylatuya.es
More information about the gstreamer-devel
mailing list