Skip to content
This repository has been archived by the owner on Aug 1, 2023. It is now read-only.
/ gifbook Public archive

GifBook: Create sequenced Gifs from video clips and subtitle files.

Notifications You must be signed in to change notification settings

beshrkayali/gifbook

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

58 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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

About

GifBook: Create sequenced Gifs from video clips and subtitle files.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Languages