Remember CSS Sprites? Let's do that with video!
summary
Combines multiple camera feeds into one video sprite by laying them out in quadrants, encoding a single stream (demo at video-sprites.mux.dev) and using canvas drawImage with source x/y/width/height plus requestAnimationFrame to show only the chosen quadrant. Audio is shared as a single audio stream, so synchronization is guaranteed. Code lives on GitHub and the hack works surprisingly well but each quadrant loses resolution (a 1080 top stream makes each feed a quarter of that).
AI-written summary · about








