13 ms·
The "average color" (or whatever it is) could have been pre-computed server-side rather than tiring out the poor innocent client CPUs.
by sicariusnoctis 3y ago
The "average color" (or whatever it is) could have been pre-computed server-side rather than tiring out the poor innocent client CPUs.
- KeplerBoy 3y agoCouldn't this be done cheaply on the GPU?
- Phiwise_ 3y agoBut then Google would be responsible for that one-time computation instead of making the clients do it billions of times.
- hsbauauvhabzb 3y agoThey could do it on a few clients then ship the data back to the server. If they’re resourceful those clients don’t even need to be watching the video! (they could send it and compute the output in the background of another stream)
- TeMPOraL 3y agoBut that's a distributed problem now and those use up valuable developer time, which we know is the most important resource in the world...
- hsbauauvhabzb 3y agoYeah, but if google solve distributed processing just imagine the cost savings elsewhere (imagine involuntarily crowdsourcing video encoding, it would save them millions)
- heftig 3y agoThe effect is created by scaling and blurring the storyboard images that are also used for the seek preview. The image is refreshed every ten seconds, with a CSS opacity animation fading from the old background image to the next over a couple of seconds. This sounds like it should be relatively cheap if composition is properly accelerated.