Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/zjhiphop/videofy

Covert animated gif to mp4.
https://github.com/zjhiphop/videofy

Last synced: 3 days ago
JSON representation

Covert animated gif to mp4.

Awesome Lists containing this project

README

        

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](https://github.com/zjhiphop/videofy/raw/master/tmp/test.gif)
> 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](https://www.ffmpeg.org/) and [imagemagick](http://www.imagemagick.org/)