Please select To the mobile version | Continue to access the desktop computer version

OrangePi

 Login            
 Register            
Search
Hot search: orangepi
Author: giaur500

Kodi 17 ?

[Copy link]

0

Threads

18

Posts

58

Credits

Registered member

Rank: 2

Credits
58
Post time 2017-5-17 00:36:14 | Show all posts
jpascher replied at 2017-5-15 18:48
I did give it a tray, on orangepipc+
I got it working with the image he provided. The provided ima ...

Hi,
I uploaded the images for other boxes too, but I think these issues are general and may be caused by network or video drivers not working correctly.
These is a first attempt to build the image with new  Kodi, hoping someone else could work with the image; in my blog I treat various topics and the multimedia boxes are one of them. If I have enough time I try to look into these issues.

Regards
amicrodev

0

Threads

4

Posts

16

Credits

Novice

Rank: 1

Credits
16
Post time 2017-5-18 15:48:04 | Show all posts
Understand, and i hope you find time to get on with it. I also have the impression that something is just not right with the Network drivers. My be someone can test if a locally saved Video with the network drivers disabled would perform normally. Best regards, Johann

0

Threads

4

Posts

16

Credits

Novice

Rank: 1

Credits
16
Post time 2017-5-18 16:02:54 | Show all posts
I also think there is something not as it should be concerning the network. My be someone can save a test video locally and turn off all network to see how it performs without any Network traffic.  also look at at this answer here: https://forum.armbian.com/index. ... t&comment=31762
Did not have time to check if the right video driver is in use.

0

Threads

18

Posts

58

Credits

Registered member

Rank: 2

Credits
58
Post time 2017-5-18 19:27:13 | Show all posts
jpascher replied at 2017-5-18 16:02
I also think there is something not as it should be concerning the network. My be someone can save a ...

Hi jpascher,
I looked at the logs and found that I missed some patches for the kodi application, so the cedarx drivers are built and available with the image,
but not called by the application.
As soon as possible I try to correct this aspect.

Regards

amicrodev

0

Threads

20

Posts

118

Credits

Registered member

Rank: 2

Credits
118
Post time 2017-5-18 21:33:19 From the mobile phone | Show all posts
Can someone build openelec/libreelec opi with mpv player?

0

Threads

2

Posts

31

Credits

Novice

Rank: 1

Credits
31
Post time 2017-6-1 23:01:18 | Show all posts
Hi,
Just finished testing Libreelec-8.0. Followed 'amicrodev' instructions and built an image (OpiOne). The instructions are easy and it was fun to compile an image even as it took a really long time to finish.



Noticed as stated by 'amicrodev' no HW acceleration so no HD content can be played smoothly. Found cedarx it was built nicely and is present at the image but for some reason kodi ignores it.
Any advice where to look for the problem ? Tried the log files but not closer to a solution. Maybe someone with a better understanding of Kodi system can point the way.
I am new to this but very interested in finding a solution.

Did some testing with the network it seems to work nicely and its fast 8-9 Mbs to an usb HDD. Will continue to test.

Anyone ?

0

Threads

2

Posts

31

Credits

Novice

Rank: 1

Credits
31
Post time 2017-6-4 07:28:53 | Show all posts
Hi,
Just an update.
Examining the log files from Libreelec and comparing to Openelec made by 'jernej' i have found that Openelec uses:

01:00:20 T:3034976256  NOTICE: Default DVD Player: dvdplayer
01:00:20 T:3034976256  NOTICE: Default Video Player: dvdplayer
01:00:20 T:3034976256  NOTICE: Default Audio Player: paplayer
3:59:16 T:2766230432  NOTICE: Creating video codec with codec id: 13
23:59:16 T:2766230432   DEBUG: CDVDFactoryCodec: compiled in hardware support: AMCodec:no CedarX:yes MediaCodec:no OpenMax:no libstagefright:no VDPAU:no VAAPI:no iMXVPU:no MMAL:no
23:59:16 T:2766230432   DEBUG: FactoryCodec - Video: cedarx-xxx - Opening
23:59:16 T:2766230432   DEBUG: Codec profile 15 level 5
23:59:16 T:2766230432   DEBUG: CDVDVideoCodecSunxi::OpenDecoder - AVCodecID(13) -> CedarXID(0x10a)
23:59:16 T:2766230432   DEBUG: CDVDVideoCodecSunxi::OpenDecoder - ExtraSize[59]
23:59:16 T:2766230432    INFO: CDVDVideoCodecSunxi: Opened AllwinnerTech CedarX Codec
23:59:16 T:2766230432   DEBUG: FactoryCodec - Video: cedarx-xvid - Opened
23:59:16 T:2766230432  NOTICE: Creating video thread

And Libreelec:

22:16:07.739 T:3037264496  NOTICE: Default Video Player: VideoPlayer
22:16:07.739 T:3037264496  NOTICE: Default Audio Player: paplayer
22:16:08.923 T:3005215648   DEBUG: ffmpeg[B31FF3A0]: [SWR] Using fltp internally between filters
22:16:08.925 T:3015463840   DEBUG: ffmpeg[B3BC53A0]: [SWR] Using fltp internally between filters

It looks like dvdplayer is working very nicely with cedarx but the videoplayer is working in SW mode only.

Is there a way to use dvdplayer in libreelec ?

A part of my log file:
https://pastebin.com/ambkGpPw

0

Threads

49

Posts

613

Credits

Senior member

Rank: 4

Credits
613
Post time 2017-6-5 03:43:43 | Show all posts
I don't think it's that easy to use cedarx. You can compile it, but from what i read (but not sure i understand it well), cedarx is missing code to make it compatible with known render methods. Maybe the newer versions have some improvements into this, i don't know. The author of OpenElec port - jernej, wrote, that he uses GL implementation of cedarx. How he manage to do this, i don't know. Maybe you should check his code in github. If you have some success whit this in future, please share. But you have also be aware of GPL violations of this AllWinner semi working thing, called cedarx.

3

Threads

165

Posts

1203

Credits

Gold member

Rank: 6Rank: 6

Credits
1203
Post time 2017-6-5 20:15:37 | Show all posts
I'm actually curious. Just a theoretical question:

If we would ignore GPL and so on, and just include closed-source drivers. Would that enable HW accelaration on Kodi17? Probably not?

0

Threads

18

Posts

58

Credits

Registered member

Rank: 2

Credits
58
Post time 2017-6-7 20:48:37 | Show all posts
dexter2017 replied at 2017-6-4 07:28
Hi,
Just an update.
Examining the log files from Libreelec and comparing to Openelec made by 'jernej ...

Hi dexter2017,
the issue is in the kodi binary.
In the openelec 7 it includes the cedarx libraries.
If you look at the kodi patches in the Openelec github ,there is this patch

https://github.com/jernejsk/Open ... 05-H3-support.patch

that enables the communication of kodi with the cedarx binary library.

In the last kodi version the code changed so we have to adapt/rewrite the code of the DVDVideoCodecCedarX.cpp and
DVDVideoCodecCedarX.h and how to recall them in the new kodi methods.

Regards

You have to log in before you can reply Login | Register

Points Rules

Archiver|Mobile edition|Darkroom|OrangePi En ( 粤ICP备14086627号-2

2021-12-6 22:42 GMT+8 , Processed in 0.035946 second(s), 22 queries .

Powered by Discuz! X3.2

© 2014-2015 orangepibbs en.

Quick Reply To Top Return to the list