2019-03-28 13:30:58 +01:00
|
|
|
web_port: 5000
|
|
|
|
|
|
|
|
mqtt:
|
2019-03-30 13:58:31 +01:00
|
|
|
host: mqtt.server.com
|
|
|
|
topic_prefix: frigate
|
2019-05-10 16:36:22 +02:00
|
|
|
# user: username # Optional -- Uncomment for use
|
|
|
|
# password: password # Optional -- Uncomment for use
|
2019-03-28 13:30:58 +01:00
|
|
|
|
|
|
|
cameras:
|
|
|
|
back:
|
|
|
|
rtsp:
|
|
|
|
user: viewer
|
|
|
|
host: 10.0.10.10
|
|
|
|
port: 554
|
2019-03-30 13:58:31 +01:00
|
|
|
# values that begin with a "$" will be replaced with environment variable
|
2019-03-28 13:30:58 +01:00
|
|
|
password: $RTSP_PASSWORD
|
|
|
|
path: /cam/realmonitor?channel=1&subtype=2
|
2019-07-13 14:45:56 +02:00
|
|
|
|
|
|
|
################
|
|
|
|
## Optional mask. Must be the same dimensions as your video feed.
|
|
|
|
## The mask works by looking at the bottom center of the bounding box for the detected
|
|
|
|
## person in the image. If that pixel in the mask is a black pixel, it ignores it as a
|
|
|
|
## false positive. In my mask, the grass and driveway visible from my backdoor camera
|
|
|
|
## are white. The garage doors, sky, and trees (anywhere it would be impossible for a
|
|
|
|
## person to stand) are black.
|
|
|
|
################
|
|
|
|
# mask: back-mask.bmp
|
|
|
|
|
|
|
|
################
|
2019-07-13 14:40:53 +02:00
|
|
|
# Allows you to limit the framerate within frigate for cameras that do not support
|
|
|
|
# custom framerates. A value of 1 tells frigate to look at every frame, 2 every 2nd frame,
|
|
|
|
# 3 every 3rd frame, etc.
|
2019-07-13 14:45:56 +02:00
|
|
|
################
|
2019-07-02 04:20:35 +02:00
|
|
|
take_frame: 1
|
2019-07-13 14:45:56 +02:00
|
|
|
|
|
|
|
################
|
2019-07-13 14:40:53 +02:00
|
|
|
# Optional hardware acceleration parameters for ffmpeg. If your hardware supports it, it can
|
|
|
|
# greatly reduce the CPU power used to decode the video stream. You will need to determine which
|
|
|
|
# parameters work for your specific hardware. These may work for those with Intel hardware that
|
|
|
|
# supports QuickSync.
|
2019-07-13 14:45:56 +02:00
|
|
|
################
|
|
|
|
# ffmpeg_hwaccel_args:
|
|
|
|
# - -hwaccel
|
|
|
|
# - vaapi
|
|
|
|
# - -hwaccel_device
|
|
|
|
# - /dev/dri/renderD128
|
|
|
|
# - -hwaccel_output_format
|
|
|
|
# - yuv420p
|
2019-08-11 04:05:15 +02:00
|
|
|
|
2019-08-22 03:15:49 +02:00
|
|
|
################
|
|
|
|
# FFmpeg log level. Default is "panic". https://ffmpeg.org/ffmpeg.html#Generic-options
|
|
|
|
################
|
|
|
|
# ffmpeg_log_level: panic
|
|
|
|
|
2019-08-11 04:05:15 +02:00
|
|
|
################
|
|
|
|
# Optional custom input args. Some cameras may need custom ffmpeg params to work reliably. Specifying
|
|
|
|
# these will replace the default input params.
|
|
|
|
################
|
|
|
|
# ffmpeg_input_args: []
|
2019-08-22 03:15:49 +02:00
|
|
|
|
|
|
|
################
|
|
|
|
# Optional custom output args. Some cameras may need custom ffmpeg params to work reliably. Specifying
|
|
|
|
# these will replace the default output params.
|
|
|
|
################
|
|
|
|
# ffmpeg_output_args: []
|
2019-07-13 14:45:56 +02:00
|
|
|
|
2019-03-28 13:30:58 +01:00
|
|
|
regions:
|
|
|
|
- size: 350
|
|
|
|
x_offset: 0
|
|
|
|
y_offset: 300
|
2019-03-30 13:58:31 +01:00
|
|
|
min_person_area: 5000
|
2019-05-11 14:39:27 +02:00
|
|
|
threshold: 0.5
|
2019-03-28 13:30:58 +01:00
|
|
|
- size: 400
|
|
|
|
x_offset: 350
|
|
|
|
y_offset: 250
|
2019-03-30 13:58:31 +01:00
|
|
|
min_person_area: 2000
|
2019-05-11 14:39:27 +02:00
|
|
|
threshold: 0.5
|
2019-03-28 13:30:58 +01:00
|
|
|
- size: 400
|
|
|
|
x_offset: 750
|
|
|
|
y_offset: 250
|
2019-03-30 13:58:31 +01:00
|
|
|
min_person_area: 2000
|
2019-05-11 14:39:27 +02:00
|
|
|
threshold: 0.5
|