Ecosyste.ms: Awesome

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

Awesome Lists | Featured Topics | Projects

https://github.com/rupakg/docker-ffmpeg-thumb

Docker image for creating thumbnail images from a video file.
https://github.com/rupakg/docker-ffmpeg-thumb

Last synced: 5 days ago
JSON representation

Docker image for creating thumbnail images from a video file.

Awesome Lists containing this project

README

        

# docker-ffmpeg-thumb

Derived from the base [jrottenberg/ffmpeg](https://hub.docker.com/r/jrottenberg/ffmpeg/) docker image, this image encapsulates the creation of a thumbnail image from a video file.

## Build image

```
docker build -t rupakg/docker-ffmpeg-thumb .
```

## Run

```
docker run -v /local/path:/tmp/workdir \
-e INPUT_VIDEO_FILE_URL='your-video-file-url' \
-e POSITION_TIME_DURATION='position-of-frame-in-video' \
-e OUTPUT_VIDEO_FILE_NAME='output.png' \
rupakg/docker-ffmpeg-thumb

```
After running the above command, the thumbnail image `output.png` will be created in the mounted `/local/path`.