Rendering video from a web page with headless Chrome, frame by frame
Screen recording a page gives you dropped frames and jitter. Deterministic rendering means you own the clock, capture one frame per tick and pipe the frames into ffmpeg. Here is how we built it, and which GPU flags matter in a container.