Adding New GStreamer Plugin for Android
kkaran2010
karan.gandhi at einfochips.com
Wed May 18 12:38:44 UTC 2016
Hi,
I am trying to add new plugin (gstreamer-imx) for Android application but
still not able to compile application after adding plugin.
Steps I followed are :
https://github.com/Freescale/gstreamer-imx
<https://github.com/Freescale/gstreamer-imx> -> downloaded this git repo
and tried building it for Android with
"./waf configure --prefix=PREFIX --kernel-headers=KERNEL-HEADER-RPATH
*--build-for-android*"
And successfully compiled and generated Libraries
build/src/common/libgstimxcommon.a and build/src/vpu/libgstimxvpu.a as I
need only decoder plugin, I have added build/src/vpu/libgstimxvpu.a and
build/src/vpu/libgstimxvpu.la to *GSTREAMER-SDK/libs/gstreamer-1.0/static*
and build/src/common/libgstimxcommon.a and
build/src/common/libgstimxcommon.la to *GSTREAMER-SDK/libs* and includes to
*GSTREAMER-SDK/include* and added *imxvpu *to
*GSTREAMER-SDK/share/gst-android/ndk-build/plugin.mk* file and modified my
Android.mk file accordingly but when I fire android-ndk-r9b/ndk-build
command, I am getting
android-ndk-r9b/toolchains/arm-linux-androideabi-4.6/prebuilt/linux-x86_64/bin/../lib/gcc/arm-linux-androideabi/4.6/../../../../arm-linux-androideabi/bin/ld.gold:
gst-build-armeabi/gstreamer_android.o: in function
gst_android_register_static_plugins:gstreamer_android.c(.text.gst_android_register_static_plugins+0x4c):
error: undefined reference to 'gst_plugin_imxvpu_register' this error.
Am I doing something wrong? Please guide.
And anyone is having exact steps to add new GStreamer plugin for Android
then please share.
Thanks,
Karan
--
View this message in context: http://gstreamer-devel.966125.n4.nabble.com/Adding-New-GStreamer-Plugin-for-Android-tp4677653.html
Sent from the GStreamer-devel mailing list archive at Nabble.com.
More information about the gstreamer-devel
mailing list