mirror of
https://github.com/onlyhavecans/perfect-gif.git
synced 2025-11-04 12:50:56 -08:00
A wrapper to moviepy optimized for bulk extraction of perfect loop gifs from animation
* add support for optimizing output files * updated ImageMagick arguments * updated ImageMagick arguments * added try/except to handle ImageMagick errors better * don't auto-remove original image in case of optimization issues |
||
|---|---|---|
| .gitignore | ||
| gifit.py | ||
| LICENSE | ||
| README.md | ||
| requirements.txt | ||
perfect-gif
A wrapper to moviepy optimized for bulk extraction of perfect loop gifs from animation
Usage
python3 -m venv env
source env/bin/activate
python3 -m pip install --upgrade pip wheel
python3 -m pip install -r requirements.txt
./env/bin/python3 gifit.py [--outdir dir] video [video ...]
When run it will create a folder for every video and put it's gifs in that folder.
Default base output dir is cwd