I guess the first thing to do is access your rtsp streams directly in VLC and make sure you have continuous stream with correct frames from the cameras giving you grief just to rule out any network bottlenecks etc.
mqtt:
host: 192.168.200.132
# Optional: port (default: shown below)
port: 1883
# Optional: topic prefix (default: shown below)
# WARNING: must be unique if you are running multiple instances
topic_prefix: frigate
# Optional: client id (default: shown below)
# WARNING: must be unique if you are running multiple instances
client_id: frigate
# Optional: user
user: mqtt-user
# Optional: password
# NOTE: Environment variables that begin with 'FRIGATE_' may be referenced in {}.
# eg. password: '{FRIGATE_MQTT_PASSWORD}'
password: mqtt-user
# Optional: interval in seconds for publishing stats (default: shown below)
stats_interval: 60
cameras:
backyard:
ffmpeg:
inputs:
- path: rtsp://192.168.200.50:554/s1
roles:
- detect
- clips
- path: rtsp://192.168.200.50:554/s2
roles:
- rtmp
- path: rtsp://192.168.200.50:554/s0
roles:
- record
output_args:
record: -f segment -segment_time 60 -segment_format mp4 -reset_timestamps 1 -strftime 1 -c copy
width: 640
height: 360
fps: 5
motion:
mask: 320,106,640,209,640,0,191,0,0,0,0,65
threshold: 10
contour_area: 50
clips:
enabled: true
pre_capture: 5
post_capture: 5
record:
enabled: true
retain_days: 15
objects:
track:
- person
- dog
filters:
dog:
min_area: 5000
max_area: 100000
min_score: 0.5
threshold: 0.6
person:
min_area: 5000
max_area: 100000
min_score: 0.5
threshold: 0.7
Deck:
ffmpeg:
inputs:
- path: rtsp://192.168.200.51:554/s1
roles:
- detect
- clips
- path: rtsp://192.168.200.51:554/s2
roles:
- rtmp
- path: rtsp://192.168.200.51:554/s0
roles:
- record
output_args:
record: -f segment -segment_time 60 -segment_format mp4 -reset_timestamps 1 -strftime 1 -c copy
width: 640
height: 360
fps: 5
motion:
mask: 368,51,640,205,640,0,0,0,0,62
threshold: 10
contour_area: 50
clips:
enabled: true
pre_capture: 5
post_capture: 5
record:
enabled: true
retain_days: 15
objects:
track:
- person
- dog
filters:
dog:
min_area: 5000
max_area: 100000
min_score: 0.5
threshold: 0.6
person:
min_area: 5000
max_area: 100000
min_score: 0.5
threshold: 0.7
Side:
ffmpeg:
inputs:
- path: rtsp://192.168.200.52:554/s1
roles:
- detect
- clips
- path: rtsp://192.168.200.52:554/s2
roles:
- rtmp
- path: rtsp://192.168.200.52:554/s0
roles:
- record
output_args:
record: -f segment -segment_time 60 -segment_format mp4 -reset_timestamps 1 -strftime 1 -c copy
width: 640
height: 360
fps: 5
motion:
mask: 399,40,640,0,378,0,257,0,0,0,0,117
threshold: 10
clips:
enabled: true
pre_capture: 5
post_capture: 5
record:
enabled: true
retain_days: 15
objects:
track:
- person
- dog
- car
- bus
filters:
dog:
min_area: 5000
max_area: 100000
min_score: 0.5
threshold: 0.6
person:
min_area: 5000
max_area: 100000
min_score: 0.5
threshold: 0.7
Frontyard:
ffmpeg:
inputs:
- path: rtsp://192.168.200.53:554/s1
roles:
- detect
- clips
- path: rtsp://192.168.200.53:554/s2
roles:
- rtmp
- path: rtsp://192.168.200.53:554/s0
roles:
- record
output_args:
record: -f segment -segment_time 60 -segment_format mp4 -reset_timestamps 1 -strftime 1 -c copy
width: 640
height: 360
fps: 5
motion:
mask:
- 640,0,640,70,0,57,0,0,0,0,0,0
- 610,161,604,201,640,227,640,138
- 410,360,468,304,519,276,569,311,610,360
- 52,287,104,255,173,282,195,318,218,360,24,360
threshold: 10
contour_area: 50
zones:
yard:
coordinates: 0,360,640,360,640,91,640,91,0,79
road:
coordinates: 0,73,640,85,640,0,0,0
clips:
enabled: true
pre_capture: 5
post_capture: 5
record:
enabled: true
retain_days: 15
snapshots:
enabled: true
mqtt:
enabled: true
crop: false
objects:
track:
- person
- dog
- car
- bus
filters:
dog:
min_area: 5000
max_area: 100000
min_score: 0.5
threshold: 0.6
person:
min_area: 5000
max_area: 100000
min_score: 0.5
threshold: 0.7
Driveway:
ffmpeg:
inputs:
- path: rtsp://192.168.200.54:554/s1
roles:
- detect
- clips
- path: rtsp://192.168.200.54:554/s2
roles:
- rtmp
- path: rtsp://192.168.200.54:554/s0
roles:
- record
output_args:
record: -f segment -segment_time 60 -segment_format mp4 -reset_timestamps 1 -strftime 1 -c copy
width: 640
height: 360
fps: 5
motion:
mask: 640,78,640,0,0,0,0,76
threshold: 10
contour_area: 50
zones:
drive:
coordinates: 640,267,470,209,275,162,108,157,0,156,0,360,387,360,640,360
road:
coordinates: 0,145,375,153,389,73,0,72
clips:
enabled: true
pre_capture: 5
post_capture: 5
record:
enabled: true
retain_days: 15
snapshots:
enabled: true
mqtt:
enabled: true
crop: false
objects:
track:
- person
- dog
- car
- bus
filters:
dog:
min_area: 5000
max_area: 100000
min_score: 0.5
threshold: 0.6
person:
min_area: 5000
max_area: 100000
min_score: 0.5
threshold: 0.7
detectors:
cpu1:
type: cpu
cpu2:
type: cpu