abrenoch / hyperion-android-grabber

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

Fire TV only green on video #112

Open jenson2k opened 5 years ago

jenson2k commented 5 years ago

Im using a Fire TV 4K Ultra HD (afaik Fire TV 3rd Gen). The ambilight with Hyperion and the Grabber works just fine in the menus and apps but as soon as there is a video playing the LEDs will turn green on any video capture. As soon as i connect my Fire TV Stick everything works fine and right. I even resetted the FireTV, chose a lower resolution (1080 and 720) and tested a older version of this grabber.

As you can see on Picture 1 the menu on the right side is correct white, but the video is green. As soon as i go fullscreen everything turns green (pic got a little too bright). menugreenwhite fullscreengreen

abrenoch commented 5 years ago

Interesting... Some devices just seem to produce some odd results and I have not quite been able to pin down why just yet.

Are you running hyperion.ng or the older version? The new version has a web tool that lets you preview exactly what data is being sent... Would you be able/willing to give that version a go so we can get an image of what exactly is being sent?

abrenoch commented 5 years ago

Also, have you tried both the openGL and non-OGL versions? Do both produce the same results? This unfortunately could also be a DRM thing...

jenson2k commented 5 years ago

Im using the "old" hyperion. Tried both versions. I tried many video sources, so i dont think this could be anything with drm.

Version of the FireTV Box 090118004925

abrenoch commented 5 years ago

Well the DRM can live within the hardware itself - so if a protected GPU is being used to render just videos for example, then you would see these results. It appears sony bravias behave in a similar way.

Have you tried kodi at all? I've seen users report that 4k stuff causes problem for them in kodi (however on the shield it appears to work alright).

If you can try out the newer version (of hyperion), and open up the web management page for it, there is little TV icon in the top right that will show a popup that displays your LEDs. Using the 'live video' button from there will give you an image of exactly what is being sent to hyperion. I'm just curious what exactly is being sent, so that would be a way to actual see the image.

jenson2k commented 5 years ago

I just built the Hyperion NG on my RaspberryPi 3B+

After building i guess i need to run the /hyperion/bin/install_hyperion.sh script. But unfortunately i get the following error: ---> Critical Error: CPU information does not match any known releases -> abort

cat /proc/cpuinfo

processor       : 0
model name      : ARMv7 Processor rev 4 (v7l)
BogoMIPS        : 38.40
Features        : half thumb fastmult vfp edsp neon vfpv3 tls vfpv4 idiva idivt vfpd32 lpae evtstrm crc32
CPU implementer : 0x41
CPU architecture: 7
CPU variant     : 0x0
CPU part        : 0xd03
CPU revision    : 4

processor       : 1
model name      : ARMv7 Processor rev 4 (v7l)
BogoMIPS        : 38.40
Features        : half thumb fastmult vfp edsp neon vfpv3 tls vfpv4 idiva idivt vfpd32 lpae evtstrm crc32
CPU implementer : 0x41
CPU architecture: 7
CPU variant     : 0x0
CPU part        : 0xd03
CPU revision    : 4

processor       : 2
model name      : ARMv7 Processor rev 4 (v7l)
BogoMIPS        : 38.40
Features        : half thumb fastmult vfp edsp neon vfpv3 tls vfpv4 idiva idivt vfpd32 lpae evtstrm crc32
CPU implementer : 0x41
CPU architecture: 7
CPU variant     : 0x0
CPU part        : 0xd03
CPU revision    : 4

processor       : 3
model name      : ARMv7 Processor rev 4 (v7l)
BogoMIPS        : 38.40
Features        : half thumb fastmult vfp edsp neon vfpv3 tls vfpv4 idiva idivt vfpd32 lpae evtstrm crc32
CPU implementer : 0x41
CPU architecture: 7
CPU variant     : 0x0
CPU part        : 0xd03
CPU revision    : 4

Hardware        : BCM2835
Revision        : a020d3
Serial          : 00000000f8150316
jenson2k commented 5 years ago

I changed the check of RPI3 in the script to my cpu and the installation went fine. Trying to configure now.

ninovanhooff commented 5 years ago

If possible, you could try to install another screen recording app to see if it has the same problem

abrenoch commented 5 years ago

I second what @ninovanhooff suggested. Most (probably all) screen record apps all use the same API for getting the screen content. If you can't get one of those to record screen content then unfortunately this app won't work with your device.

TheNewsYorkTime commented 2 months ago

Did this go anywhere?