adding custom plugin for gstreamer pipeline for android

Andoni Morales ylatuya at gmail.com
Fri Sep 13 02:03:52 PDT 2013


2013/9/11 yoyosuper8 <yoyosuper8 at yahoo.com>

> So I am using the tutorial-3 project created by GStreamer for Android. I
> want
> to include a custom plugin (testplugin.h and testplugin.c), so that I can
> add it to the gst_parser_launch() pipeline.
> Can someone please help me out? I'm not sure how to begin or what to do
> exactly. If someone knows of a sample project somewhere that I can take a
> look, that would be great too.
> Btw, I'm new to JNI and GStreamer. Any help would be appreciated.
>

Hi,

The simplest way to use custom plugins is including the source code of your
Android project and register the plugin with:
  gst_element_register (plugin, "foodemux", GST_RANK_PRIMARY,
GST_TYPE_FOO_DEMUX);

Cheers,
Andoni

>
> Andy
>
>
>
> --
> View this message in context:
> http://gstreamer-devel.966125.n4.nabble.com/adding-custom-plugin-for-gstreamer-pipeline-for-android-tp4661958.html
> Sent from the GStreamer-devel mailing list archive at Nabble.com.
> _______________________________________________
> gstreamer-devel mailing list
> gstreamer-devel at lists.freedesktop.org
> http://lists.freedesktop.org/mailman/listinfo/gstreamer-devel
>



-- 
Andoni Morales Alastruey

LongoMatch:The Digital Coach
http://www.longomatch.ylatuya.es
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.freedesktop.org/archives/gstreamer-devel/attachments/20130913/e05c7210/attachment-0001.html>


More information about the gstreamer-devel mailing list