https://github.com/cs01/gifit
convert video to gif
https://github.com/cs01/gifit
Last synced: 12 months ago
JSON representation
convert video to gif
- Host: GitHub
- URL: https://github.com/cs01/gifit
- Owner: cs01
- Created: 2022-10-12T16:16:12.000Z (over 3 years ago)
- Default Branch: main
- Last Pushed: 2022-10-12T16:26:46.000Z (over 3 years ago)
- Last Synced: 2025-01-14T11:17:10.269Z (over 1 year ago)
- Language: Python
- Size: 3.91 KB
- Stars: 0
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# gif it
a single file python script to convert videos to gif
## install
```bash
curl https://raw.githubusercontent.com/cs01/gifit/main/gifit.py -o gifit.py
chmod +x gifit.py
```
## use
```
./gifit.py myvideo
# creates myvideo.gif
```
## api
```
> ./gifit.py --help
usage: gifit.py [-h] [--output OUTPUT] [--fps FPS] video
Convert a video to gif with ffmpeg
positional arguments:
video path to video
optional arguments:
-h, --help show this help message and exit
--output OUTPUT output path to gif (defaults to video name with .gif
extension)
--fps FPS frames per second
```