-
Notifications
You must be signed in to change notification settings - Fork 37
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Lags in 2k/4k resolution #205
Comments
Encountered the same issue here for Mi TV 4S, wondering if you have found any workaround? |
There is no solution yet. Video works only with a resolution of 1080p and less, otherwise you need to modify the backlight using an android set-top box. You can also connect a PC to a TV and use hyperion screen capture, but this is not a convenient option for viewing content, in games such a bundle works well. |
I also have the same problem. A decrease in the MEDIA_PROJECT resolution could help? |
@cr0wdelex , |
@Konnor378 |
@cr0wdelex |
@Konnor378 Tested with phone could handle 4K easily because the CPU in phone is much more powerful compare to most of android TV. I will try to grab a friend know Java and see if they could help me to modify the MEDIA_PROJECT resolution. |
@cr0wdelex |
@Konnor378 |
@cr0wdelex |
@Konnor378 Sorry for disappoint you but I just test it could run normally then the lag come back. |
I can help test if you share the file here. Mi tv 4s and tcl c755 user |
I have some idea(s) for increasing the performance:
Overall it matches what you are trying to do here: reducing the capture resolution so it's faster the processing |
|
|
Reducing the number of LEDs also reduces the resolution of the VirtualDisplay. |
@krisstakos |
You are right, it actually does almost exactly what I tried to describe EDIT: I have sorta similar spec TV as the OP and noticed slightly dropped frames under 4k HDR stream, so I guess the horse power is not quite enough. Imagine trying to do more processing on top of that :( bummer |
On the contrary, some of us rather 4k viewing and low resolution ambilight. Thanks. |
I tried to set led number to 1x1 and my TV CPU still could not even handle 2K contents. |
Hey @cr0wdelex respect for taking a look 'under the hood' but you seem to have arrived at the same conclusion I have a while ago - there isn't really all that much that can be changed to make the grabber more efficient unfortunately. The MediaProjection API (last I checked at least) is the only way I'm familiar with to grab the content of the screen, and when you mix different manufacturers and DRM into the picture it results in an API that is completely inconsistent in how it actually behaves. I originally wrote this to run on a shield TV and I guess I just got lucky since that device seems to be a powerhouse. I don't really use the app or hyperion these days, which is why this project has fallen into a state of neglect. Not to mention some life changes has left me without much time to work on this. I may look into a maintenance release, but if anybody has already gone through the trouble of updating the APIs I would welcome a PR! |
Hi. I can't watch videos in 2k/4k format. When I watch a video even in 2k, I get video lags and the video itself is like 5fps. At the same time the backlight works correctly. As a server I use my personal server pc on windows server. I suspect that capturing video in 4k TV consumes too many resources. Is there any way to reduce the capture resolution in the app? I think 720p or lowest is enough for the backlight to work, because the backlight only needs to see the colors, not the picture itself.
Another hyperhdr developer suggested that the hardware acceleration feature is disabled when using hyperion android grabber, so videos lag in high quality. Kodi has hardware acceleration for amlogic processors, which helps for TV set-top boxes, but I have android tv embedded in my TV with Mstar processor (mi tv 4s). Will this ever be implemented?
The text was updated successfully, but these errors were encountered: