Video overlay on maps

Is it possible to overlay a video over maps in bokeh?

That is instead of overlaying an image, l(ike here, read video frames from an avi file and overlay+update frames?

Related question is can one use bokeh server and animate? That is read the frames independently say using opencv and update in a loop?

And a new user question – animation is not possible without using server?


Shouldn’t be that hard via an extra div with position: absolute on top of the plot. But it won’t be managed by Bokeh in any way

No reason for it to be impossible. But I’m not sure about the performance. You would be passing full, uncompressed, frames down the wire. It’s much, much more resource-intensive than just streaming a compressed video.

It is possible. An example.

Another relevant example (requires OpenCV):