-
Notifications
You must be signed in to change notification settings - Fork 0
/
diycam.config.sample
28 lines (24 loc) · 1.05 KB
/
diycam.config.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
# name of bucket in backblaze to upload to
bucket=backblazebucket
# number of seconds of motion to trigger an event (this time will be included in the output video)
sensitivity=3
# kernel sensitivity - how much movement is needed to trigger an event; higher means more movement needed. must be an odd number
kernel=17
# directory that videos get written to
monitor_dir=/videos
# directory to upload to backblaze from
upload_dir=/videos/uploads
# directory to store videos that couldn't be processed
error_dir=/videos/errors
# length of each segment video, in seconds
segment_length=300
# period of time between starting each stream, in seconds
stream_offset=90
# number of frames to skip between each frame (for performance); greater than 2 is not advised
skip_frames=0
declare -A cameras
# a map of cameras to monitor (one line per camera, with a unique key/ip for each)
# example for an ip camera: rtsp://admin:[email protected]:554/video/1
# example for a usb camera: /dev/video1
# test using: ffplay -i {url}
cameras["1"]="rtsp://admin:[email protected]:554/video/1"