mirror of
https://github.com/blakeblackshear/frigate.git
synced 2024-11-21 19:07:46 +01:00
comment formatting and comment out mask in example config
This commit is contained in:
parent
1ba006b24f
commit
8970e73f75
@ -15,28 +15,38 @@ cameras:
|
|||||||
# values that begin with a "$" will be replaced with environment variable
|
# values that begin with a "$" will be replaced with environment variable
|
||||||
password: $RTSP_PASSWORD
|
password: $RTSP_PASSWORD
|
||||||
path: /cam/realmonitor?channel=1&subtype=2
|
path: /cam/realmonitor?channel=1&subtype=2
|
||||||
# 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
|
## Optional mask. Must be the same dimensions as your video feed.
|
||||||
# false positive. In my mask, the grass and driveway visible from my backdoor camera
|
## The mask works by looking at the bottom center of the bounding box for the detected
|
||||||
# are white. The garage doors, sky, and trees (anywhere it would be impossible for a
|
## person in the image. If that pixel in the mask is a black pixel, it ignores it as a
|
||||||
# person to stand) are black.
|
## false positive. In my mask, the grass and driveway visible from my backdoor camera
|
||||||
mask: back-mask.bmp
|
## are white. The garage doors, sky, and trees (anywhere it would be impossible for a
|
||||||
|
## person to stand) are black.
|
||||||
|
################
|
||||||
|
# mask: back-mask.bmp
|
||||||
|
|
||||||
|
################
|
||||||
# Allows you to limit the framerate within frigate for cameras that do not support
|
# 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,
|
# custom framerates. A value of 1 tells frigate to look at every frame, 2 every 2nd frame,
|
||||||
# 3 every 3rd frame, etc.
|
# 3 every 3rd frame, etc.
|
||||||
|
################
|
||||||
take_frame: 1
|
take_frame: 1
|
||||||
|
|
||||||
|
################
|
||||||
# Optional hardware acceleration parameters for ffmpeg. If your hardware supports it, it can
|
# 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
|
# 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
|
# parameters work for your specific hardware. These may work for those with Intel hardware that
|
||||||
# supports QuickSync.
|
# supports QuickSync.
|
||||||
ffmpeg_hwaccel_args:
|
################
|
||||||
- -hwaccel
|
# ffmpeg_hwaccel_args:
|
||||||
- vaapi
|
# - -hwaccel
|
||||||
- -hwaccel_device
|
# - vaapi
|
||||||
- /dev/dri/renderD128
|
# - -hwaccel_device
|
||||||
- -hwaccel_output_format
|
# - /dev/dri/renderD128
|
||||||
- yuv420p
|
# - -hwaccel_output_format
|
||||||
|
# - yuv420p
|
||||||
|
|
||||||
regions:
|
regions:
|
||||||
- size: 350
|
- size: 350
|
||||||
x_offset: 0
|
x_offset: 0
|
||||||
|
Loading…
Reference in New Issue
Block a user