I would like to share with you simple application for ambient lightning of TV (tested on LE46B650)
App works with TV channels, DLNA and files from usb drives. It cannot handle dynamic scenes smoothly but for normal TV shows it is enought.
To build it you need ESP8266 that is connected to the same network as TV, +-4m individually addressable led strip and powersupply.
In config file of ambi app update ip-addres of ESP8266, number of leds and its port. Green button on remote turns on abmi and yellow turns it off.
Hope that someone finds it usefull.
>>> Examples <<<
File on USB drive
>>> APP and ESP8266 sketch <<<
If there is any way to access memory containing current frame that is showed than it could work,
but should look for more info regarding this in their forum as my knowledge of f/h series very limited.
Bellow you can find sources for this App and also simple simulator so that you can develop without using any hardware (led-strip or esp)
The extraction of color is based on old sources of PVR that I found online.
The whole proccess of sampling is based on averaging R,G,B parst of color on areas around edges of display and sending it via UDP to remote host for rendering. Note that it is very time consuming proccess without using any SIMD instructions (I am not aware that they are exposed somehow in B650) and thus App is skipping some pixels to compensate for it ... and this leads to problems that sometimes color sampled is diferent that color that is displayed on TV. The HW part especialy ESP-8266 do some post processing of samples that are recieved and tries to smooth it.
If you want to look more into it, the information how to setup devel env. for it should be prodived in the link bellow. I stoped messing with it at this point, as the result was satisfying for me in most cases. Sources
thanks. So the key is to find the image in the memory and you found it in the PVR sources. Indeed, this is really accessing the TV at a very low level. Is the time consuming part to extract the color info at the edges or the UDP transmission? In the first case, one could try to outsource that part to a dedicated HW, e.g. a Raspi - there is already software that can do the job (Hyperion). If the latter is the problem, this won´t be a solution.
Anyway, the tricky part will be to access image in the memory for other TVs (E/F/G)...
So in short If you use mainly use TV lik it is without any external video sources like SET-TOPBOX or PC connected via HDMI this app is for you,
otherwise you should use more robust setep like Raspi + Hyperion or other. Also the budget for accessories needed is more pricy when you use Raspi + Hyperion ...