Author: swordfish6975

Openelec Build for OPI PC and 2 now with HW decoding

  [Copy link]

5

threads

354

posts

2724

credits

Moderator

Rank: 7Rank: 7Rank: 7

credits
2724
Published in 2015-12-25 18:22:07 | Show all floors
Edited by fritz at 2015-12-25 11:23

image with strange colors and green stripes

metedata:
http://pastebin.com/HmragTwx

works Ok with older build
Boards:
orangepi plus, olinuxino A20, cubieboard A10, mele A2000 .....

1

threads

90

posts

785

credits

Senior member

Rank: 4

credits
785
Published in 2015-12-25 21:36:33 | Show all floors
Edited by lymon at 2015-12-25 21:43

compiled 2 times, but I'm not getting any video at all (black screen during playback, audio ok)...tested on OPI-PC and several different video formats/codecs

4

threads

1118

posts

9501

credits

Moderator

Rank: 7Rank: 7Rank: 7

credits
9501
Published in 2015-12-26 01:35:33 | Show all floors
What about this one:
https://app.box.com/s/1xukyumf6nqdxfkgtvedxjs7utopu1ce

Rendering should be correct. Changed decoded format from YV12 to NV21, which seems to be more natural for H3 and one of two supported formats by HW deinterlacing, which is also included While deinterlacing works, its not done in the best way. Currently there will be tearing with interlaced video, so VSync is next on my list.

1

threads

28

posts

136

credits

Registered member

Rank: 2

credits
136
Published in 2015-12-26 04:12:27 | Show all floors
Guys, this is freaking hot!  I'll just go down my laundry list of questions:

* How do I enable visualizations?
* What is Kodi vs Openelec?  Why's this openelec instead?
* Tell me some non- obvious things I can do with this, please?


Anyway, given the development state of this board overall, all I can do is heap praise on @jernej for making this work so well.  It's running on my Opi-PC using soundcloud, gorgeous graphics quite smoothly.  Also, just for anyone's info:

Genius keyboard didn't work
Logitech did

!!!
Highly enthusiastic about this one !

4

threads

1118

posts

9501

credits

Moderator

Rank: 7Rank: 7Rank: 7

credits
9501
Published in 2015-12-26 04:27:46 | Show all floors
faddat replied at 2015-12-25 21:12
Guys, this is freaking hot!  I'll just go down my laundry list of questions:

* How do I enable vis ...

- Sorry, don't know about visualizations.
- OpenELEC is actually whole linux distribution build around Kodi

Actually, given the poor state of the H3 linux kernel 3.4, there is a ton of bugs and non working things. Praise those who are mainlining H3 support into linux kernel. But because good enough mainline kernel support is not near, I built this for the meantime.

1

threads

28

posts

136

credits

Registered member

Rank: 2

credits
136
Published in 2015-12-26 04:33:15 | Show all floors
Edited by faddat at 2015-12-26 06:27

I think I make an exception with this board:  heap praise on everybody.  $15is a new price-barrier broken for acceptably decent computing, and I view Chip / Pi0 as simply incomplete products.... (though chip has *some* merit)

We all wish that the manufacturer could do more, but he's done a great deal with the pricing alone, and given what I know about all these gizmos and how they get made, it's very likely that he *can't* do more than he does now-- allwinner would be none too happy...
--and regarding the vis, I'll get going on it, see if I can get anything going .  

Sorry, I forgot:


.......everyone except for allwinner.  

4

threads

1118

posts

9501

credits

Moderator

Rank: 7Rank: 7Rank: 7

credits
9501
Published in 2015-12-26 04:47:59 | Show all floors
Edited by jernej at 2015-12-25 22:58

After some reverse engineering of CedarX library, I found out that VP9 codec is indeed software decoded. Basically, it has just libvpx embedded into it.  Because of that, I will consider removing VP9 support from future patches.

EDIT: After a better look, following codec are software decoded on H3 with CedarX libs:
- WMV1
- WMV2
- VP6
- VP9

The main question is: Is it any good to leave support for them? Technically, rendering and deinterlacing will still be HW supported, if we leave them in. ffmpeg supported codecs can't be HW accelerated in any way, at least with current approach,

0

threads

6

posts

64

credits

Registered member

Rank: 2

credits
64
Published in 2015-12-26 06:40:51 | Show all floors
hi @jernej
I'm trying to compile my own fork and NOT works without sudo but the official guide from OpenElec not require it.
I can't find the reason. Why sudo is required for build the image?

0

threads

41

posts

213

credits

Intermediate member

Rank: 3Rank: 3

credits
213
Published in 2015-12-26 06:49:24 | Show all floors
jernej replied at 2015-12-26 04:47
After some reverse engineering of CedarX library, I found out that VP9 codec is indeed software deco ...

Thank you jernej. This is really a good work.I'm building right now and report back after some testing.


It's great to hear that deinterlace works now.
About V-Sync. I assume that it's not enough to enable V-Sync in Kodi settings, right?

About codecs and CedarX library: what are the disadvantages in leaving them in?
Because HW deinterlacing and direct rendering are big bonuses even if they are SW Decoded
Maybe they should be left in until we found any disadvantage.



4

threads

1118

posts

9501

credits

Moderator

Rank: 7Rank: 7Rank: 7

credits
9501
Published in 2015-12-26 06:50:21 | Show all floors
Edited by jernej at 2015-12-25 23:53
CGarces replied at 2015-12-25 23:40
hi @jernej
I'm trying to compile my own fork and NOT works without sudo but the official guide from  ...

Actually, you do require sudo privileges for official build. Check this script on line 325 in original repository: https://github.com/OpenELEC/OpenELEC.tv/blob/master/scripts/image

You just don't need to run it immediatelly with sudo. It will ask you automatically once you get there. Same goes for this fork.

EDIT: It is just for mounting images.

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

Points Rule

Quick reply Top Return list