When in news.yc I find posts like “iPhone 5 website teardown: How Apple compresses video using JPEG, JSON, and <canvas>” I really fall in love.
Seriously. So much in love that I need to try it by myself. Hence, VideoCanvas.
VideoCanvas is a mix of PHP, ffmpeg and ImageMagik.
It relies on ffmpeg to extract video frames in separate images. Then with the ImageMagik extension of PHP it creates a minimum set of tiles to recreate the video in the <canvas>.
(Edit: the JS code has been updated to use requestAnimationFrame when available)