Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/beshrkayali/gifbook
GifBook: Create sequenced Gifs from video clips and subtitle files.
https://github.com/beshrkayali/gifbook
Last synced: 3 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 9 years ago)
- Default Branch: master
- Last Pushed: 2022-11-22T04:28:52.000Z (about 2 years ago)
- Last Synced: 2024-09-23T01:44:41.648Z (4 months ago)
- Language: Python
- Homepage:
- Size: 34 MB
- Stars: 30
- 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 GifBookgb = 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
![](../master/demo/Night.Of.The.Living.Dead.1968.720p.BRRip.x264-x0r.mkv_50.gif)
![](../master/demo/Night.Of.The.Living.Dead.1968.720p.BRRip.x264-x0r.mkv_51.gif)
![](../master/demo/Night.Of.The.Living.Dead.1968.720p.BRRip.x264-x0r.mkv_52.gif)
![](../master/demo/Night.Of.The.Living.Dead.1968.720p.BRRip.x264-x0r.mkv_53.gif)
![](../master/demo/Night.Of.The.Living.Dead.1968.720p.BRRip.x264-x0r.mkv_54.gif)
![](../master/demo/Night.Of.The.Living.Dead.1968.720p.BRRip.x264-x0r.mkv_55.gif)## License
License under [GNU GPL](http://www.gnu.org/licenses/gpl.txt)![GNU GPL LOGO](http://www.gnu.org/graphics/gplv3-127x51.png)