mirror of
https://github.com/vimagick/dockerfiles
synced 2024-06-16 11:58:47 +00:00
Compare commits
No commits in common. "d49aee6ae1c4f8527b0a8af544a3ee6be949f7ba" and "1cab13aaaf16df277696a068a2b607be2b2351b3" have entirely different histories.
d49aee6ae1
...
1cab13aaaf
@ -183,7 +183,6 @@ A collection of delicious docker recipes.
|
||||
- [x] red5-arm :construction: :camera:
|
||||
- [x] rtmp-client-arm :+1:
|
||||
- [x] rtmp-server :camera:
|
||||
- [x] scenedetect
|
||||
- [x] shairplay-arm
|
||||
- [x] shoutcast :musical_note:
|
||||
- [x] tesseract
|
||||
|
@ -1,25 +0,0 @@
|
||||
#
|
||||
# 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 set -xe \
|
||||
&& pip install scenedetect[opencv-headless]==$SCENEDETECT_VERSION \
|
||||
&& scenedetect version
|
||||
|
||||
ENTRYPOINT ["scenedetect"]
|
||||
CMD ["--help"]
|
@ -1,21 +0,0 @@
|
||||
scenedetect
|
||||
===========
|
||||
|
||||
[PySceneDetect][1] is a tool for detecting shot changes in videos
|
||||
([example][2]), and can automatically split the video into separate clips.
|
||||
|
||||
## Tutorial
|
||||
|
||||
```bash
|
||||
# Create an alias
|
||||
$ alias scenedetect='docker run --rm -u $(id -u):$(id -g) -v $PWD:/data -w /data vimagick/scenedetect'
|
||||
|
||||
# Download sample video
|
||||
$ wget https://download.blender.org/peach/bigbuckbunny_movies/BigBuckBunny_320x180.mp4
|
||||
|
||||
# Perform video splitting
|
||||
$ scenedetect -i BigBuckBunny_320x180.mp4 split-video
|
||||
```
|
||||
|
||||
[1]: https://github.com/Breakthrough/PySceneDetect
|
||||
[2]: https://www.scenedetect.com/cli/
|
Loading…
Reference in New Issue
Block a user