Kodi Community Forum
renderCapture failing - Printable Version

+- Kodi Community Forum (https://forum.kodi.tv)
+-- Forum: Support (https://forum.kodi.tv/forumdisplay.php?fid=33)
+--- Forum: Add-on Support (https://forum.kodi.tv/forumdisplay.php?fid=27)
+---- Forum: Video Add-ons (https://forum.kodi.tv/forumdisplay.php?fid=154)
+---- Thread: renderCapture failing (/showthread.php?tid=264490)



renderCapture failing - everdu - 2016-03-15

Hi!!

I'm making one addon for interacting lights with video (like boblight or Hue ambilight but for a wifi lamp that is on development) and found that renderCapture is failing:
- on Android is failing since Jarvis version, the capture gets black image
- on a raspberry pi, the color array from capture.getImage() seems to be codified in different way, by example, a pure white pixel is rgb[36,36,36] and a red one is rgb[200,0,0]

Here you can see my repository: https://github.com/bq-halu/kodiAddon/blob/master/default.py
and this is a sample of what I'm getting when it's working: https://www.youtube.com/watch?v=yNANKZgjYX8

do anyone knows some workaround for those problems or if there is someone working on it?

thanks in advance!


RE: renderCapture failing - User 325245 - 2017-06-10

Resurrestcing old thread - because I bumped into the same problem; RenderCapture() works just fine on my Windows 10 machine but fails on Android box.... can anyone confirm that it is a bug in Jarvis for Android?


RE: renderCapture failing - gumis - 2020-04-05

Similar behaviour with Raspberry Pi 4.

getImage() method instead of capturing the screen, spits out lots of useless gibberish into a file.