Android camera access

Lee Matthews lma at spaceapplications.com
Tue May 27 04:19:47 PDT 2014


Ok, I got around the issue by deleting eglglessink from the gstreamer-1.0-android-arm-1.2.4.1-debug/share/gst-android/ndk-build/plugins.mk file.

Lee

----- Original Message -----
From: "Lee Matthews" <lma at spaceapplications.com>
To: "Discussion of the development of and with GStreamer" <gstreamer-devel at lists.freedesktop.org>
Sent: Tuesday, 27 May, 2014 12:51:07 PM
Subject: Re: Android camera access

Thanks for the diff. I haven't quite got it working yet. I have compiled using Cerberos :

gst-plugins-bad-1.0-static - 1.3
gst-plugins-base-1.0-static - 1.3
gst-plugins-good-1.0-static - 1.3
gst-plugins-ugly-1.0-static - 1.3
gstreamer-1.0 - 1.3
gstreamer-1.0-static - 1.3

But when I try using ndk-build, I get the following :

lma at lma-Precision-T1650:~/Android/gstreamer$ ndk-build 
Android NDK: WARNING: APP_PLATFORM android-19 is larger than android:minSdkVersion 9 in ./AndroidManifest.xml    
GStreamer      : [GEN] => gst-build-armeabi/gstreamer_android.c
GStreamer      : [COMPILE] => gst-build-armeabi/gstreamer_android.c
GStreamer      : [LINK] => gst-build-armeabi/libgstreamer_android.so
/home/lma/Development/adt-bundle-linux-x86_64-20131030/ndk/toolchains/arm-linux-androideabi-4.6/prebuilt/linux-x86_64/bin/../lib/gcc/arm-linux-androideabi/4.6/../../../../arm-linux-androideabi/bin/ld.gold: error: cannot find -lgsteglglessink
/home/lma/Development/adt-bundle-linux-x86_64-20131030/ndk/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+0x50): error: undefined reference to 'gst_plugin_eglglessink_register'
collect2: ld returned 1 exit status
make: *** [buildsharedlibrary_armeabi] Error 1


--

Cerbero does not seem to build libgsteglglessink.a, am I missing something ?

Cheers
Lee

--
Yes, see the attached (hackish) diff for enabling the v4l2 plugin
everywhere. You can also easily get this by setting the v4l2 variant in
your cerbero config.

-- 
Sebastian Dröge, Centricular Ltd - http://www.centricular.com
Expertise, Straight from the Source

_______________________________________________
gstreamer-devel mailing list
gstreamer-devel at lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/gstreamer-devel
_______________________________________________
gstreamer-devel mailing list
gstreamer-devel at lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/gstreamer-devel


More information about the gstreamer-devel mailing list