gstreamer/playback/player/android
Philippe Normand d6c033bf92 playback/android: Update the sample application for GStreamer 1.14
Gradle was also updated to a more recent version. The x86_64 abi
is disabled temporarily due to build failures reported in:
https://bugzilla.gnome.org/show_bug.cgi?id=795454

https://bugzilla.gnome.org/show_bug.cgi?id=795456
2018-04-24 11:11:22 +01:00
..
app playback/android: Update the sample application for GStreamer 1.14 2018-04-24 11:11:22 +01:00
gradle/wrapper playback/android: Update the sample application for GStreamer 1.14 2018-04-24 11:11:22 +01:00
.gitignore playback/player/android: Add .gitignore 2016-10-03 13:15:27 +03:00
build.gradle playback/android: Update the sample application for GStreamer 1.14 2018-04-24 11:11:22 +01:00
gradle.properties Support GSTREAMER_ROOT_ANDROID env var 2017-05-20 17:28:17 +02:00
gradlew playback/player: android: Update build tools version and ship gradle wrapper script 2016-05-10 22:01:54 +03:00
gradlew.bat playback/player: android: Update build tools version and ship gradle wrapper script 2016-05-10 22:01:54 +03:00
README.md playback/android: Update the sample application for GStreamer 1.14 2018-04-24 11:11:22 +01:00
settings.gradle playback/player: android: Move to gradle based build 2016-02-11 21:52:44 +05:30

Android GStreamer sample player application

Build and deploy

First of all you need to replace the gold linker with bfd in the gst-android-1.14/armv7/share/gst-android/ndk-build/gstreamer-1.0.mk See also this NDK issue

Then to build and deploy the player app to your device, use a command similar to:

$ GSTREAMER_ROOT_ANDROID=/path/to/gst-android-1.14/ PATH=~/dev/android/tools/bin:~/dev/android/ndk-bundle:$PATH ANDROID_HOME="$HOME/dev/android/" ./gradlew installDebug

Run the application on the device

$ adb shell am start -n org.freedesktop.gstreamer.play/.Play http://ftp.nluug.nl/pub/graphics/blender/demo/movies/Sintel.2010.720p.mkv

To see the GStreamer logs at runtime:

$ adb logcat | egrep '(gst)'