Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/rbayuokt/gifthis

Convert videos to GIFs with just one command
https://github.com/rbayuokt/gifthis

Last synced: about 1 month ago
JSON representation

Convert videos to GIFs with just one command

Awesome Lists containing this project

README

        

# Convert video to GIF

Convert videos to GIFs in just one command.

## Installation
```bash
brew install ffmpeg
brew install xquartz --cask
brew install gifsicle

npm install -g gifthis
```

## Usage

example:

```sh
gifthis -i face.mov -o output.gif --fps 10 --size 800x369 --delay 5 --optimize 3
```

Replace the options with your desired values:

--i: Input video file.

--o: Output GIF file.

--fps: Frames per second (default: 10).

--size: Max width x max height (default: 600x400).

--delay: Delay between frames in milliseconds (default: 30).

--optimize: Optimization level (0 to 3, default: 3).