videofy

0.0.2 • Public • Published

videofy

Covert animated gif to mp4.

Why?

  • Inspired from twitter gif comment function
  • MP4 video is much smaller than Gif, nearlly 10 times smaller

Source File

Source file 627KB

Source Video

Target File 26KB

  • User can control the speed of video

Example

videofy('input.gif', 'output.mp4', function(error) {
    

})

Equally with

convert input.gif tmp_%05d.jpg
ffmpeg -f image2 -r 5 -i tmp_%05d.jpg -c:v libx264 output.mp4

Dependency

The system must install ffmpeg and imagemagick

Versions

Current Tags

  • Version
    Downloads (Last 7 Days)
    • Tag
  • 0.0.2
    6
    • latest

Version History

  • Version
    Downloads (Last 7 Days)
    • Published
  • 0.0.2
    6
  • 0.0.1
    0

Package Sidebar

Install

npm i videofy

Weekly Downloads

6

Version

0.0.2

License

MIT

Last publish

Collaborators

  • zjhiphop