Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
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.
- Host: GitHub
- URL: https://github.com/rupakg/docker-ffmpeg-thumb
- Owner: rupakg
- Created: 2017-12-19T08:03:51.000Z (almost 7 years ago)
- Default Branch: master
- Last Pushed: 2022-02-28T17:08:34.000Z (over 2 years ago)
- Last Synced: 2024-08-01T20:51:23.900Z (3 months ago)
- Language: Dockerfile
- Size: 1.95 KB
- Stars: 16
- Watchers: 2
- Forks: 16
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
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`.