tj / node-gify

Convert videos to gifs using ffmpeg and gifsicle
297 stars 35 forks source link

gify

Turn videos into gifs.

Installation

$ npm install gify

Requires ffmpeg and graphicsmagick:

brew install ffmpeg graphicsmagick

Example

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

License

MIT