rupakg / docker-ffmpeg-thumb

Docker image for creating thumbnail images from a video file.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

docker-ffmpeg-thumb

Derived from the base 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.

About

Docker image for creating thumbnail images from a video file.


Languages

Language:Dockerfile 64.1%Language:Shell 35.9%