1
0
mirror of https://github.com/vimagick/dockerfiles.git synced 2024-11-21 17:56:53 +02:00

add dvr-scan

This commit is contained in:
kev 2022-02-16 16:55:11 +08:00
parent 6e1f07022e
commit c78dfda337
4 changed files with 42 additions and 2 deletions

View File

@ -158,6 +158,7 @@ A collection of delicious docker recipes.
- [x] cmus-arm
- [x] darkice :musical_note:
- [x] deface
- [x] dvr-scan :tv:
- [x] editly :tv:
- [x] ffmpeg
- [x] ffmpeg-arm
@ -180,7 +181,7 @@ A collection of delicious docker recipes.
- [x] shoutcast :musical_note:
- [x] tesseract
- [x] vnc2flv
- [x] youtube-dl
- [x] youtube-dl :tv:
- [x] youtube-worker :beetle:
## Audio

19
dvr-scan/Dockerfile Normal file
View File

@ -0,0 +1,19 @@
#
# Dockerfile for dvr-scan
#
FROM ubuntu:20.04
MAINTAINER EasyPi Software Foundation
ARG DEBIAN_FRONTEND=noninteractive
RUN set -xe \
&& apt-get update \
&& apt-get install -y python3 python3-pip libgl1-mesa-glx libglib2.0-0 \
&& pip3 install dvr-scan[opencv] \
&& rm -rf /var/lib/apt/lists/*
WORKDIR /data
ENTRYPOINT ["dvr-scan"]
CMD ["--help"]

20
dvr-scan/README.md Normal file
View File

@ -0,0 +1,20 @@
dvr-scan
========
[DVR-Scan][1] is a cross-platform command-line (CLI) application that
automatically detects motion events in video files.
## Tutorial
```bash
# build a docker image
$ docker build -t vimagick/dvr-scan .
# create an alias
$ alias dvr-scan='docker run --rm -u $(id -u):$(id -g) -v $PWD:/data vimagick/dvr-scan'
# process a video
$ dvr-scan -i video.mp4
```
[1]: https://github.com/Breakthrough/DVR-Scan

View File

@ -1,7 +1,7 @@
youtube-dl
==========
[`youtube-dl`][1] is a small command-line program to download videos from
[youtube-dl][1] is a small command-line program to download videos from
<https://www.youtube.com/> and a few more sites.
## Tutorial