• Stars
    star
    121
  • Rank 293,924 (Top 6 %)
  • Language
    Shell
  • Created over 9 years ago
  • Updated about 2 years ago

Reviews

There are no reviews yet. Be the first to send feedback to the community and the maintainers!

Repository Details

Turn your videos into palette-mapped gifs with this easy script

FFMPEG gif script for bash

Football Coding example Gliding example

Script to generate animated gifs easily from command line.

Outputs palette-mapped .gifs with great colours & desired resolution from your videos.

Installation

  • Clone the repo
  • Install ffmpeg (you might need to install a package manager, such as homebrew for OS X)

Usage

  • Run ./gifenc [input movie file] [generated gif's name] [horizontal resolution] [frames per second (fps)]
  • i.e.: ./gifenc input.mov output.gif 720 10 will output 720px wide 10fps .gif. (chmod +x gifenc.sh might be needed to run beforehand)

Tips

  • Tweak the parameters in order to get internet-shareable sizes
  • Tested with most common movie formats

Special thanks to this article.