https://github.com/beshrkayali/gifbook
GifBook: Create sequenced Gifs from video clips and subtitle files.
https://github.com/beshrkayali/gifbook
Last synced: 8 months ago
JSON representation
GifBook: Create sequenced Gifs from video clips and subtitle files.
- Host: GitHub
- URL: https://github.com/beshrkayali/gifbook
- Owner: beshrkayali
- Archived: true
- Created: 2015-08-16T09:44:38.000Z (over 10 years ago)
- Default Branch: master
- Last Pushed: 2022-11-22T04:28:52.000Z (about 3 years ago)
- Last Synced: 2025-03-20T17:51:13.252Z (9 months ago)
- Language: Python
- Homepage:
- Size: 34 MB
- Stars: 31
- Watchers: 5
- Forks: 2
- Open Issues: 1
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
- starred-awesome - gifbook - GifBook: Create sequenced Gifs from video clips and subtitle files. (Python)
README
# Gif Book
Create sequenced Gifs from video clips and subtitles.
## Prerequisites
Make sure that you have ImageMagick and GhostScript installed:
```bash
$ brew install ImageMagick
$ brew install gs
```
## Installation
```bash
$ pip install gifbook
```
## Using `gifbook` as a command line tool
```bash
$ 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:
```bash
$ gifbook --help
```
## Using `gifbook` as a module
```python
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](http://www.gnu.org/licenses/gpl.txt)
