state of gstreamer for android (non compilable, unmaintained? not tested def)
Mikel PĂ©rez
io at mikelpr.com
Wed Apr 11 22:25:42 UTC 2018
I've been writing a music player (for replaygain, faster library scanning
than mediastore + caching external storage results, better API overall than
android's MediaPlayer, etc) for a while and tried to update to 1.14.0, but
I can't compile my app because of these messages:
arm64:
[arm64-v8a] Compile : twelveinch-gst1 <= scanbin.c
[arm64-v8a] Compile : twelveinch-gst1 <= gstcontenturisrc.c
GStreamer : [GEN] => gst-build-arm64-v8a/gstreamer_android.c
GStreamer : [COMPILE] => gst-build-arm64-v8a/gstreamer_android.c
GStreamer : [LINK] => gst-build-arm64-v8a/libgstreamer_android.so
/home/mikel/.android/sbt/sdk/ndk-bundle/toolchains/aarch64-linux-android-4.9/prebuilt/linux-x86_64/lib/gcc/aarch64-linux-android/4.9.x/../../../../aarch64-linux-android/bin/ld.gold:
error:
/home/mikel/dev/L/gstreamer1-last/arm64/lib/libcrypto.a(sha1-armv8.o):
multiple definition of 'sha1_block_data_order'
/home/mikel/.android/sbt/sdk/ndk-bundle/toolchains/aarch64-linux-android-4.9/prebuilt/linux-x86_64/lib/gcc/aarch64-linux-android/4.9.x/../../../../aarch64-linux-android/bin/ld.gold:
/home/mikel/dev/L/gstreamer1-last/arm64/lib/libgnutls.a(sha1-armv8.o):
previous definition here
clang: error: linker command failed with exit code 1 (use -v to see
invocation)
make: *** [buildsharedlibrary_arm64-v8a] Error 1
x86: https://pastebin.com/raw/xcsY3ZVB (too long)
--------------------------
also, while I can compile with 1.12.4, I can't run the x86 version due to
text rellocations:
04-11 15:12:27.964 5380-5380/com.mikelpr.twelveinch E/AndroidRuntime: FATAL
EXCEPTION: main
Process: com.mikelpr.twelveinch, PID: 5380
java.lang.UnsatisfiedLinkError: dlopen failed:
/data/app/com.mikelpr.twelveinch-2/lib/x86/libgstreamer_android.so: has
text relocations
at java.lang.Runtime.loadLibrary(Runtime.java:372)
at java.lang.System.loadLibrary(System.java:1076)
at
com.mikelpr.twelveinch.gstreamer.GstPlaybin$Companion.gstinit(GstPlaybin.kt:48)
at com.mikelpr.twelveinch.GstActivity.onCreate(GstActivity.kt:79)
at com.mikelpr.twelveinch.MainActivity.onCreate(MainActivity.kt:57)
at android.app.Activity.performCreate(Activity.java:6237)
at
android.app.Instrumentation.callActivityOnCreate(Instrumentation.java:1107)
at
android.app.ActivityThread.performLaunchActivity(ActivityThread.java:2369)
at
android.app.ActivityThread.handleLaunchActivity(ActivityThread.java:2476)
at android.app.ActivityThread.-wrap11(ActivityThread.java)
at
android.app.ActivityThread$H.handleMessage(ActivityThread.java:1344)
at android.os.Handler.dispatchMessage(Handler.java:102)
at android.os.Looper.loop(Looper.java:148)
at android.app.ActivityThread.main(ActivityThread.java:5417)
at java.lang.reflect.Method.invoke(Native Method)
at
com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:726)
at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:616)
---------------
so it seems this 1.14.0 release is borked for android, and the previous one
was borked for x86 android. is the project still being maintained? I'd hate
to see it go because I found the perfect lib for my musicplayer
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.freedesktop.org/archives/gstreamer-android/attachments/20180411/5a58313e/attachment.html>
More information about the gstreamer-android
mailing list