Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
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.
- Host: GitHub
- URL: https://github.com/zjhiphop/videofy
- Owner: zjhiphop
- License: mit
- Created: 2014-06-20T03:07:11.000Z (over 10 years ago)
- Default Branch: master
- Last Pushed: 2014-06-21T15:41:20.000Z (over 10 years ago)
- Last Synced: 2024-09-25T20:45:04.864Z (about 1 month ago)
- Language: JavaScript
- Size: 773 KB
- Stars: 25
- Watchers: 3
- Forks: 6
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
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 627KBSource 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/)