Ecosyste.ms: Awesome

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

Awesome Lists | Featured Topics | Projects

https://github.com/hizkifw/gifthumb

create gif thumbnails from video
https://github.com/hizkifw/gifthumb

Last synced: about 1 month ago
JSON representation

create gif thumbnails from video

Awesome Lists containing this project

README

        

# gifthumb

Generate GIF / animated thumbnails from a video URL.

## How it works

- User requests `/thumb?url=...`
- gifthumb runs `ffprobe` to check the video at the URL
- gifthumb runs N instances of `ffmpeg` to capture frames at equal intervals
across the whole video duration
- another `ffmpeg` instance is run to combine the frames into a gif
- gif is cached and served to user

## How to use

Copy `config.example.json` to `config.json` and run

```
go run ./main.go
```