Skip to content

Convert videos to high-quality animated GIFs

License

Notifications You must be signed in to change notification settings

bruvellu/gif.sh

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

9 Commits
 
 
 
 
 
 

Repository files navigation

🎥 gif.sh

Shell script for converting videos into high-quality animated GIFs.

Requires FFmpeg. Based on the article High quality GIF with FFmpeg.

Usage:
	./gif.sh [<options>] -i input.avi -o output.gif
Required:
	-i input movie	.avi, .mp4, etc
	-o output gif	.gif
Optional:
	-s start time	<mm:ss>, defaults to 00:00
	-d duration	<seconds>, defaults to input duration
	-f fps		<frames-per-second>, defaults to input fps
	-x scale	<width-in-pixels>, defaults to input width