Skip to content

zjhiphop/videofy

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

10 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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

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

About

Covert animated gif to mp4.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published