this may not work for me though because i need to record a css-scaled, hard-edges (pixelated) canvas. (which works in ff but not in chrome) and want to do this at 60fps, so on each reqAnimationFrame.
maybe i can disable imagesmoothing on the canvas and scale each frame via callback before encoding it.