Create sequenced Gifs from video clips and subtitles.
Make sure that you have ImageMagick and GhostScript installed:
$ brew install ImageMagick
$ brew install gs
$ pip install gifbook
$ gifbook Night.Of.The.Living.Dead.1968.mkv Night.Of.The.Living.Dead.1968.srt --compression 50 --resize 30
More options are available, you can check them out by typing:
$ gifbook --help
from gb import GifBook
gb = GifBook('Night.Of.The.Living.Dead.1968.720p.mkv', '~/Desktop/gifs/')
gb.set_subtitles(
"Night.Of.The.Living.Dead.1968.720p.srt",
)
gb.generate(resize=0.5, compression=30)
License under GNU GPL