butter-desktop
butter-desktop copied to clipboard
[feature] Ambience lighting (Ambilight like) for the poor
Description
Hi,
Not something essential, but an idea I want to share with you in case someone is interested and want to play with that.
I was thinking it could be fun to have an Ambilight like feature in Butter (maybe better to have it as a plugin).
There are some RGB LED lights on the market which have APIs to control them (Yeelight, Philips HUE) and some packages are availlable on npmjs repo (Yeelight, Philips HUE) .
The Yeelight lights are more affordable but I guess if it's done for one protocol it could be done for the other one more easily later.
Someone have implemented this (yeelights only) in kodi addons YeeMee (demo with 3 yeelight lights)
At this moment, what I have difficulty to think about, is the best way to capture the different video areas main color. I was thinking it could be done by extracting frames from video every 300-500ms, but I guess it's an heavy process and I don't know if it could be done with incomplete video file. Maybe there are best way to do that.
Have a good day ;)