GifBook: Create sequenced Gifs from video clips and subtitle files.
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Failed to load latest commit information.
demo
.gitignore
README.md
gb.py
gb_generate.py
requirements.txt
setup.py

README.md

Gif Book

Create sequenced Gifs from video clips and subtitles.

Prerequisites

Make sure that you have ImageMagick and GhostScript installed:

$ brew install ImageMagick
$ brew install gs

Installation

$ pip install gifbook

Using gifbook as a command line tool

$ 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

Using gifbook as a module

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)

Demo Gifs

License

License under GNU GPL

GNU GPL LOGO