Missing plugin for GStreamer for Android SDK

I changed the url of the stream in the included Tutorial 5 (base media player) to the h.264 / mp3 media stream (from its original ogv stream) and it started complaining about some missing plugins.

After doing some searches, I found the Prajnashi gst-ffmpeg plugin for Android https://github.com/prajnashi/gst-ffmpeg , but it certainly is not suitable for the SDK.

If the SDK does not have the required plugin, how can I solve this? I am new to GStreamer and have no idea how to compile any of the existing Android plugins.

+4
source share
1 answer

You just need to add

$(GSTREAMER_PLUGINS_CODECS_RESTRICTED) 

to your Android.mk in the jni folder for android-tutorial-5

Same:

 GSTREAMER_PLUGINS := $(GSTREAMER_PLUGINS_CORE) $(GSTREAMER_PLUGINS_PLAYBACK) $(GSTREAMER_PLUGINS_CODECS) $(GSTREAMER_PLUGINS_NET) $(GSTREAMER_PLUGINS_SYS) $(GSTREAMER_PLUGINS_CODECS_RESTRICTED) 
+2
source

All Articles