silence

1.1.1 • Public • Published

silence

NPM version Build status Test coverage Dependency Status License Downloads

Another Video -> GIF creation tool. Similar to gify except:

  • It only uses ffmpeg, so it's 10x faster.
  • It uses ffmpeg's new palettegen to create better GIFs.
  • It will eventually support APNG and animated WebP when ffmpeg supports it.
  • Requires the latest version of ffmpeg.

It uses settings from this post: http://blog.pkh.me/p/21-high-quality-gif-with-ffmpeg.html

It also supports slicing videos into (silent) videos in the encoding of your choice:

  • vp8 (webm)
  • vp9
  • x264 (mp4)
  • x265

API

silence([input], options).then( options => )

Options:

  • .input - input filename
  • .output - output filename
  • .format=gif - alternative to .output. Creates a specific format.
  • .fps=20 - number of frames per second
  • .start_time=0 - a string of the form hh:mm:ss[.ms] or in milliseconds
  • .max_size=320 - maximum dimension of the file
  • .duration - milliseconds

options is returned, mutated, with .output always defined.

Readme

Keywords

Package Sidebar

Install

npm i silence

Weekly Downloads

17

Version

1.1.1

License

MIT

Last publish

Collaborators

  • jongleberry