mirror of
https://github.com/vimagick/dockerfiles.git
synced 2025-06-12 23:47:32 +02:00
add dvr-scan
This commit is contained in:
parent
6e1f07022e
commit
c78dfda337
@ -158,6 +158,7 @@ A collection of delicious docker recipes.
|
|||||||
- [x] cmus-arm
|
- [x] cmus-arm
|
||||||
- [x] darkice :musical_note:
|
- [x] darkice :musical_note:
|
||||||
- [x] deface
|
- [x] deface
|
||||||
|
- [x] dvr-scan :tv:
|
||||||
- [x] editly :tv:
|
- [x] editly :tv:
|
||||||
- [x] ffmpeg
|
- [x] ffmpeg
|
||||||
- [x] ffmpeg-arm
|
- [x] ffmpeg-arm
|
||||||
@ -180,7 +181,7 @@ A collection of delicious docker recipes.
|
|||||||
- [x] shoutcast :musical_note:
|
- [x] shoutcast :musical_note:
|
||||||
- [x] tesseract
|
- [x] tesseract
|
||||||
- [x] vnc2flv
|
- [x] vnc2flv
|
||||||
- [x] youtube-dl
|
- [x] youtube-dl :tv:
|
||||||
- [x] youtube-worker :beetle:
|
- [x] youtube-worker :beetle:
|
||||||
|
|
||||||
## Audio
|
## Audio
|
||||||
|
19
dvr-scan/Dockerfile
Normal file
19
dvr-scan/Dockerfile
Normal 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
20
dvr-scan/README.md
Normal 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
|
@ -1,7 +1,7 @@
|
|||||||
youtube-dl
|
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.
|
<https://www.youtube.com/> and a few more sites.
|
||||||
|
|
||||||
## Tutorial
|
## Tutorial
|
||||||
|
Loading…
x
Reference in New Issue
Block a user