Kodi Community Forum
renderCapture seems to be failing - Printable Version

+- Kodi Community Forum (https://forum.kodi.tv)
+-- Forum: Development (https://forum.kodi.tv/forumdisplay.php?fid=32)
+--- Forum: Add-ons (https://forum.kodi.tv/forumdisplay.php?fid=26)
+--- Thread: renderCapture seems to be failing (/showthread.php?tid=265267)



renderCapture seems to be failing - everdu - 2016-03-21

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/blo...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!