Recording a website with PhantomJS and FFMpeg

When I realised you could easily generate screenshots from a site with PhantomJS I just needed to know if I could take it one step further, and record a video. The goal What I wanted was to record 10 seconds of video from a random website and output it as a .mp4. For this short demo I decided we should go with one of the fun examples on Pixi.JS as they’re interesting to capture.