Skip to content

Instantly share code, notes, and snippets.

@bperel
Created April 1, 2014 14:47
Show Gist options
  • Save bperel/9915616 to your computer and use it in GitHub Desktop.
Save bperel/9915616 to your computer and use it in GitHub Desktop.
PhantomJs video capture
time ./phantomjs-1.9.7-linux-x86_64/bin/phantomjs test.js |ffmpeg -c:v png -f image2pipe -r 10 -i - -y test.mp4
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment