-
Notifications
You must be signed in to change notification settings - Fork 3
/
Copy pathfrigate.yaml
48 lines (46 loc) · 1.22 KB
/
frigate.yaml
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
mqtt:
host: <mqtt-server-host>
user: <mqtt-frigate-user>
password: <mqtt-frigate-password>
detectors:
cpu0:
type: cpu
cameras:
esp-cam: #<-- you can change your camera name here
ffmpeg:
inputs:
- path: http://<your-esp-cam-ip>:8080
roles:
- detect
# - record
input_args: -avoid_negative_ts make_zero -fflags nobuffer -flags low_delay -strict experimental -fflags +genpts+discardcorrupt -use_wallclock_as_timestamps 1 -c:v mjpeg
output_args:
detect: -f rawvideo -pix_fmt yuv420p -an
# record: -f segment -pix_fmt yuv420p -segment_time 10 -segment_format mp4 -reset_timestamps 1 -strftime 1 -c:v libx264 -preset ultrafast -an
# rtmp: -f flv -pix_fmt yuv420p -c:v libx264 -preset ultrafast -an
rtmp:
enabled: False
record:
enabled: False
detect:
enabled: True
width: 800
height: 600
fps: 5
objects:
track:
- person
# - cup
snapshots:
enabled: True
timestamp: True
bounding_box: True
retain:
default: 14
mqtt:
enabled: True
timestamp: True
bounding_box: True
crop: False
quality: 100
height: 600