aacdecoder-android
aacdecoder-android copied to clipboard
Fix ARM64 crash.
Have you been able to get this to work on ARM64? I am seeing a segfault after I apply this and build against opencore downloaded from here: https://code.google.com/p/aacplayer-android/downloads/list
michaelrhughes, its easy. Just apply this patch, build, but don't use 64 binaries in your project, put just only 32bit and everything will work fine on both 32 and 64 bit platforms.
hello, i have downloaded opencore from this place: https://code.google.com/p/aacplayer-android/downloads/detail?name=opencore-aacdec.zip&can=2&q=
and then set the path in .ant.properties?
I have the following error when i try to build with ant:
BUILD FAILED /Users/dave/Developer/accDecoder-Tarigo/aacdecoder-android/build.xml:21: The following error occurred while executing this line: /Users/dave/Developer/accDecoder-Tarigo/aacdecoder-android/build.xml:11: The following error occurred while executing this line: /Users/dave/Developer/accDecoder-Tarigo/aacdecoder-android/decoder/build.xml:89: exec returned: 2
Could you help me with this?
Hi guys, sorry for been silent for so long. :)
@michaelrhughes Yes, it works on ARM64, tested on Nexus 9 and Samsung Galaxy S6. There are applications published on Google Play used by thousands users - no issues for far. Please check that you have rebuild native libs.
@wildfatduck Almost, but not entirely correct.. Of course 32bit binaries are backward compatible, but there is no issues with ARM64 binaries.
@davedega I replaced maven with gradle build scripts to build library as AAR. You can import the project to Android Studio or build it from command line.
@davedega You can download pre-built binaries here: https://drive.google.com/folderview?id=0B_XRgqPl4GwaeElhMGZCNzI5OU0&usp=sharing
no working Nexus 6 (shamu) Marshmallow 6.0.1, CyanogenMod cm-13.0-20160411-NIGHTLY-shamu
04-10 21:05:04.272 3287-3287/com.spoledge.aacplay E/linker: /data/app/com.spoledge.aacplay-2/lib/arm/libaacdecoder.so: has text relocations 04-10 21:05:04.272 3287-3287/com.spoledge.aacplay D/AndroidRuntime: Shutting down VM 04-10 21:05:04.277 3287-3287/com.spoledge.aacplay E/AndroidRuntime: FATAL EXCEPTION: main Process: com.spoledge.aacplay, PID: 3287 Theme: themes:{} java.lang.UnsatisfiedLinkError: dlopen failed: /data/app/com.spoledge.aacplay-2/lib/arm/libaacdecoder.so: has text relocations at java.lang.Runtime.loadLibrary(Runtime.java:372) at java.lang.System.loadLibrary(System.java:1076) at com.spoledge.aacdecoder.Decoder.loadLibrary(Decoder.java:188) at com.spoledge.aacdecoder.Decoder.create(Decoder.java:222) at com.spoledge.aacdecoder.Decoder.create(Decoder.java:199) at com.spoledge.aacdecoder.AACPlayer.createDecoder(AACPlayer.java:508) at com.spoledge.aacdecoder.MultiPlayer.createDecoder(MultiPlayer.java:91) at com.spoledge.aacdecoder.AACPlayer.<init>(AACPlayer.java:130) at com.spoledge.aacdecoder.MultiPlayer.<init>(MultiPlayer.java:81) at com.spoledge.aacplay.AACPlayerActivity.start(AACPlayerActivity.java:288) at com.spoledge.aacplay.AACPlayerActivity.onClick(AACPlayerActivity.java:191) at android.view.View.performClick(View.java:5204) at android.view.View$PerformClick.run(View.java:21158) at android.os.Handler.handleCallback(Handler.java:739) at android.os.Handler.dispatchMessage(Handler.java:95) at android.os.Looper.loop(Looper.java:148) at android.app.ActivityThread.main(ActivityThread.java:5461) 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)
@tarigo Thanks! "ARM64" it work for me
You can download from here: https://github.com/AppWerft/ti-android-streamer/tree/master/aacdecoderlibs
AppWerft, those libs you compiled crash with Titanium 7.5.0 GA
I have no compiled I have downloaded from https://github.com/goldblade/cordova-plugin-aacdecoder-android. It crashes after successful connecting with server and receiving response headers. I'm working on. Do you have an idea?
I'm seeing the same behavior....
we have two ways of fixing:
- searching for other ready to use libs in net (still not found)
- self compile (no expertise)
- this link on google drive is broken: https://github.com/iammert/RadioPlayerService/issues/59
OK. I have no idea how I can build the so files from sources. Any receipts?
Hello @tarigo You link for download pre-built binaries: https://drive.google.com/folderview?id=0B_XRgqPl4GwaeElhMGZCNzI5OU0&usp=sharing are broken. Can you upload this binaries again or email me? I am interesting libaacdecoder.so 64bit
Thank you
Или может быть Вы знаете где можно найти исходники libaacdecoder.so 64bit и как собрать их? Вы можете это сделать за денежное вознаграждение?
Hello @tarigo You link for download pre-built binaries: https://drive.google.com/folderview?id=0B_XRgqPl4GwaeElhMGZCNzI5OU0&usp=sharing are broken. Can you upload this binaries again or email me? I am interesting libaacdecoder.so 64bit
Thank you
Или может быть Вы знаете где можно найти исходники libaacdecoder.so 64bit и как собрать их? Вы можете это сделать за денежное вознаграждение?
Вы можете связаться со мной лично по @tarigo:matrix.org. Я как раз планировал поправить билд и мигрировать на свежий NDK.
You can find the Binaries in my Hoerdat repo: https://github.com/AppWerft/HoerDat/tree/master/modules/android/com.woohoo.androidaudiostreamer/3.0.0/libs I found it on a phonegap page ;-) Я успешно использовал модуль, и он работает очень хорошо
@tarigo I have identified this https://github.com/maximxt/aacdecoder-android/issues/1 issue occurs only with arm64-v8a when accessing HE-AAC stream example streams http://209.133.216.3:7071 http://198.38.92.217:1160
Спасибо @tarigo, большое не используем aacdecoder, перешли на exoPlayer
Вы можете связаться со мной лично по @tarigo:matrix.org. Я как раз планировал поправить билд и мигрировать на свежий NDK.
@tarigo thanks for the work. But the lib doesnt work if i set targetSdkVersion 28 which is what google play requires to update the app. Can you help me pls?
You have to recompile with new version (java part). the *.so are the same.
Sorry to bother you, but I need help. Other streams I can reproduce without a problem, but this gives an error that I cannot detect or resolve. It is also very strange because it only happens on a real device, not on the emulator. Please help me. Thank you in advance. https://streaming.sertaovibe.com.br/radio/8000/aac or http://144.217.31.171:8000
The error is: A/libc: Fatal signal 11 (SIGSEGV), code 1 (SEGV_MAPERR), fault addr 0x5c6d000000008c in tid 18115 (Thread-5), pid 17993