I have an old configuration setting. For some reason, there is a recording every hour for 10 minutes and it clogs the disk!
cameras:
camera_1:
mqtt:
crop: True
height: 500
rtmp:
enabled: false
ffmpeg:
inputs:
- path: rtsp://admin:/user=_password=&channel=0&stream=1.sdp
roles:
- detect
- rtmp
- record
- clips
detect:
width: 1280
height: 720
fps: 5
objects:
track:
- person
- bicycle
- car
- motorcycle
- bird
- dog
filters:
person:
threshold: 0.7
car:
threshold: 0.7
record:
enabled: True
retain:
days: 3
mode: all
events:
pre_capture: 5
post_capture: 5
objects:
- person
retain:
default: 10
mode: active_objects