0.1.0 • Published 5 years ago
node-video-to-gif v0.1.0
node-video-to-gif
Turn videos into gifs.
Project forked from https://github.com/tj/node-gify
Installation
$ npm install node-video-to-gifRequires ffmpeg and graphicsmagick:
brew install ffmpeg graphicsmagickExample
Without options:
gify('out.mp4', 'out.gif', function(err){
if (err) throw err;
});With options:
var opts = {
width: 300
};
gify('out.mp4', 'out.gif', opts, function(err){
if (err) throw err;
});Options
widthmax width 500heightmax height nonedelaybetween frames autorateframe rate 10startstart position in seconds or hh:mm:ss.xxxdurationlength of video to convert in seconds or hh:mm:ss.xxxignore_loop0for keep looping or-1not looping -1
License
MIT
0.1.0
5 years ago