abrenoch / hyperion-android-grabber

Screen grabber for hyperion
MIT License
189 stars 31 forks source link

Android tv pie hyperion grabber #153

Open timstipdonk opened 4 years ago

timstipdonk commented 4 years ago

Ever since I've updated my mibox S to android pie the hyperion screen grabber stopped working in all media apps (even the ones that did use to work, I'm aware of the DRM limitations). Do you think android pie has changed some of its api's and therefore the grabber is unable to work in certain applications?

abrenoch commented 4 years ago

Hey there. Nothing with the apis have changed in android pie. Perhaps there was a firmware change or something with your hardware? It's unfortunate that the app's behavior can be unpredictable across different hardware, but that is the nature of this sort of thing.

linarense commented 4 years ago

I have the same problem. Any solution??? Thanks for your great work.

scotie commented 4 years ago

Same here. After updating to Android 9 it stopped working everywhere except app drawer.

Did a factory default and installed the latest release. Still not working. Used it in Kodi and Smart YouTube TV.

mchauvel commented 4 years ago

Is there a way to provide some logs to help to debug this point ? Same problem here with Kodi and Emby

abrenoch commented 4 years ago

Unfortunately I don't think this is the sort of thing having logs is going to help... If the app appears to work correctly in the app drawer but nowhere else, that would mean the grabber is running, but that there must be a protected surface drawing the rest of the screen content (which seems odd). When the android system is delivering an image from a protected surface to the grabber, it comes thru as just black. Without some detailed changelog of what exactly has changed since the update (I looked around a little but came up empty), I'm not sure I can speak with any confidence on this problem.

Really stinks, wish I could offer more help right now!

There might be a chance to get this running again if you can find a different ROM to run, but I'm just speculating

linarense commented 4 years ago

Thanks abrenoch. Could help if we root the mibox S?

abrenoch commented 4 years ago

It is possible rooting might help, if you use something like this. I can't guarantee anything here though. To be honest, rooting might have its own set of drawbacks as far as DRM behavior goes.

mchauvel commented 4 years ago

With Kodi in Video Settings, i disabled "MediaCodec (Surface)" et let enabled "MediaCodec" and grabber (and hyperion kodi pluggin) works now. Can other mibox owner confirm this ?

scotie commented 4 years ago

With Kodi in Video Settings, i disabled "MediaCodec (Surface)" et let enabled "MediaCodec" and grabber (and hyperion kodi pluggin) works now. Can other mibox owner confirm this ?

I couldn't find this setting in Kodi. I'm using Kodi 18.5. P.S. It 8s working in the Kodi menu, but not during playback

mchauvel commented 4 years ago

See my video settings screen (in french) Screenshot_20200222-122036

scotie commented 4 years ago

See my video settings screen (in french)

Yes, this works, but it affects the playback in a bad way.

scotie commented 4 years ago

I've found that casting a YouTube video from my phone also works with grabber. Pretty sure it didn't work in the previous Android version

scotie commented 4 years ago

Hi, any new regarding this issue? Something I can do to help?

coolwormgit commented 4 years ago

same issue here, working only with smartube.... and android menu... with mxplayer only if you change to software decode.. not working with hw+ , any fix??

scotie commented 4 years ago

same issue here, working only with smartube.... and android menu... with mxplayer only if you change to software decode.. not working with hw+ , any fix??

Do you mean Smart YouTube TV? How did you get it to work? It's not working for me after Android 9 update.

As I understand Mi box s with Android 9 always has deinterlacing enabled, hence only software decoding is working

coolwormgit commented 4 years ago

yes smart youtube... i didnt do anything... it was the only working app...

scotie commented 4 years ago

Any news regarding this issue? Something to try?

iy2koi commented 3 years ago

Today when I was watching netflix I realized that the ambilight is on and working. Then I closed the app, opened again and it's never working again since then. So I think there has to be a service or something and if we can manage to kill or froze that, maybe we can use the framegrabber in drm protected apps.

PeterMalast commented 2 years ago

Today i tried Hyperion.ng + Google Chromecast 4 and it's working ! maybe because Chromecast 4 using Android 10 ? well youtube app playback isn't smooth playback :( but leds works and Kodi app working awesome only for 1080p ! I didn't have to turn off MediaCodec (Surface) and for 4k resolution isn't smooth playback but problem is maybe in my hyperion.ng settings because in my capturing hardware i can't set 4k resolution, i can choose only 1080p, one times i had similar problem but i forgot how solved it. Recommended use Android version hyperion tv !!!

ihrapsa commented 2 years ago

Any news on mibox s? It's weird that only the menus work even if the content is not drm protected.

psbankar commented 2 years ago

I have Mi TV from Xiaomi running Android Pie and screen grab works fine in it. But in mibox, even common apps like YouTube, Plex don't work

thehijacker commented 1 year ago

Same issue here with Mi Stick 4K. Menu is working but no played video is shown. No matter with which app (DRM or not). Anyone figure this out?

TheNewsYorkTime commented 1 month ago

I have an AirTv mini with sling stuff disabled. Whenever I try to screen grab a video on Netflix, Disney Plus, or YouTube the lights turn off. Even casting YouTube to the TV is broken. Casting a normal video works, as does the splash screen and login page of Disney Plus. Amazon menus work. Netflix doesn't work at all. So do YouTube menus. I'm running android 9.