mirror of
https://github.com/vimagick/dockerfiles.git
synced 2025-12-30 09:45:18 +01:00
add scenedetect
This commit is contained in:
23
scenedetect/Dockerfile
Normal file
23
scenedetect/Dockerfile
Normal file
@@ -0,0 +1,23 @@
|
||||
#
|
||||
# Dockerfile for scenedetect
|
||||
#
|
||||
|
||||
FROM python:3.11-bookworm
|
||||
MAINTAINER EasyPi Software Foundation
|
||||
|
||||
ARG SCENEDETECT_VERSION=0.6.3
|
||||
ARG FFMPEG_VERSION=6.1
|
||||
|
||||
RUN set -xe \
|
||||
&& apt update \
|
||||
&& apt install -y curl dumb-init fonts-noto-cjk xvfb xz-utils \
|
||||
&& curl -sSL https://johnvansickle.com/ffmpeg/releases/ffmpeg-release-amd64-static.tar.xz \
|
||||
| tar xJC /usr/bin/ ffmpeg-${FFMPEG_VERSION}-amd64-static/ffprobe ffmpeg-${FFMPEG_VERSION}-amd64-static/ffmpeg --strip 1 \
|
||||
&& ffmpeg -version \
|
||||
&& ffprobe -version \
|
||||
&& rm -rf /var/lib/apt/lists/*
|
||||
|
||||
RUN pip install scenedetect[opencv-headless]==$SCENEDETECT_VERSION
|
||||
|
||||
ENTRYPOINT ["scenedetect"]
|
||||
CMD ["--help"]
|
||||
Reference in New Issue
Block a user