koying / SPMC

fork of xbmc/kodi
Other
634 stars 257 forks source link

X96mini Amlogic S905W - Failed Playback MKV 1280x720 HEVC AAC #1073

Open MDashK opened 6 years ago

MDashK commented 6 years ago

OK, so I installed SPMC on my X96mini box. It as a Amlogic S905W CPU, running Android 7.

Tried to play a MKV file 1280x720 HEVC AAC. Everytime I try to start the playback, it crashes.

Here's 2 crash reports: http://paste.semperpax.com/pedv3qkeh http://paste.semperpax.com/p4tokzxgi

Funny thing is, this also happens to me with FTMC. But FTMC doesn't have the crash report URL, so I'm in the dark with that one.

Any help is greatly appretiated. @ Possible helpers: Let me know if anything else is needed.

Thank you very much. Best regards.

MDashK commented 6 years ago

Did a few tests, issue seems to be related to hardware acceleration? When amcodec activated, player crashes. When RKCodec activated, program also crashes. But if standard hardware acceleration (incl. surface) is used, player does not crach, but stutters a lot...

Is this crash related to the fact that amlogic removed AMCODEC support? (in 7.x amlogic removed the support for it)

kuisa commented 6 years ago

Here is my instruction how to run movies with amcodec on 7.1.2

  1. We put SPMC with amcodec support (for example, SPMC-16.7.1-spmc-4baafdf-armeabi-v7a.apk, download from off site)
  2. Turn on amcodec in the acceleration settings
  3. Need a root. Go to / system / etc / find public.libraries.txt, add to the end libamcodec.so
  4. Reboot and enjoy!
MDashK commented 6 years ago

Nice. Thanks! Now I just need to find a way to root this thing... XD My TX2-R2 came rooted, but this one doesn't...

Update: Got this working! Updated the default firmware that came with the X96mini using the Wireles Update app that came with the box, the new updated rooted the box, and was able to edit the TXT to have the libamcodec.so config. Rebooted. Working! Thanks!

treble20 commented 6 years ago

How do you add libamcodec.so?

I've tried using ES File Explorer to add it to the end of the public.libraries.txt file but I get a 'file cannot be saved error' every time I try and exit

Thanks in advance

MDashK commented 6 years ago

You need root. Best use FTP. Transfer the file to PC, edit it, save it, transfer it back.

treble20 commented 6 years ago

Thanks.

I have rooted so I'll try using FTP

gl2007 commented 6 years ago

If you have root, you can give permissions to ES explorer to write to the file. ES Explorer also gives you how to give permissions, I believe once you try to save.

On Nov 17, 2017 at 3:10 AM, <treble20 (mailto:notifications@github.com)> wrote:

Thanks.

I have rooted so I'll try using FTP

— You are receiving this because you are subscribed to this thread. Reply to this email directly, view it on GitHub (https://github.com/koying/SPMC/issues/1073#issuecomment-345174150), or mute the thread (https://github.com/notifications/unsubscribe-auth/AD6Ey-E6Rl8hCDmz6b77TLOREkVVU-9Wks5s3T-EgaJpZM4P13s4).

treble20 commented 6 years ago

Thanks very much - changed the settings in ES File Explorer and managed to add libamcodec.so

All working fine now!

waqasazizvicki commented 6 years ago

I have nexbox S905X andriod version 7.1.2 but after I change public.libraries and put value libamcodec.so in the end. After that whole step when I play movie through spmc videos goes blackout, I heard only audio and see only subtiles but no picture at all kindly help?