Posts: 29
Joined: Jun 2015
Reputation:
0
Hello guys
We are using Amlogic platform S812 and finding 4k 264 video can not display out as Aml decodes 4k video by hardware & display by their own video layer ,not OSD!
Now XBMC mediacodec mode using surfacetexture and render by GLES itself, Can XBMC pass the render handling to surfaceflinger? Aml deals the timestamp & OSD transparency by hwcomposer.
If 4K video display by OSD ,how should we deal with the performance? Thanks!
Posts: 29
Joined: Jun 2015
Reputation:
0
Any one give me some suggestions? Thanks!
Posts: 5,952
Joined: Sep 2008
Reputation:
201
Koying
Retired Team-Kodi Member
Posts: 5,952
For, nvidia shield, we are capable to display 4K on the GUI layer by using ANativeWindow_setBuffersGeometry with the hdmi resolution, even if the framebuffer itself is limited to 1080p.
We obviously need to know the hdmi resolution for this, and there is no standard api for this until Android M.
Assuming you are a box vendor, what's the point of using mediacodec rather than amlcodec?
Posts: 29
Joined: Jun 2015
Reputation:
0
Oh Thanks a bunch for your reply ^_^,do you have a AML platform to reproduce the issue?
The reason we turn to mediacodec api is that android version above 5.0 with selinux has strict permission control to device access.
As you know we need to give many device 666 permission to using amlcodec.
For other APK using mediacodec api ,we send 4K video es streams to decode & display out under kernel level as amlcodec do. under XBMC'S mediacodec render method ,video is covered by OSD. maybe need do some transparency . For other APK, hwc_overlay_compose is handled by surface flinger, we did the transparency and video axis control here.
nvidia shield, you mentioned, does this means they scaled 4k video to 1080p and display out by OSD ?
Posts: 5,952
Joined: Sep 2008
Reputation:
201
Koying
Retired Team-Kodi Member
Posts: 5,952
Well, I have aml devices but no 4K display, so I cannot really reproduce, unfortunately...
From which company are you (you can PM me the response)?
If what you say is confirmed, maybe some kind of fundraising amongst box vendors and amlogic might be organized so as to provide me with 4K hardware...
Posts: 29
Joined: Jun 2015
Reputation:
0
er,It seems I have no permission to send private message to you. could you please give me you email address, then I can get you privately?
Posts: 29
Joined: Jun 2015
Reputation:
0
Thanks very much, Koying. I have got your mail and sent one to you.
Posts: 29
Joined: Jun 2015
Reputation:
0
Hi Koying ,have you got my mail? I still have no permision to end private message, so sad
Posts: 16,946
Joined: Feb 2011
Reputation:
256
2015-06-09, 11:07
(This post was last modified: 2015-06-09, 11:07 by Memphiz.)
Could you do it in the public? Its really annoying to read that you have a conversation - but obviously noone can read what it is about. Either do it in the public - or do it in private entirely please. We are still an open source project - that includes discussions.
AppleTV4/iPhone/iPod/iPad: HowTo find debug logs and everything else which the devs like so much:
click here
HowTo setup NFS for Kodi:
NFS (wiki)
HowTo configure avahi (zeroconf):
Avahi_Zeroconf (wiki)
READ THE IOS FAQ!:
iOS FAQ (wiki)
Posts: 29
Joined: Jun 2015
Reputation:
0
Well,Memphiz, I do like very much to discuss with you guys----excellent XBMC contributors .
As some contains personal informations, so please understand & wish you a good mood.
Posts: 29
Joined: Jun 2015
Reputation:
0
Hi Koying
Have you got what AML did for fully 4K support?
And have you got any ideas for this issue? to change XBMC using surfaceview, let hwcomposer to composite using hwc_overaly?
Thanks
XBMC-lover & trouble-maker
Posts: 5,952
Joined: Sep 2008
Reputation:
201
Koying
Retired Team-Kodi Member
Posts: 5,952
Not sure what you mean by "get".
If it's code from you, implementing SurfaceView, no, I didn't get it.
If it's the fact that we should implement it, yes, I will at some point if nobody else provide a PR.
Kodi not being my dayjob (and this not being an immediate requirement to any devices on the market), I cannot tell when, though.
Posts: 29
Joined: Jun 2015
Reputation:
0
Like "I get it" means "I understand it" , "get" here means understand ^_^
What does "PR" means?^_^
Very glad to hear that you will at some point for this issue and the fact is that we really need you guys' help to implement it.
So, please help . Let kodi show really 4K video to the users asap^_^.
Thanks !
XBMC-lover & trouble-maker