/
config.yml.sample
67 lines (61 loc) · 2.13 KB
/
config.yml.sample
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
options:
outputPath: ./cctv/
openRTSP: /usr/bin/openRTSP
cameras:
driveway:
options:
host: 192.168.x.y
port: 80
user: admin
pass: password123
# url to access stream of camera, may be different!
videoPath: /Streaming/channels/101
# url to access snapshot of camara, may be different!
imagePath: /Streaming/channels/1/picture
# Options passed to openRTSP
# -b 1024000 BufferSize
# -O do not request options from server
# -s 50 inital seektime
# -4 output to mp4-file
# -H add QuickTime hint track
# -f 20 Framerate
# -w 1920 width
# -h 1080 height
video_params: -b 1024000 -O -s 50 -4 -H -f 20
# log is passed to node-hikvision-api in order to provide detailed logging
log: false
record:
line:
# placeholders replaced in patternPath/File:
# %Y, %M, %D = year, month, day
# %h, %m, %s = hour, minute, second
# %cam = name of camera
# %rec = name of trigger
patternPath: "%Y/%M/%D/%cam_%rec/"
patternFile: "%cam_%rec_%Y%M%D_%h%m_%s"
# capture additonal image
captureImage: true
# create a symlink to image
symlinkImageLabel: -fanart
# record # more seconds after event has ended
postDelay: 5
# postStartCommand: /usr/bin/ssh toaserver /and/run/a/command/afterStart.sh
# postStopCommand: /usr/bin/ssh toaserver /and/run/a/command/afterStop.sh
motion:
captureImage: true
symlinkImageLabel: -fanart
postDelay: 5
# postStartCommand: /usr/bin/ssh toaserver /and/run/a/command/afterStart.sh
# postStopCommand: /usr/bin/ssh toaserver /and/run/a/command/afterStop.sh
field:
captureImage: true
symlinkImageLabel: -fanart
postDelay: 5
# postStartCommand: /usr/bin/ssh toaserver /and/run/a/command/afterStart.sh
# postStopCommand: /usr/bin/ssh toaserver /and/run/a/command/afterStop.sh
constant:
schedule: 0 0,30 * * * *
captureImage: true
symlinkImageLabel: -fanart
image:
schedule: 0 0 * * * *