Author: swordfish6975

Openelec Build for OPI PC and 2 now with HW decoding

  [Copy link]

4

threads

1118

posts

9504

credits

Moderator

Rank: 7Rank: 7Rank: 7

credits
9504
Published in 2016-3-4 03:59:57 | Show all floors
How did you test those images? The thing is, that I changed some things about memory for the better. Can you check that you can see whole 1GB memory with "free -m" command and that "cat /proc/cmdline" has "noram" at the end? I also increased amount of memory available for decoding to 256MB, which is maximum, but I'm not sure how to check it. Did you write clean image for testing?

If answers to all above questions is yes, then please test kodi app on android. If it plays well, then the problem most probably lies in binary libraries. In the past, it was observed that CedarX binaries found in Android were less buggy than those in Linux. There is a way to do this via libhybris, but I don't like the idea. I would much more prefer integration of open source library, even if that means less codecs (the popular ones should work). That way we have at least some chance in improving things, if something doesn't work.

4

threads

1118

posts

9504

credits

Moderator

Rank: 7Rank: 7Rank: 7

credits
9504
Published in 2016-3-4 04:03:47 | Show all floors
Can someone test this OPiPC image on a SD card, which doesn't work with OpenELEC?
https://mega.nz/#!YQJzjTZR!_89X8 ... Vp8eYyLib4_cs583wAI

12

threads

99

posts

375

credits

Intermediate member

Rank: 3Rank: 3

credits
375
Published in 2016-3-4 04:30:10 | Show all floors
I didn't test your recent images yet. I have no empty SD at this moment. But will try to test it tomorrow.
Regarding Android - all above results are true for Beelink X2. Now I tested also original Orange Pi Android and here it is much much worse. I'd say even hopeless. Almost nothing play reasonable. Kodi says at codec info screen amc-h264 or amc-h265 not cedarx. Maybe it is the problem. MXPlayer is very very weak too. I will have to test also other Android distros to choose the best one for multimedia applications.
And definitely Orange Pi One is not a good choice for multimedia, at least for 4K. Androids are more memory hungry and most of hires videos even don't start. BTW - do you know working solution for Youtube in OpenELEC? Recently plugin for Kodi refuses to work. In Android YT apk is also not perfect as it drops some frames and doesn't support 1080p and 60fps. Currently for YT I use PS3 but I'd like to switch to one platform for playing movies and YT.

12

threads

99

posts

375

credits

Intermediate member

Rank: 3Rank: 3

credits
375
Published in 2016-3-4 04:39:44 | Show all floors
Edited by cbm80 at 2016-3-4 04:40

Regarding testing memory you mean new test OpenELEC image? I will test it tomorrow.
Using recent version (0224) my results are:

  1. OpenELEC:~ # free -m
  2.              total       used       free     shared    buffers     cached
  3. Mem:          1002        278        724          0         37        121
  4. -/+ buffers/cache:        118        884
  5. Swap:            0          0          0
  6. OpenELEC:~ # cat /proc/cmdline
  7. console=ttyS0,115200 hdmi.audio=EDID:0 boot=/dev/mmcblk0p1 disk=/dev/mmcblk0p2 consoleblank=0 noram
Copy code

4

threads

1118

posts

9504

credits

Moderator

Rank: 7Rank: 7Rank: 7

credits
9504
Published in 2016-3-4 04:46:09 | Show all floors
Codec name is set arbitrary. "amc" stands for Android media codec, which is standard Android framework for video playback. This framework underneath uses same CedarX libraries. I made up names for codec myself. I think that there is no doubt which codec represents

It would be useful if you could find those files on different Android images and upload them somewhere:
libMemAdapter.so
librv.so
libvdecoder.so
libVE.so

I could compare them and try to understand differencies and possible bugfixes.

No, I don't know anything about YouTube plugin. As I stated before, I don't really use this OpenELEC images yet. It's more fun making things work than using them Maybe you can find latest sources and build them?

0

threads

21

posts

112

credits

Registered member

Rank: 2

credits
112
Published in 2016-3-4 06:02:55 | Show all floors
jernej replied at 2016-3-4 04:03
Can someone test this OPiPC image on a SD card, which doesn't work with OpenELEC?
https://mega.nz/#! ...

I didn't use those images, but I just did a pull and built the latest source and I can confirm that https://github.com/jernejsk/Open ... 1127b9838b9cbe85656 fixed the boot on crappy/slow sdcards.

Previous timeout wasn't enough to enable reading that data from slower sdcards.
Reading takes just a few seconds more than with a good sdcard, but that was enough to stop the boot.

Tested with 3 slower sdcards (although they're branded as class 10 -> they are fake), with an image without the commit and with the latest image with the commit.

Using OpiPC

4

threads

1118

posts

9504

credits

Moderator

Rank: 7Rank: 7Rank: 7

credits
9504
Published in 2016-3-4 06:07:39 | Show all floors
pmos69 replied at 2016-3-3 23:02
I didn't use those images, but I just did a pull and built the latest source and I can confirm tha ...

Great to hear, thanks!

0

threads

9

posts

82

credits

Registered member

Rank: 2

credits
82
Published in 2016-3-4 22:50:09 | Show all floors
Youtube is mostly broken for all Kodi versions, I guess the official plugin is not updated anymore.
Here is something https://github.com/Kolifanes/plugin.video.youtube/releases

12

threads

99

posts

375

credits

Intermediate member

Rank: 3Rank: 3

credits
375
Published in 2016-3-5 02:11:19 | Show all floors
jernej - I have good news. I can confirm that new image works on my 8GB card. At the beginning I was thinking it doesn't boot because default script.bin was for 1080p and I have 720p TV set so there was no screen. Fortunately we have serial port
So I think this issue is solved. Thanks!

12

threads

99

posts

375

credits

Intermediate member

Rank: 3Rank: 3

credits
375
Published in 2016-3-5 02:16:46 | Show all floors
Edited by cbm80 at 2016-3-6 15:21
jernej replied at 2016-3-4 04:46
Codec name is set arbitrary. "amc" stands for Android media codec, which is standard Android framewo ...

Here I uploaded libs you asked taken from cleaned_Beelink_repacked distro. Good luck!

EDIT: I've just tested this image. Forget about these libs. There are serious issues with smooth 4k support in this distro.
Image taken from: mega:///#!R1IAxZrQ!S_xxo72QQpMtNRuXiWeYhBergQVuftuDakRrQ0wFRWk.
post: http://www.orangepi.org/orangepi ... &extra=page%3D1

This thread contains more resources

You need to Log in to download or view,No account?    Register

x
You need to log in before you can reply login | Register

Points Rule

Quick reply Top Return list