Skip to content

Instantly share code, notes, and snippets.

@tsbits
Last active December 31, 2015 12:39
Show Gist options
  • Save tsbits/7987317 to your computer and use it in GitHub Desktop.
Save tsbits/7987317 to your computer and use it in GitHub Desktop.
Video to frame player video
//FFMPEG PART
ffmpeg -i "path/to/the/video.ext" -an -f image2 -q:v 8 "path/to/destination/folder/%d.ext"
-> -q:v n ( quality : n = int 1 -> 32 where 1 is best than 32 )
//FRAME PLAYER PART ( http://vagnervjs.github.io/frame-player/ )
cd converter
node app.js x y folder/to/imgs/ json/video.json
-> x : startImgNumber, y : endImgNumber
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment