gst-plugins-bad in android

Sebastian Dröge sebastian.droege at collabora.co.uk
Tue Jan 15 04:39:25 PST 2013


On Mo, 2013-01-14 at 22:31 +0000, Luis Linietsky wrote:
> Hi, 
> I'm testing gstreamer with it's tutorial5 for Android and I am trying
> to build it with the gst-plugins-bad library because I need hlsdemux. 
> However, I don't know how to link this library. I Already downloaded
> it from it's git repository and included the
> gst-plugins-bad/Android.mk file into the Tutorial5/jni/Android.mk,
> however, I can't get hlsdemux to work, I keep getting the following
> output:
> 
> luigi at Fender:~/workspace/Tutorial5$ ndk-build 
> GStreamer      : [GEN] => gst-build/gstreamer_android.c
> GStreamer      : [COMPILE] => gst-build/gstreamer_android.c
> GStreamer      : [LINK] => gst-build/libgstreamer_android.so
> /home/luigi/projects/android-ndk-r8d/toolchains/arm-linux-androideabi-4.6/prebuilt/linux-x86/bin/../lib/gcc/arm-linux-androideabi/4.6/../../../../arm-linux-androideabi/bin/ld.gold: error: cannot find -lgsthlsdemux
> /home/luigi/projects/android-ndk-r8d/toolchains/arm-linux-androideabi-4.6/prebuilt/linux-x86/bin/../lib/gcc/arm-linux-androideabi/4.6/../../../../arm-linux-androideabi/bin/ld.gold: gst-build/gstreamer_android.o: in function gst_android_register_static_plugins:gstreamer_android.c(.text+0x174): error: undefined reference to 'gst_plugin_hlsdemux_register'
> collect2: ld returned 1 exit status
> make: *** [buildsharedlibrary] Error 1
> 
> 
> I realize this might be a beginers question, butI am not completely
> sure about how to "add" this plugins library. Could anybody tell me
> how to add hlsdemux into android ?

What's your Android.mk ? The plugin name of the HLS demuxer is
"fragmented" (as it is planned to also contain elements for DASH/Smooth
Streaming/etc in the future).

-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 198 bytes
Desc: This is a digitally signed message part
URL: <http://lists.freedesktop.org/archives/gstreamer-android/attachments/20130115/a0c738c7/attachment.pgp>


More information about the gstreamer-android mailing list