I changed the stream url in the included Tutorial 5 (a basic media player) to a h.264/mp3 media stream (from its original ogv stream) and it started complaining about some missing plugins.
After doing some googling I found Prajnashi's gst-ffmpeg plugin for Android https://github.com/prajnashi/gst-ffmpeg but it is certainly not suitable for the SDK.
If the SDK does not have the required plugin how do I go about resolving this? I am new to GStreamer and have no idea how to compile any of the existing plugins for Android.
You just need to add
$(GSTREAMER_PLUGINS_CODECS_RESTRICTED)
to your Android.mk in the jni folder for android-tutorial-5
Like so:
GSTREAMER_PLUGINS := $(GSTREAMER_PLUGINS_CORE) $(GSTREAMER_PLUGINS_PLAYBACK) $(GSTREAMER_PLUGINS_CODECS) $(GSTREAMER_PLUGINS_NET) $(GSTREAMER_PLUGINS_SYS) $(GSTREAMER_PLUGINS_CODECS_RESTRICTED)
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With