installing Gstreamer
Mike Albren
mike_albren at yahoo.com
Sun Dec 11 08:15:36 PST 2011
Hi ,
I am trying to use the compiled gstreamer with my android project , but I am not sure if I need to deploy the *.so that are under gstreamer_ndk_bundle/libs/armeabi with my application or they are installed on my device When I run the install_bundle.sh
Also What is the directory of header files I should include in my android.mk ? I set "LOCAL_C_INCLUDES :$(LOCAL_PATH)/gstreamer_ndk_bundle/gstreamer"
and tried to add include statement for gst/gst.h in my source code ,but When I compiled my project I got many errors like :
apps/TestGST/project/jni/gstreamer_ndk_bundle/gstreamer/gst/gstdatetime.h:43: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'gst_date_time_get_minute'
apps/TestGST/project/jni/gstreamer_ndk_bundle/gstreamer/gst/gstdatetime.h:44: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'gst_date_time_get_second'
apps/TestGST/project/jni/gstreamer_ndk_bundle/gstreamer/gst/gstdatetime.h:45: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'gst_date_time_get_microsecond'
apps/TestGST/project/jni/gstreamer_ndk_bundle/gstreamer/gst/gstdatetime.h:46: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'gst_date_time_get_time_zone_offset'
Here is my android.mk
LOCAL_PATH := $(call my-dir)
include $(CLEAR_VARS)
LOCAL_MODULE := GST_API
LOCAL_SRC_FILES := $(LOCAL_PATH)/gstreamer_ndk_bundle/libs/armeabi/libglib-2.0.so
LOCAL_C_INCLUDES :=$(LOCAL_PATH)/gstreamer_ndk_bundle/gstreamer
LOCAL_SRC_FILES := test_gst.c
include $(BUILD_SHARED_LIBRARY)
Do I use the compiled code in wrong way ?any one can share any working android.mk for his project?
Thanks
Mike
More information about the gstreamer-android
mailing list