Convert a GIF image into an HTML5-ready video for considerably better file sizes. Much like gfycat, except you can process and host it yourself.
Returns a transform stream which takes a GIF buffer as input, and spits out a video file on the other side.
var createStream = require('gif-video')
var fs = require('fs')
fs.createReadStream('input.gif')
.pipe(createStream({ height: 200 }))
.pipe(fs.createWriteStream('output.webm'))options will be passed onto the
stopmotion module, with the exception
of inputCodec which is forced to be gif.
gif-video depends on you having ffmpeg in your path,
with support for webm enabled. You can do
this easily using homebrew:
brew install ffmpeg --with-libvpx --with-libvorbis --with-fdk-aaccMIT. See LICENSE.md for details.

