Convert videos to gifs using ffmpeg and gifsicle
JavaScript
Switch branches/tags
Nothing to show
Latest commit 1f34839 Jul 4, 2014 Joshua Appelman Adds maintainers to package.json.
Permalink
Failed to load latest commit information.
bin ocd Aug 31, 2013
.gitignore Initial commit Aug 29, 2013
.npmignore Initial commit Aug 29, 2013
History.md Release 0.2.0 Aug 31, 2013
Makefile Initial commit Aug 29, 2013
Readme.md graphicsmagic -> graphicsmagick Nov 28, 2013
example.js add auto delay Aug 29, 2013
index.js Better use of path Nov 10, 2013
package.json Adds maintainers to package.json. Jul 4, 2014

Readme.md

gify

Turn videos into gifs.

Installation

$ npm install gify

Also requires ffmpeg and 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

  • width max width [500]
  • height max height [none]
  • delay between frames [auto]
  • rate frame rate [10]
  • start start position in seconds or hh:mm:ss[.xxx] [0]
  • duration length of video to convert in seconds or hh:mm:ss[.xxx] [auto]

License

MIT