Hardware decoding on Android: "No element decodebin"

Sebastian Dröge sebastian at centricular.com
Mon Aug 4 05:40:30 PDT 2014


On Mo, 2014-08-04 at 05:38 -0700, darvin wrote:
> LOCAL_PATH := $(call my-dir)
> 
> include $(CLEAR_VARS)
> 
> LOCAL_MODULE    := darvin
> LOCAL_SRC_FILES := darvin.c
> LOCAL_SHARED_LIBRARIES := gstreamer_android
> LOCAL_LDLIBS := -llog -landroid
> include $(BUILD_SHARED_LIBRARY)
> 
> ifndef GSTREAMER_ROOT
> ifndef GSTREAMER_ROOT_ANDROID
> $(error GSTREAMER_ROOT_ANDROID is not defined!)
> endif
> GSTREAMER_ROOT        := $(GSTREAMER_ROOT_ANDROID)
> endif
> GSTREAMER_NDK_BUILD_PATH  := $(GSTREAMER_ROOT)/share/gst-android/ndk-build/
> include $(GSTREAMER_NDK_BUILD_PATH)/plugins.mk
> GSTREAMER_PLUGINS         := $(GSTREAMER_PLUGINS_CORE)
> $(GSTREAMER_PLUGINS_SYS) $(GSTREAMER_PLUGINS_EFFECTS)
> $(GSTREAMER_PLUGINS_NET) $(GSTREAMER_PLUGINS_CODECS_RESTRICTED)
> GSTREAMER_EXTRA_DEPS      := gstreamer-video-1.0
> include $(GSTREAMER_NDK_BUILD_PATH)/gstreamer-1.0.mk
> 
> I've tried to add the line "$(GSTREAMER_PLUGINS_BASE)" to GSTREAMER_PLUGINS
> :=... but that had no effect. 
> 
> Thanks for your quick response. 

You need to add at least $(GSTREAMER_PLUGINS_PLAYBACK) and
$(GSTREAMER_PLUGINS_CODECS)

-- 
Sebastian Dröge, Centricular Ltd - http://www.centricular.com
Expertise, Straight from the Source
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 949 bytes
Desc: This is a digitally signed message part
URL: <http://lists.freedesktop.org/archives/gstreamer-devel/attachments/20140804/4624a715/attachment.sig>


More information about the gstreamer-devel mailing list