https://github.com/uiur/videotogif
A minimal bash script that converts a video to a gif
https://github.com/uiur/videotogif
Last synced: 8 months ago
JSON representation
A minimal bash script that converts a video to a gif
- Host: GitHub
- URL: https://github.com/uiur/videotogif
- Owner: uiur
- Created: 2015-06-24T06:18:54.000Z (almost 11 years ago)
- Default Branch: master
- Last Pushed: 2015-06-24T06:36:10.000Z (almost 11 years ago)
- Last Synced: 2025-02-01T17:05:07.805Z (over 1 year ago)
- Language: Shell
- Homepage:
- Size: 113 KB
- Stars: 8
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# videotogif
A minimal bash script that converts a video to a gif.
This generates an optimized gif using ffmpeg and imagemagick, gifsicle.
## Usage
``` bash
videotogif source.mp4 > out.gif
```
Also you can use this as filter:
``` bash
cat source.mp4 | videotogif > out.gif
```
## Prerequisites
You need ffmpeg, imagemagick and gifsicle.
## Install
Put `videotogif` into your PATH.
``` bash
curl https://raw.githubusercontent.com/uiureo/videotogif/master/videotogif > ~/bin/videotogif
chmod a+x ~/bin/videotogif
```
## License
MIT