gst-plugins-bad in android

Luis Linietsky llinietsky at dlatv.net
Mon Jan 14 14:31:10 PST 2013


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, but I am not completely sure about how to "add" this plugins library. Could anybody tell me how to add hlsdemux into android ?

Thanks !

This email and its contents (including any attachments) are being sent to you on condition of confidentiality and may be protected by legal privilege.  Disclosure to anyone other than intended recipients is unauthorized. Unless you are the intended recipient (or authorized to receive for the intended recipient), you may not read, print, retain, use, copy, distribute or disclose to anyone the email or its contents (including any attachments). If you have received the message in error, please advise the sender by reply e-mail, and destroy all copies of the email (including any attachments).  Any business terms incorporated in the email or its contents (including any attachments) are meant solely for purposes of discussion and are non-binding on DLA, Inc. and its affiliated companies. Further, no representation is made with respect to any content contained in this email (including any attachments). Any opinions contained in this e-mail are those of the author of the message and do not necessarily reflect those of DLA, Inc. or any of its affiliated companies.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.freedesktop.org/archives/gstreamer-android/attachments/20130114/dcf20b44/attachment.html>


More information about the gstreamer-android mailing list