please choosego to mobile | Continue to access the PC version
Author: swordfish6975

Openelec Build for OPI PC and 2 now with HW decoding

  [Copy link]

4

threads

1118

posts

9144

credits

Moderator

Rank: 7Rank: 7Rank: 7

credits
9144
Published in 2015-12-15 02:58:05 | Show all floors
lymon replied at 2015-12-14 18:36
I don't think there's a (working) hdmi_cec driver available for kernel 3.4.39...so you will probably ...

install xmlstarlet, for debian based distributions:
  1. sudo apt-get install xmlstarlet
Copy code

after that, build wanted plugin with:
  1. PROJECT=OPi2 ARCH=arm PVR=yes scripts/create_addon pvr.iptvsimple
Copy code

check target/ folder for zip package which can be installed in kodi.

Hope it helps.

0

threads

41

posts

213

credits

Intermediate member

Rank: 3Rank: 3

credits
213
Published in 2015-12-15 03:45:19 | Show all floors
Edited by runnerway at 2015-12-15 03:47
jernej replied at 2015-12-15 02:25
I added all HW accelerated codecs. Can someone test them as much as possible? Be aware that there is ...

I've tested as soon as i saw your post. Thank you for your work.

Here is the report with download links:

(VC-1_29.970, a lot of players have problems with this type of files)
- http://www.mediafire.com/downloa ... 1_29.970_sample.mkv
Before the update: A lot of artifacts. Played by cedarx-vc1
After the update: A lot of artifacts and some problems of stuttering. Played by cedarx-wmv3
(Maybe stuttering was present even before but i didn't notice).

(Webm VP9 downloaded from youtube)
- http://www.mediafire.com/watch/h ... ng_in_the_Deep.webm
Before the update: A lot of stuttering. Played by software decoding
After the update: Some stuttering. Played by cedarx-vp9. After 10 seconds player quits.
Maybe it's a too heavy file.
Interesting thing is that around this video there are 4 green sides after the update.
Similar problem with H265 videos.

I tried H265 again and i saw green stripes even with this build.
I have got an H265 file with green stripe on right side too.



It seems this problem with green stripes is not only of H265 but maybe is a more general thing. Any ideas jernej?


I had an idea but i don't know if it makes sense:
Maybe the video is not centered in the right way.
Maybe it's rendered a bit..
- too high -> green bar on the bottom
- too left -> green bar on the right
- in the center but too small -> green frame.Because green should be 00000000.. pixel.

jernej, Can this be a true thing?


1

threads

90

posts

761

credits

Senior member

Rank: 4

credits
761
Published in 2015-12-15 03:57:02 | Show all floors
Edited by lymon at 2015-12-15 04:40
jernej replied at 2015-12-15 02:58
install xmlstarlet, for debian based distributions:

after that, build wanted plugin with:

finally it works !!  thanks very much !

If anyone else needs a tvheadend (client) PVR addon:
https://github.com/lymon66/ORANGEPI-PC/blob/master/Openelec/pvr.hts-2.2.9.zip

or the IPTV addon:
https://github.com/lymon66/ORANGEPI-PC/blob/master/Openelec/pvr.iptvsimple-1.12.6.zip

4

threads

1118

posts

9144

credits

Moderator

Rank: 7Rank: 7Rank: 7

credits
9144
Published in 2015-12-15 04:16:54 | Show all floors
runnerway replied at 2015-12-14 20:45
I've tested as soon as i saw your post. Thank you for your work.

Here is the report with downlo ...

I think I know what is the problem with green stripes. Can you try this build?
https://app.box.com/s/u7q6suvcus0z49fv1or0a3ub6vfe4qzm

If it works, I will explain.

BTW Adele's video is too heavy. It must wait for direct rendering to be implemented.

0

threads

41

posts

213

credits

Intermediate member

Rank: 3Rank: 3

credits
213
Published in 2015-12-15 04:35:37 | Show all floors
jernej replied at 2015-12-15 04:16
I think I know what is the problem with green stripes. Can you try this build?
https://app.box.com ...

Thank you but seems that box.com has some problems and don't let me download anything.
I don't know if it's better to wait or maybe if you have a good connection you mirror it on another host.

4

threads

1118

posts

9144

credits

Moderator

Rank: 7Rank: 7Rank: 7

credits
9144
Published in 2015-12-15 04:43:27 | Show all floors
runnerway replied at 2015-12-14 21:35
Thank you but seems that box.com has some problems and don't let me download anything.
I don't kno ...

Funny, from my side everything is ok.

Let me try something else and then I will upload the best image to some other sharing site.

4

threads

1118

posts

9144

credits

Moderator

Rank: 7Rank: 7Rank: 7

credits
9144
Published in 2015-12-15 05:52:24 | Show all floors
Edited by jernej at 2015-12-14 23:40
runnerway replied at 2015-12-14 21:35
Thank you but seems that box.com has some problems and don't let me download anything.
I don't kno ...

Hopefully you can download from here:
https://mega.nz/#!dcwUyJCA!7XNc6 ... Zkm6s4o8S-J8s97orts

You were almost completely correct. Encoded image can be larger than visible. Problem was that whole encoded image was rendered, not only the visible part. Same goes for Adele's video with slight addition. There is also X and Y offset, but that can't be compensated easily with standard Kodi GPU renderer. I implemented GPU renderer because it was easy solution and enough for proof of concept. Now I will move to direct rendering, which will take care for those offsets and will dramatically offload CPU and GPU.

0

threads

41

posts

213

credits

Intermediate member

Rank: 3Rank: 3

credits
213
Published in 2015-12-15 06:34:26 | Show all floors

Yes. Mega works perfectly here.

Tested and i can say that as you told this fixed green stripes on bottom and right sides.
I'm happy that i was on the right way with my post. Good works.
Now all my videos (except Adele' video i posted before..) plays well.

Now i can start use OPi as mediaplayer.
In this way i can make more tests and see more things.

I'm not sure i can help with direct rendering. I will follow your work for sure if you will share on github.
Maybe i can help with reports and little fixes, small guides etc..
By the way i will be glad if you will continue to share status updates with small explanations.
It's a pleasure reading them and we will learn a lot

Thank you.

4

threads

1118

posts

9144

credits

Moderator

Rank: 7Rank: 7Rank: 7

credits
9144
Published in 2015-12-15 06:55:30 | Show all floors
runnerway replied at 2015-12-14 23:34
Yes. Mega works perfectly here.

Tested and i can say that as you told this fixed green stripes on  ...

You're welcome

Explaining things is just habit from my work. Every solution for a bug must be explained, which force you that you explore problem in great details. It is also great learning experience for me as much as for you.

I would be very glad if you (or someone else) would test as much codecs with different settings as possible. Just remember, if video stutters, try with another video with lower resolution or lower framerate.

Don't worry about rendering. I have very good idea what to do, I must just write it.

0

threads

6

posts

64

credits

Registered member

Rank: 2

credits
64
Published in 2015-12-15 08:20:25 | Show all floors
It's posible to use this port as base for other allwiner SOC like A20? (Orange PI)
Any idea about how start it?, my not familiar with the make script of OpenELEC.
You need to log in before you can reply login | Register

Points Rule

Quick reply Top Return list