🚀 Big News: Socket Acquires Coana to Bring Reachability Analysis to Every Appsec Team.Learn more
Socket
DemoInstallSign in
Socket

gify

Package Overview
Dependencies
Maintainers
1
Versions
3
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

gify

Convert videos to animated gifs

0.2.0
latest
Source
npm
Version published
Weekly downloads
174
-13%
Maintainers
1
Weekly downloads
 
Created
Source

gify

Turn videos into gifs.

Installation

$ npm install gify

Also requires ffmpeg and graphicsmagic.

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

Keywords

gif

FAQs

Package last updated on 31 Aug 2013

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts