Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
15 changes: 9 additions & 6 deletions Dockerfile
Original file line number Diff line number Diff line change
@@ -1,13 +1,16 @@
FROM jjanzic/docker-python3-opencv:opencv-3.4.1

# Download PySceneDetect
WORKDIR /tmp
RUN wget https://github.com/Breakthrough/PySceneDetect/archive/v0.5.zip -qO /tmp/pyscenedetect.zip \
&& unzip -q /tmp/pyscenedetect.zip
# Specify a particular PySceneDetect release (e.g., '0.5') or leave blank for
# the latest version
ARG SCENEDETECT_VERSION=""

# Install PySceneDetect
WORKDIR /tmp/PySceneDetect-0.5
RUN python setup.py install
RUN apt-get install -y python-pip && \
if [ "$SCENEDETECT_VERSION" = "" ]; then \
pip install scenedetect; \
else \
pip install scenedetect=="$SCENEDETECT_VERSION"; \
fi

# Install MKVToolNix. Before we have to install apt-https support and add sources
RUN apt-get install -y apt-transport-https \
Expand Down