Author: swordfish6975

Openelec Build for OPI PC and 2 now with HW decoding

  [Copy link]

4

threads

1118

posts

9955

credits

Moderator

Rank: 7Rank: 7Rank: 7

credits
9955
Published in 2016-12-8 06:47:43 | Show all floors
PlintuZz replied at 2016-12-6 10:33
jernej Hi, can you compile new images with corrected? as well as to build the image of the addon pvr ...

Corrected what?

About iptvsimple: I generally don't support anything regarding addons, so I won't do that (too much other work). You can always build it yourself by intructions provided in FAQ. Besides, you linked code which is meant to be compatible with new, work in progress, Kodi 18. This OpenELEC is using Kodi 16 and I'm almost sure that it won't be possible to compile it directly, without any modifications.

4

threads

1118

posts

9955

credits

Moderator

Rank: 7Rank: 7Rank: 7

credits
9955
Published in 2016-12-8 06:58:46 | Show all floors
giaur500 replied at 2016-11-28 10:05
It seems CEC not working with any LG tv. Not even recognized and that's end the story. I can't remem ...

I just found following two issues, which implies LG is hard to get working:
https://github.com/Pulse-Eight/libcec/issues/37
https://github.com/Pulse-Eight/libcec/issues/258

Unfortunatelly, driver does some signaling on it's own. It may well be by standard, but not compatible with LG SimplLink. To fix this I would need LG TV, which I don't have...

0

threads

15

posts

141

credits

Registered member

Rank: 2

credits
141
Published in 2016-12-8 15:09:53 | Show all floors
jernej replied at 2016-12-8 06:47
Corrected what?

About iptvsimple: I generally don't support anything regarding addons, so I won't ...

last commit, of course. Google Translate))

I try to compile, but when I tried it, it is compiled under Ubuntu and have not worked on openelec, due to the dependency problems

0

threads

15

posts

141

credits

Registered member

Rank: 2

credits
141
Published in 2016-12-8 15:13:09 | Show all floors
PlintuZz replied at 2016-12-8 15:09
last commit, of course. Google Translate))

I try to compile, but when I tried it, it is compiled  ...

How can we help?
Philips TV on the same problem, I think they use something very similar with lg

4

threads

1118

posts

9955

credits

Moderator

Rank: 7Rank: 7Rank: 7

credits
9955
Published in 2016-12-9 06:27:31 | Show all floors
PlintuZz replied at 2016-12-8 08:09
last commit, of course. Google Translate))

I try to compile, but when I tried it, it is compiled  ...

OpenELEC has minimal tool requirements to build it. Especially on Ubuntu it should automatically propose what to install if you don't have everything. Only exception is device tree compiler (dtc), because it is specific to H3 project, but that is still easy to install with apt-get.

4

threads

1118

posts

9955

credits

Moderator

Rank: 7Rank: 7Rank: 7

credits
9955
Published in 2016-12-9 06:28:33 | Show all floors
PlintuZz replied at 2016-12-8 08:13
How can we help?
Philips TV on the same problem, I think they use something very similar with lg
...

Unless you know how to fiddle with kernel drivers source, you can't, unfortunatelly.

0

threads

5

posts

42

credits

Novice

Rank: 1

credits
42
Published in 2016-12-9 15:51:33 | Show all floors
jernej replied at 2016-12-9 06:28
Unless you know how to fiddle with kernel drivers source, you can't, unfortunatelly.

You say you need an LG TV to fix the CEC bugs. Are extensive logs not sufficient to do that?
Over on the ODroid C2 forum they are building LibreELEC for the C2 (created by wrxtasy).
They too have had problems getting CEC to work properly yet they came very far.
Maybe they are willing to help you or point you to a source which you can easely implement.

Actually, they even got official support for LibreELEC because of their combined efforts.

Maybe you can too with their help!

6

threads

26

posts

504

credits

Senior member

Rank: 4

credits
504
Published in 2016-12-9 19:41:27 | Show all floors
WMV1, WMV2, VP6 and VP9 codecs, although supported by CedarX, are SW decoded (nothing can be done to improve this)

what about wmv3?
software decode or HW or not supported
I know wmv3 is not playable
no error message
debug message says wmv3
It recognize wmv3
what happens inside?

reading DVDVideoCodecCedarX.cpp
I find wmv3 treated in almost the same way as wmv2 wmv1

4

threads

1118

posts

9955

credits

Moderator

Rank: 7Rank: 7Rank: 7

credits
9955
Published in 2016-12-9 23:56:16 | Show all floors
IanPH replied at 2016-12-9 08:51
You say you need an LG TV to fix the CEC bugs. Are extensive logs not sufficient to do that?
Over  ...

There are many obstacles:
1. Allwinner doesn't provide any kind of information about CEC HW, so driver is based on reverse engineering and even on guessing (blind trial and error).
2. I currently don't own any kind of HW which is CEC capable (not even a TV). I will get soon HDMI audio splitter, which might support CEC.
3. Remote debugging doesn't work, unless issues are trivial. Here issues are not trivial and I don't have full understandment what is going on (check points above).
4. I won't never ask to accept this into LibreELEC. Kernel code and CedarX libs violate GPL license. There is no redistribution license for Mali driver. H3 support in Kodi is naive at best and it has a lot of issues. Most issues are/will be addressed in mainline kernel. With current state it would be already possible to make working image with SW decoding (still with Mali redistribution issues). I expect that mainline kernel will be capable of HW decoding in a year or two (MPEG1, MPEG2 and partially MPEG4 already works for A10/A20 with patches).

4

threads

1118

posts

9955

credits

Moderator

Rank: 7Rank: 7Rank: 7

credits
9955
Published in 2016-12-9 23:59:00 | Show all floors
oppai replied at 2016-12-9 12:41
what about wmv3?
software decode or HW or not supported
I know wmv3 is not playable

I'm looking into it. WMV3 is threated completely different than WMV1 and WMV2. Don't let few lines of code difference to confuse you.

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

Points Rule

Quick reply Top Return list