[Support]: Latest Frigate+ model training slows Coral detector [0.15.0 Beta1] #15024
-
Checklist
Describe the problem you are havingI had just finished re-verifying all my images in Frigate+ and updated the model in the configuration. I have updated the model by an additional 127 images but this is the first model where there was a large increase in new labels types Upon starting the frigate, I noticed two things.
I reverted to the previous model and everything was fine. The only difference in the two runs is the model path in the configuration file. Steps to reproduce
Version0.15.0-33825f6 In which browser(s) are you experiencing the issue with?Google Chrome Version 130.0.6723.117 (Official Build) (64-bit) Frigate config file########################################################################################
# Environment Variables
# Optional: set environment variables
########################################################################################
#environment_vars:
# EXAMPLE_VAR: value
# Cameras
#
# cam-frontdoor Hikvision DS-2CD2T87G2P-LSU/SL [ dual sensor, panoramic]
# cam-porch Hikvision DS-2CD2043G2-IU
# cam-driveway Amcrest IP5M-B1186EW-2.8mm
# cam-garage Hikvision DS-2CD2T87G2P-LSU/SL [ dual sensor, panoramic]
#
# ===============================================================================
#
########################################################################################
# MQTT
########################################################################################
mqtt:
# Required: host name
host: XXXXXXXXX.hollebone.ca
# 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: XXXXXXXXX
# Optional: password
# NOTE: Environment variables that begin with 'FRIGATE_' may be referenced in {}.
# eg. password: '{FRIGATE_MQTT_PASSWORD}'
password: '{FRIGATE_MQTT_PASSWORD}'
# Optional: tls_ca_certs for enabling TLS using self-signed certs (default: None)
#tls_ca_certs: /path/to/ca.crt
# Optional: tls_client_cert and tls_client key in order to use self-signed client
# certificates (default: None)
# NOTE: certificate must not be password-protected
# do not set user and password when using a client certificate
#tls_client_cert: /path/to/client.crt
#tls_client_key: /path/to/client.key
# Optional: tls_insecure (true/false) for enabling TLS verification of
# the server hostname in the server certificate (default: None)
#tls_insecure: false
# Optional: interval in seconds for publishing stats (default: shown below)
stats_interval: 60
########################################################################################
# Detectors
########################################################################################
#
# Required: name of the detector
# guessing to have one detector per stream available
#
detectors:
# only use cpu detectors if TPU (coral) is not available, cpu detectors are ~100 times slower
#
# cpu1:
# type: cpu
# cpu2:
# type: cpu
# cpu3:
# type: cpu
# cpu4:
# type: cpu
# cpu5:
# type: cpu
# cpu6:
# type: cpu
coral:
# note: add /dev/apex_0 as the TPU Mapping in the docker container
# Required: type of the detector
# Valid values are 'edgetpu' (requires device property below) and 'cpu'.
type: edgetpu
# Optional: device name as defined here: https://coral.ai/docs/edgetpu/multiple-edgetpu/#using-the-tensorflow-lite-python-api
# ":<N>" : Use N-th Edge TPU
# "usb" : Use any USB Edge TPU
# "usb:<N>" : Use N-th USB Edge TPU
# "pci" : Use any PCIe Edge TPU
# "pci:<N>" : Use N-th PCIe Edge TPU
device: pci
# Optional: num_threads value passed to the tflite.Interpreter (default: shown below)
# This value is only used for CPU types
#num_threads: 3
#
# Nvidia
# tensorrt:
# type: tensorrt
# device: 0 #This is the default, select the first GPU
########################################################################################
# TLS - see https://deploy-preview-11419--frigate-docs.netlify.app/configuration/tls/
########################################################################################
#
#
# Optional: TLS configuration, added as of v0.14
tls:
# Optional: Enable TLS for port 8080 (default: shown below)
enabled: true
########################################################################################
# Authentication
########################################################################################
#
#
# Optional: Authentication configuration, added as of v0.14
#auth:
# # Optional: Authentication mode (default: shown below)
# # Valid values are: native, proxy
# mode: native
# # Optional: Reset the admin user password on startup (default: shown below)
# # New password is printed in the logs
# reset_admin_password: False
# # Optional: Cookie to store the JWT token for native auth (default: shown below)
# cookie_name: frigate_token
# # Optional: Set secure flag on cookie. (default: shown below)
# # NOTE: This should be set to True if you are using TLS
# cookie_secure: True
# # Optional: Session length in seconds (default: shown below)
# session_length: 86400 # 24 hours
# # Optional: Refresh time in seconds (default: shown below)
# # When the session is going to expire in less time than this setting,
# # it will be refreshed back to the session_length.
# refresh_time: 43200 # 12 hours
# # Optional: Mapping for headers from upstream proxies. Only used in proxy auth mode.
# # NOTE: Many authentication proxies pass a header downstream with the authenticated
# # user name. Not all values are supported. It must be a whitelisted header.
# # See the docs for more info.
# header_map:
# user: x-forwarded-user
# # Optional: Rate limiting for login failures to help prevent brute force
# # login attacks (default: shown below)
# # See the docs for more information on valid values
# failed_login_rate_limit: None
# # Optional: Trusted proxies for determining IP address to rate limit
# # NOTE: This is only used for rate limiting login attempts and does not bypass
# # authentication in any way
# trusted_proxies: []
# # Optional: Url for logging out a user. This only needs to be set if you are using
# # proxy mode.
# logout_url: /api/logout
# # Optional: Number of hashing iterations for user passwords
# # As of Feb 2023, OWASP recommends 600000 iterations for PBKDF2-SHA256
# # NOTE: changing this value will not automatically update password hashes, you
# # will need to change each user password for it to apply
# hash_iterations: 600000
########################################################################################
# Model
########################################################################################
#
#
# Optional: model modifications
model:
# Optional: path to the model (default: automatic based on detector)
path: plus://2b8cb74d4e3b04c498573662c448044e # 2024-11(Nov)-15 - 5948 images Base Model 2024.3 and expanded tags
#path: plus://bd5aa417ea0f120b4b2b73a7ad0f8dac # 2024-11(Nov)-03 - 5851 images Base Model 2024.3
#path: plus://ec014cb2a039a4679ac6190671188f34 # 2024-10(Oct)-27 - 5750 images Base Model 2024.2
#path: plus://1fbc2f0f0e6ec4f2fd6c4f9d8cd27738 # 2024-09(Sep)-24 - 5394 images Base Model 2024.2
#path: plus://1f8b0ef281d53d99ec3a24ce2505d69f # 2024-08(Aug)-18 - 3943 images Base Model 2024.2
#path: plus://cddc9e637a1dfb31f67a5daf73d5bec0 # 2024-07(Jul)-28 - 3161 images Base Model 2024.1
#path: plus://a9e1b80c30611a69b2b14bd666817cf3 # 2024-06(Jun)-07 - 1391 images Base Model 2024.1
#path: plus://f0412a87f70d2e829bc8c581d4a13b9a # 2024-05(May)-30 - 89 images Base Model 2024.1
#
# path: /edgetpu_model.tflite
# # Optional: path to the labelmap (default: shown below)
# labelmap_path: /labelmap.txt
# # Required: Object detection model input width (default: shown below)
# width: 320
# # Required: Object detection model input height (default: shown below)
# height: 320
# # Optional: Label name modifications. These are merged into the standard labelmap.
# labelmap:
# 2: vehicle
#
# #####################
# Nvidia/TensorRT Model
# #####################
# path: /config/model_cache/tensorrt/yolov7-640.trt
#
# Optional: Object detection model input tensor format
# Valid values are nhwc or nchw (default: shown below)
# input_tensor: nchw
#
# Optional: Object detection model input colorspace
# Valid values are rgb, bgr, or yuv. (default: shown below)
# input_pixel_format: rgb
#
# Nvidia image sizing
# width: 640
# height: 480
#
# #################
# OpenVINO detector
# #################
#
# Optional: Object detection model type, currently only used with the OpenVINO detector
# Valid values are ssd, yolox, yolonas (default: shown below)
# model_type: ssd
########################################################################################
# Database
########################################################################################
#
#
# Optional: Database configuration
database:
# The path to store the SQLite DB (default: shown below)
# moved to db to support docker passing in the value from docker compose/unraid parameter
path: /db/frigate.db
# path: /media/frigate/frigate.db
########################################################################################
# Logging
########################################################################################
# Available log levels are: debug, info, warning, error, critical
# other logging options
# frigate.app
# frigate.mqtt
# frigate.edgetpu
# frigate.zeroconf
# detector.<detector_name>
# watchdog.<camera_name>
# ffmpeg.<camera_name>.<sorted_roles> # NOTE: All FFmpeg logs are sent as error level.
#
#
logger:
default: info
# Optional: Component specific logger overrides
logs:
frigate.video: debug
frigate.event: debug
frigate.edgetpu: info
frigate.app: debug
frigate.record: info
ffmpeg.cam-frontdoor.detect: info
ffmpeg.frontdoor.record: info
########################################################################################
# birdseye
########################################################################################
#
# Optional: birdseye configuration
# NOTE: Can (enabled, mode) be overridden at the camera level
#
birdseye:
# Optional: Enable birdseye view (default: shown below)
enabled: true
# Optional: Width of the output resolution (default: shown below)
# width: 1280 (default)
width: 1280
#width: 1024
# Optional: Height of the output resolution (default: shown below)
#height: 720 (default)
height: 720
#height: 576
# Optional: Encoding quality of the mpeg1 feed (default: shown below)
# 1 is the highest quality, and 31 is the lowest. Lower quality feeds utilize less CPU resources.
# quality: 8 (default)
quality: 1
# Optional: Mode of the view. Available options are: objects, motion, and continuous
# objects - cameras are included if they have had a tracked object within the last 30 seconds
# motion - cameras are included if motion was detected in the last 30 seconds
# continuous - all cameras are included always
mode: continuous
########################################################################################
# Global Audio
########################################################################################
#
# Optional: Audio Events Configuration
# NOTE: Can be overridden at the camera level
audio:
# # Optional: Enable audio events (default: shown below)
enabled: false
# # Optional: Configure the amount of seconds without detected audio to end the event (default: shown below)
# #max_not_heard: 30
# # Optional: Configure the min rms volume required to run audio detection (default: shown below)
# # As a rule of thumb:
# # - 200 - high sensitivity
# # - 500 - medium sensitivity
# # - 1000 - low sensitivity
# #min_volume: 500
# # Optional: Types of audio to listen for (default: shown below)
# #listen:
# # - bark
# # - fire_alarm
# # - scream
# # - speech
# # - yell
# # Optional: Filters to configure detection.
# #filters:
# # Label that matches label in listen config.
# # speech:
# # Minimum score that triggers an audio event (default: shown below)
# # threshold: 0.8
########################################################################################
# Global ffmpeg
########################################################################################
#
# Optional: ffmpeg configuration
# NOTE: Can be overridden at the camera level
ffmpeg:
# see https://ffmpeg.org/ffmpeg-formats.html for details on specific options
#
# https://docs.frigate.video/configuration/ffmpeg_presets/#hwaccel-presets
#
# preset-rpi-64-h264 64 bit Rpi with h264 stream
# preset-rpi-64-h265 64 bit Rpi with h265 stream
# preset-vaapi Intel & AMD VAAPI Check hwaccel docs to ensure correct driver is chosen
# preset-intel-qsv-h264 Intel QSV with h264 stream If issues occur recommend using vaapi preset instead
# preset-intel-qsv-h265 Intel QSV with h265 stream If issues occur recommend using vaapi preset instead
# preset-nvidia-h264 Nvidia GPU with h264 stream
# preset-nvidia-h265 Nvidia GPU with h265 stream
# preset-nvidia-mjpeg Nvidia GPU with mjpeg stream Recommend restreaming mjpeg and using nvidia-h264
# preset-jetson-h264 Nvidia Jetson with h264 stream
# preset-jetson-h265 Nvidia Jetson with h265 stream
# preset-rk-h264 Rockchip MPP with h264 stream Use image with *-rk suffix and privileged mode
# preset-rk-h265 Rockchip MPP with h265 stream Use image with *-rk suffix and privileged mode
#
# Optional: global ffmpeg args (default: shown below)
## global_args: -hide_banner -loglevel warning
# Optional: global hwaccel args (default: shown below)
# NOTE: See hardware acceleration docs for your specific device
hwaccel_args: preset-nvidia-h264
# Optional: global input args (default: shown below)
input_args: preset-rtsp-generic
# preset-http-jpeg-generic HTTP Live Jpeg Recommend restreaming live jpeg instead
# preset-http-mjpeg-generic HTTP Mjpeg Stream Recommend restreaming mjpeg stream instead
# preset-http-reolink Reolink HTTP-FLV Stream Only for reolink http, not when restreaming as rtsp
# preset-rtmp-generic RTMP Stream
# preset-rtsp-generic RTSP Stream This is the default when nothing is specified
# preset-rtsp-restream RTSP Stream from restream Use for rtsp restream as source for frigate
# preset-rtsp-restream-low-latency RTSP Stream from restream Use for rtsp restream as source for frigate to lower latency, may cause issues with some cameras
# preset-rtsp-udp RTSP Stream via UDP Use when camera is UDP only
# preset-rtsp-blue-iris Blue Iris RTSP Stream Use when consuming a stream from Blue Iris
#
## input_args: -avoid_negative_ts make_zero -fflags +nobuffer+genpts+discardcorrupt -rtsp_transport tcp -timeout 5000000 -use_wallclock_as_timestamps 1
# -avoid_negative_ts make_zero
# -flags low_delay
# -strict experimental
# -fflags +genpts+discardcorrupt
# -rtsp_transport tcp
# -timeout 5000000
# -use_wallclock_as_timestamps 1
# Optional: global output args
output_args:
record: preset-record-generic
# preset-record-generic Record WITHOUT audio This is the default when nothing is specified
# preset-record-generic-audio-aac Record WITH aac audio Use this to enable audio in recordings
# preset-record-generic-audio-copy Record WITH original audio Use this to enable audio in recordings
##output_args:
# Optional: output args for detect streams (default: shown below)
## detect: -f rawvideo # needs to be set at the camera level -pix_fmt yuv420p
# Optional: output args for record streams (default: shown below)
## record: -f segment -segment_time 60 -segment_format mp4 -reset_timestamps 1 -strftime 1 -c copy -an
# -f segment: split files according to default, unless overridden by additional flags
# -segment_time: Specify a list of split points. times contains a list of comma separated duration specifications, in increasing order. In seconds
# -segment_format: Override the inner container format, by default it is guessed by the filename extension
# codec type mp4 (native to h.264)
# -reset_timestamps: Reset timestamps at the beginning of each segment, so that each segment will start with near-zero timestamps
# 1 or 0 (default)
# -strftime: Use the strftime function to define the name of the new segments to write. If this is selected, the output segment name must contain a strftime function template.
# 1 or 0 (default)
# -crf: constant_rate_factor
# -an: no sound
# -c copy: copy all video/audio/subtitles streams
# -c copy:an, copy stream to output with NO sound,
# -c:a copy re-encodes the audio stream using the same audio codecc
# -c:v copy re-encodes the audio stream using the same video codecc
# "-copyts" flag means it will copy timestamps
# "-copytb" copy timebase
#
# -pix_fmt yuv420p: The pixel format for “YUV” colour space with 4:2:0 chroma subsampling and planar colour alignment is chosen for best compatibility.
# Optional: output args for rtmp streams (default: shown below)
##rtmp: -c copy -f flv
########################################################################################
# Global Detect
########################################################################################
#
# Optional: Detect configuration
# NOTE: Can be overridden at the camera level
detect:
# Normally set detect on the sub/second stream of each camera sized to 640x480
#
# Optional: width of the frame for the input with the detect role (default: shown below)
#width: 640
# Optional: height of the frame for the input with the detect role (default: shown below)
#height: 480
# Optional: desired fps for your camera for the input with the detect role (default: shown below)
# NOTE: Recommended value of 5. Ideally, try and reduce your FPS on the camera.
fps: 5
# Optional: enables detection for the camera (default: True)
# This value can be set via MQTT and will be updated in startup based on retained value
enabled: true
# Optional: Number of frames without a detection before frigate considers an object to be gone. (default: 5x the frame rate)
max_disappeared: 25
#
# New as of v0.10.0
# Optional: Configuration for stationary object tracking
stationary:
# Optional: Frequency for running detection on stationary objects (default: shown below)
# When set to 0, object detection will never be run on stationary objects. If set to 10,
# it will be run on every 10th frame.
interval: 10
# Optional: Number of frames without a position change for an object to be considered
# stationary (default: 10x the frame rate or 10s)
threshold: 50 # at 10 fps => 5 seconds
# Optional: Define a maximum number of frames for tracking a stationary object (default: not set, track forever)
# This can help with false positives for objects that should only be stationary for a limited amount of time.
# It can also be used to disable stationary object tracking. For example, you may want to set a value for person,
# but leave car at the default.
max_frames:
# Optional: Default for all object types (default: not set, track forever)
default: 3000 # @ 10fps = 300 seconds or 5 minutes
# Optional: Object specific values
objects:
person: 1000
# car: 500
########################################################################################
# Global Objects
########################################################################################
#
# Optional: Object configuration
# NOTE: Can be overridden at the camera level
# https://deploy-preview-11419--frigate-docs.netlify.app/configuration/objects
# Please note:
#car is listed twice because truck has been renamed to car by default. These object types are frequently confused.
#person is the only tracked object by default. See the full configuration reference for an example of expanding the list of tracked objects.
#bicycle
#car
#motorcycle
#airplane
#bus
#train
#car
#boat
#traffic light
#fire hydrant
#street sign
#stop sign
#parking meter
#bench
#bird
#cat
#dog
#horse
#sheep
#cow
#elephant
#bear
#zebra
#giraffe
#hat
#backpack
#umbrella
#shoe
#eye glasses
#handbag
#tie
#suitcase
#frisbee
#skis
#snowboard
#sports ball
#kite
#baseball bat
#baseball glove
#skateboard
#surfboard
#tennis racket
#bottle
#plate
#wine glass
#cup
#fork
#knife
#spoon
#bowl
#banana
#apple
#sandwich
#orange
#broccoli
#carrot
#hot dog
#pizza
#donut
#cake
#chair
#couch
#potted plant
#bed
#mirror
#dining table
#window
#desk
#toilet
#door
#tv
#laptop
#mouse
#remote
#keyboard
#cell phone
#microwave
#oven
#toaster
#sink
#refrigerator
#blender
#book
#clock
#vase
#scissors
#teddy bear
#hair drier
#toothbrush
#hair brush
objects:
# Optional: list of objects to track from labelmap.txt (default: shown below)
track:
- person
- car
- dog
- bicycle
- cat
# Optional: mask to prevent all object types from being detected in certain areas (default: no mask)
# Checks based on the bottom center of the bounding box of the object.
# NOTE: This mask is COMBINED with the object type specific mask below
#mask: 0,0,1000,0,1000,200,0,200
# Optional: filters to reduce false positives for specific object types
filters:
# object: <i.e. person, car etc)
# Optional: minimum width*height of the bounding box for the detected object (default: 0)
# min_area: 5000
# Optional: maximum width*height of the bounding box for the detected object (default: 24000000)
# max_area: 100000
# Optional: minimum score for the object to initiate tracking (default: shown below)
# min_score: 0.5
# Optional: minimum decimal percentage for tracked object's computed score to be considered a true positive (default: shown below)
# threshold: 0.7
# Optional: mask to prevent this object type from being detected in certain areas (default: no mask)
# Checks based on the bottom center of the bounding box of the object
# mask: 0,0,1000,0,1000,200,0,200
person:
# Optional: minimum decimal percentage for tracked object's computed score to be considered a true positive (default: shown below)
min_score: 0.7
threshold: 0.75
car:
min_score: 0.7
threshold: 0.75
dog:
min_score: 0.7
threshold: 0.75
bicycle:
min_score: 0.7
threshold: 0.75
cat:
min_score: 0.7
threshold: 0.75
########################################################################################
# Global Motion
########################################################################################
#
# Optional: Motion configuration
# NOTE: Can be overridden at the camera level
#motion:
# Optional: The threshold passed to cv2.threshold to determine if a pixel is different enough to be counted as motion. (default: shown below)
# Increasing this value will make motion detection less sensitive and decreasing it will make motion detection more sensitive.
# The value should be between 1 and 255.
# threshold: 25
# Optional: Minimum size in pixels in the resized motion image that counts as motion (default: 30)
# Increasing this value will prevent smaller areas of motion from being detected. Decreasing will
# make motion detection more sensitive to smaller moving objects.
# As a rule of thumb:
# - 15 - high sensitivity
# - 30 - medium sensitivity
# - 50 - low sensitivity
# contour_area: 30
# Optional: Alpha value passed to cv2.accumulateWeighted when averaging the motion delta across multiple frames (default: shown below)
# Higher values mean the current frame impacts the delta a lot, and a single raindrop may register as motion.
# Too low and a fast moving person wont be detected as motion.
# delta_alpha: 0.2
# Optional: Alpha value passed to cv2.accumulateWeighted when averaging frames to determine the background (default: shown below)
# Higher values mean the current frame impacts the average a lot, and a new object will be averaged into the background faster.
# Low values will cause things like moving shadows to be detected as motion for longer.
# https://www.geeksforgeeks.org/background-subtraction-in-an-image-using-concept-of-running-average/
# frame_alpha: 0.2
# Optional: Height of the resized motion frame (default: 50)
# This operates as an efficient blur alternative. Higher values will result in more granular motion detection at the expense
# of higher CPU usage. Lower values result in less CPU, but small changes may not register as motion.
# frame_height: 50
# Optional: motion mask
# NOTE: see docs for more detailed info on creating masks
# mask: 0,900,1080,900,1080,1920,0,1920
# Optional: improve contrast (default: shown below)
# Enables dynamic contrast improvement. This should help improve night detections at the cost of making motion detection more sensitive
# for daytime.
# improve_contrast: False
# Optional: Delay when updating camera motion through MQTT from ON -> OFF (default: shown below).
# mqtt_off_delay: 30
########################################################################################
# Global recording
########################################################################################
#
# Optional: Record configuration
# NOTE: Can be overridden at the camera level
record:
# Optional: Enable recording (default: shown below)
enabled: true
# Optional: Number of minutes to wait between cleanup runs (default: shown below)
# This can be used to reduce the frequency of deleting recording segments from disk if you want to minimize i/o
expire_interval: 60
# Optional: Retention settings for recording
retain:
# Optional: Number of days to retain recordings regardless of events (default: shown below)
# NOTE: This should be set to 0 and retention should be defined in events section below
# if you only want to retain recordings of events.
days: 15
# Optional: Mode for retention. Available options are: all, motion, and active_objects
# all - save all recording segments regardless of activity
# motion - save all recordings segments with any detected motion
# active_objects - save all recording segments with active/moving objects
# NOTE: this mode only applies when the days setting above is greater than 0
mode: all
# Optional: Event recording settings
alerts:
retain:
days: 15
pre_capture: 5
post_capture: 15
detections:
retain:
days: 15
pre_capture: 5
post_capture: 15
snapshots:
# Optional: Enable writing jpg snapshot to /media/frigate/clips (default: shown below)
# This value can be set via MQTT and will be updated in startup based on retained value
enabled: true
# Optional: save a clean PNG copy of the snapshot image (default: shown below)
clean_copy: true
# Optional: print a timestamp on the snapshots (default: shown below)
timestamp: false
# Optional: draw bounding box on the snapshots (default: shown below)
bounding_box: true
# Optional: crop the snapshot (default: shown below)
crop: false
# Optional: height to resize the snapshot to (default: original size)
# height: 384
# Optional: Restrict snapshots to objects that entered any of the listed zones (default: no required zones)
required_zones: []
# Optional: Camera override for retention settings (default: global values)
retain:
# Required: Default retention days (default: shown below)
default: 15
# Optional: Per object retention days
objects:
person: 30
car: 30
dog: 15
########################################################################################
# Global review
########################################################################################
#
# Optional: Review configuration, added as of 0.14
# NOTE: Can be overridden at the camera level
#review:
# # Optional: alerts configuration
# alerts:
# # Optional: labels that qualify as an alert (default: shown below)
# labels:
# - car
# - person
# # Optional: required zones for an object to be marked as an alert (default: none)
# required_zones:
# - driveway
# # Optional: detections configuration
# detections:
# # Optional: labels that qualify as a detection (default: all labels that are tracked / listened to)
# labels:
# - car
# - person
# # Optional: required zones for an object to be marked as a detection (default: none)
# required_zones:
# - driveway
########################################################################################
# Global RTMP
########################################################################################
#
# Optional: RTMP configuration
# NOTE: Can be overridden at the camera level
#rtmp:
# Optional: Enable the RTMP stream (default: True)
# enabled: false # <-- RTMP should be disabled if your stream is not H264
########################################################################################
# Global Live
########################################################################################
#
# Optional: Live stream configuration for WebUI
# NOTE: Can be overridden at the camera level
#live:
# Optional: Set the height of the live stream. (default: 720)
# This must be less than or equal to the height of the detect stream. Lower resolutions
# reduce bandwidth required for viewing the live stream. Width is computed to match known aspect ratio.
# height: 640
# Optional: Set the encode quality of the live stream (default: shown below)
# 1 is the highest quality, and 31 is the lowest. Lower quality feeds utilize less CPU resources.
# quality: 4
########################################################################################
# Global go2rtc
########################################################################################
#
# Optional: Live stream configuration for WebUI
# NOTE: Can be overridden at the camera level
go2rtc:
# rtsp:
# username: "admin"
# password: "pass"
streams:
cam-frontdoor: # HikVision DS-2CD2T87G2P-LSU/SL
# main stream - h.265 encoding
#- ffmpeg:rtsp://frigate:{FRIGATE_RTSP_PASSWORD}@10.1.5.1:554/Streaming/Channels/101
- rtsp://frigate:{FRIGATE_RTSP_PASSWORD}@10.1.5.1:554/Streaming/Channels/101
# sub-stream - h.265 encoding
#- ffmpeg:rtsp://frigate:{FRIGATE_RTSP_PASSWORD}@10.1.5.1:554/Streaming/Channels/102
cam-porch: # Hikvision DS-2CD2043G2-IU 4mm
# main stream - h.265 encoding
- rtsp://frigate:{FRIGATE_RTSP_PASSWORD}@10.5.0.2:554/Streaming/Channels/101
# sub-stream - h.265 encoding
#- ffmpeg:rtsp://frigate:{FRIGATE_RTSP_PASSWORD}@10.5.0.2:554/Streaming/Channels/102
cam-driveway:
# main stream - h.265 encoding
- rtsp://frigate:{FRIGATE_RTSP_PASSWORD}@10.1.5.3:554/cam/realmonitor?channel=1&subtype=0&unicast=true&proto=Onvif
cam-backyard:
# main stream - h.265 encoding
- rtsp://frigate:{FRIGATE_RTSP_PASSWORD}@10.1.5.4:554/Streaming/Channels/101
# sub-stream - h.265 encoding
#- ffmpeg:rtsp://frigate:{FRIGATE_RTSP_PASSWORD}@10.1.5.4:554/Streaming/Channels/102
# PCM A-law / G.711 A-law
# cam-upstairs:
# - ffmpeg:rtsp://frigate:{FRIGATE_RTSP_PASSWORD}@10.1.5.5:554/11
# - "ffmpeg:upstairs#audio=opus"
#cam-porch: # RioLink 510A
# # clear (main)
# - ffmpeg:rtsp://frigate:{FRIGATE_RTSP_PASSWORD}@10.1.5.2:554/
# # fluent (sub-stream)
# # - ffmpeg:rtsp://frigate:{FRIGATE_RTSP_PASSWORD}@10.1.5.2:554/h264Preview_01_sub
webrtc:
listen: :8555
candidates:
- 100.77.78.39:8555 # tailscale
- 10.1.0.3:8555
- stun:8555
########################################################################################
# Global Timestamp
########################################################################################
#
# Optional: in-feed timestamp style configuration
# NOTE: Can be overridden at the camera level
#timestamp_style:
# Optional: Position of the timestamp (default: shown below)
# "tl" (top left), "tr" (top right), "bl" (bottom left), "br" (bottom right)
# position: "tl"
# Optional: Format specifier conform to the Python package "datetime" (default: shown below)
# Additional Examples:
# german: "%d.%m.%Y %H:%M:%S"
# format: "%m/%d/%Y %H:%M:%S"
# Optional: Color of font
# color:
# All Required when color is specified (default: shown below)
# red: 255
# green: 255
# blue: 255
# Optional: Line thickness of font (default: shown below)
# thickness: 2
# Optional: Effect of lettering (default: shown below)
# None (No effect),
# "solid" (solid background in inverse color of font)
# "shadow" (shadow for font)
# effect: None
########################################################################################
# Global Telemetry configuration
########################################################################################
#
telemetry:
# Optional: Enable the latest version outbound check (default: shown below)
# NOTE: If you use the HomeAssistant integration, disabling this will prevent it from reporting new versions
version_check: true
########################################################################################
# Cameras
########################################################################################
cameras:
# ==== start frontdoor camera ====
cam-frontdoor:
# a0:ff:0c:df:b3:3f 10.1.5.1 cam-frontdoor Hikvision DS-2CD2T87G2P-LSU/SL [ dual sensor, panoramic]
#
#
# user: frigate (viewer/user only)
# password: {FRIGATE_RTSP_PASSWORD} (see below but must be url friendly)
# ip address: 10.1.5.1
# http: 80
# https: 443
# rtsp: 554
# WebSocket: 7681
# webSockets: 7682
# Onvif: 8000
# Main: rtsp://frigate:{FRIGATE_RTSP_PASSWORD}@10.1.5.1:554/Streaming/101
# Resolution: 5120 x 1440
# Frame Rate: 20 fps
# Bitrate: 16384 kps
# H.265 Profile Base
#
# ffprobe results
#
# Codec: H.265 / HEVC (High Efficiency Video Coding)
# Resolution: 1920x536
# FPS: 20/1
#
# Substream: rtsp://frigate:{FRIGATE_RTSP_PASSWORD}@10.1.5.1:554/Streaming/102
# Resolution: 1920 x 536 (or alternatively 920 x 272)
# Frame Rate: 20 fps
# Bitrate: 8192 kps
# H.265 Main Profile
# I Frame Interval: 20
# SVC: AUTO
#
# ffprobe results
#
# Optional: Enable/Disable the camera (default: shown below).
# If disabled: config is used but no live stream and no capture etc.
# Events/Recordings are still viewable.
enabled: true
#
# Required: ffmpeg settings for the camera
ffmpeg:
# Required: A list of input streams for the camera. See documentation for more information.
#
# Camera level settings
#
# Optional: camera specific global args (default: inherit)
##global_args: -hide_banner -loglevel warning
#
# Optional: camera specific hwaccel args (default: inherit)
# nvidia cuda - https://trac.ffmpeg.org/wiki/HWAccelIntro
## hwaccel_args: -hwaccel cuda
hwaccel_args: preset-nvidia-h265
#
# Optional: camera specific input args (default: inherit)
#
# from https://docs.frigate.video/configuration/camera_specific
input_args: preset-rtsp-generic
#
# Optional: camera specific output args (default: inherit)
output_args:
# without audio
record: preset-record-generic
# with audio
#record: preset-record-generic-audio-aac
#
#
# To further improve performance, you can set ffmpeg to skip frames in the output, using the fps filter
# - -filter:v
# - fps=fps=5
# Optional: output args for detect streams (default: shown below)
##detect: -f rawvideo -pix_fmt yuv420p
# Optional: output args for record streams (default: shown below)
##record: -f segment -segment_time 60 -segment_format mp4 -reset_timestamps 1 -strftime 1 -c copy -an
# Optional: output args for clips streams (default: shown below)
# clips: -f segment -segment_time 10 -segment_format mp4 -reset_timestamps 1 -strftime 1 -c copy -an
# Optional: output args for rtmp streams (default: shown below)
##rtmp: -c copy -f flv
#
# ==== Start ffmpeg inputs ====
inputs:
# Required: the path to the stream
# NOTE: Environment variables that begin with 'FRIGATE_' may be referenced in {}
#
# DETECT: cam-frontdoor via Sub-Stream
- path: rtsp://frigate:{FRIGATE_RTSP_PASSWORD}@10.1.5.1:554/Streaming/Channels/102
# Required: list of roles for this stream. valid values are: detect,record,clips,rtmp
# NOTICE: In addition to assigning the record, clips, and rtmp roles,
# they must also be enabled in the camera config.
roles:
- detect
#
# stream specific settings
#
# Optional: stream specific global args (default: inherit)
#global_args: []
# Optional: stream specific hwaccel args (default: inherit)
#hwaccel_args: []
# Optional: stream specific input args (default: inherit)
#input_args: []
#
# RECORD: cam-frontdoor via Main Stream
#
- path: rtsp://frigate:{FRIGATE_RTSP_PASSWORD}@10.1.5.1:554/Streaming/Channels/101
roles:
- record
# Optional: stream specific global args (default: inherit)
#global_args: []
# Optional: stream specific hwaccel args (default: inherit)
#hwaccel_args: []
# Optional: stream specific input args (default: inherit)
#input_args: []
# ==== End ffmpeg Inputs ====
#
#
# Optional: object detection (default: inherit via global)
# Optional: mask to prevent all object types from being detected in certain areas (default: no mask)
# Checks based on the bottom center of the bounding box of the object.
# NOTE: This mask is COMBINED with the object type specific mask below
#mask:
objects:
track:
- person
- car
- bicycle
- dog
- cat
filters:
bicycle:
mask:
- 0.243,0.463,0.211,0.468,0.108,0.711,0,0.906,0,0,0.349,0,0.354,0.187
- 1,0.933,1,0.485,0.895,0.336,0.729,0.117,0.768,0.504
car:
mask:
- 0.243,0.463,0.207,0.47,0.12,0.688,0,0.966,0,0,0.349,0,0.354,0.187
- 1,0.933,1,0.485,0.895,0.336,0.729,0.117,0.768,0.504
person:
mask:
- 0.243,0.463,0.212,0.452,0,0.948,0,0,0.349,0,0.354,0.187
- 1,0.933,1,0.485,0.895,0.336,0.729,0.117,0.768,0.504
dog:
mask:
- 0.243,0.463,0.209,0.452,0,0.942,0,0,0.349,0,0.354,0.187
- 1,0.933,1,0.485,0.895,0.336,0.729,0.117,0.768,0.504
cat:
mask:
- 0.243,0.463,0.206,0.45,0,0.953,0,0,0.349,0,0.354,0.187
- 1,0.933,1,0.485,0.895,0.336,0.729,0.117,0.768,0.504
motion:
mask:
0.264,0.478,0.206,0.475,0.038,0.885,0,0.971,0,0,1,0,1,1,0.63,1,0.633,0.761,0.612,0.613,0.745,0.61,0.689,0.491,0.529,0.486,0.353,0.483
zones:
frontdoor_driveway:
coordinates: 0.24,1,0.297,0.793,0.369,0.503,0.212,0.486,0,1
inertia: 3
objects:
- car
- bicycle
- person
- dog
loitering_time: 0
frontdoor_step:
coordinates: 0.53,0.717,0.529,0.53,0.39,0.528,0.358,0.712
inertia: 3
loitering_time: 0
objects: person
frontdoor_door:
coordinates: 0.353,1,0.527,1,0.529,0.728,0.358,0.72,0.37,0.914
# Optional: Zone level object filters.
# NOTE: The global and camera filters are applied upstream.
#filters:
#person:
#min_area: 5000
#max_area: 100000
#threshold: 0.7
#
# Optional: timeout for highest scoring image before allowing it
# to be replaced by a newer image. (default: shown below)
inertia: 3
loitering_time: 0
objects:
- person
- dog
best_image_timeout: 30
#
# Optional: Camera level detect settings (inherited from Global: default=true)
detect:
# Optional: enables detection for the camera (default: True)
# This value can be set via MQTT and will be updated in startup based on retained value
enabled: true
# Optional: Number of frames without a detection before frigate considers an object to be gone. (default: 5x the frame rate)
max_disappeared: 25
# as of 0.91 moved to detect
# Required: width of the frame for the input with the detect role
width: 1920
# Required: height of the frame for the input with the detect role
height: 536
# Optional: desired fps for your camera for the input with the detect role
# NOTE: Recommended value of 5. Ideally, try and reduce your FPS on the camera.
# Frigate will attempt to autodetect if not specified.
fps: 5
#
# Optional: RTMP re-stream configuration (inherited from Global: default=true)
# rtmp:
# Required: Enable the live stream (default: True)
# enabled: True
#
# Optional: 24/7 recording configuration
# record:
# Optional: Enable recording (default: global setting)
# enabled: True
# Optional: Number of days to retain (default: global setting)
# retain_days: 7
#
# Optional: Configuration for the jpg snapshots written to the clips directory for each event
# snapshots:
# Optional: Enable writing jpg snapshot to /media/frigate/clips (default: shown below)
# This value can be set via MQTT and will be updated in startup based on retained value
# enabled: True
# Optional: print a timestamp on the snapshots (default: shown below)
# timestamp: False
# Optional: draw bounding box on the snapshots (default: shown below)
# bounding_box: True
# Optional: crop the snapshot (default: shown below)
# crop: False
# Optional: height to resize the snapshot to (default: original size)
# height: 175
# Optional: Restrict snapshots to objects that entered any of the listed zones (default: no required zones)
# required_zones: []
# Optional: Camera override for retention settings (default: global values)
# retain:
# Required: Default retention days (default: shown below)
# default: 15
# Optional: Per object retention days
# objects:
# person: 15
mqtt:
timestamp: false
bounding_box: false
crop: true
quality: 100
height: 500
# Optional: Configuration for how camera is handled in the GUI.
ui:
# Optional: Adjust sort order of cameras in the UI. Larger numbers come later (default: shown below)
# By default the cameras are sorted alphabetically.
order: 0
# Optional: Whether or not to show the camera in the Frigate UI (default: shown below)
dashboard: true
# Optional: Configuration for how to sort the cameras in the Birdseye view.
birdseye:
# Optional: Adjust sort order of cameras in the Birdseye view. Larger numbers come later (default: shown below)
# By default the cameras are sorted alphabetically.
order: 0
# ==== End frontdoor camera ====
#
#
# ==== Start porch camera ====
review:
alerts:
required_zones:
- frontdoor_door
- frontdoor_step
- frontdoor_driveway
detections:
required_zones:
- frontdoor_door
- frontdoor_driveway
- frontdoor_step
cam-porch:
# Hikvision DS-2CD2043G2-IU 4mm - h.265 encoding
#
# Hikvision RTSP url
# rtsp://<username>:<password>@<address>:<port>/Streaming/Channels/<id>/ id = first digit => camera, second and third digits => stream
# user: frigate (viewer/user only)
# password: {FRIGATE_RTSP_PASSWORD} (see below but must be url friendly)
# ip address: 10.1.5.2
# rtsp port: 554
# rtmp port: 1935
# onvif port: 8000
# media port: 9000
# Main: rtsp://frigate:{FRIGATE_RTSP_PASSWORD}@10.3.0.101:554/Streaming/Channels/101
# Resolution: 2688 x 1520
# Frame Rate: 30 fps
# Bitrate: 8192 kps
# H.265 Profile Main Profile
# Substream rtsp://frigate:{FRIGATE_RTSP_PASSWORD}@10.3.0.101:554/Streaming/Channels/102
# Resolution: 1280x720P
# Frame Rate: 30 fps
# Bitrate: 8192 kps
# H.265 Profile High
#
# ffprobe ""
# Input #0, rtsp, from 'rtsp://frigate:{FRIGATE_RTSP_PASSWORD}@10.3.0.101:554/Streaming/Channels/102':
# Metadata:
# title : Session streamed by "preview"
# comment : h264Preview_01_sub
# Duration: N/A, start: -0.637200, bitrate: N/A
# Stream #0:0: Video: h264 (High), yuv420p(progressive), 640x480, 15 tbr, 90k tbn
# Stream #0:1: Audio: aac (LC), 16000 Hz, mono, fltp
#
# Optional: Enable/Disable the camera (default: shown below).
# If disabled: config is used but no live stream and no capture etc.
# Events/Recordings are still viewable.
enabled: true
#
# Required: ffmpeg settings for the camera
ffmpeg:
# Required: A list of input streams for the camera. See documentation for more information.
#
# Camera level settings
#
# Optional: camera specific global args (default: inherit)
##global_args: -hide_banner -loglevel debug
#
# Optional: camera specific hwaccel args (default: inherit)
hwaccel_args: preset-nvidia-h265
# Optional: camera specific input args (default: inherit)
#
#input_args: []
input_args: preset-rtsp-generic
# Optional: camera specific output args (default: inherit)
output_args:
# Optional: output args for detect streams (default: shown below)
##detect: -f rawvideo -pix_fmt yuv420p
# Optional: output args for record streams (default: shown below)
##record: -f segment -segment_time 60 -segment_format mp4 -reset_timestamps 1 -strftime 1 -c copy -an
record: preset-record-generic
# Optional: output args for rtmp streams (default: shown below)
##rtmp: -c copy -f flv
#
# ==== Start ffmpeg inputs ====
inputs:
# Required: the path to the stream
# NOTE: Environment variables that begin with 'FRIGATE_' may be referenced in {}
#
# Reolink substream/fluent
- path: rtsp://frigate:{FRIGATE_RTSP_PASSWORD}@10.1.5.2:554/Streaming/Channels/102
# Required: list of roles for this stream. valid values are: detect,record,clips,rtmp
# NOTICE: In addition to assigning the record, clips, and rtmp roles,
# they must also be enabled in the camera config.
roles:
- detect
#
# stream specific settings
#
# Optional: stream specific global args (default: inherit)
#global_args: []
# Optional: stream specific hwaccel args (default: inherit)
#hwaccel_args: []
#
# Reolink main stream/clear
#
- path: rtsp://frigate:{FRIGATE_RTSP_PASSWORD}@10.1.5.2:554/Streaming/Channels/101
roles:
- record
# Optional: stream specific global args (default: inherit)
# global_args: []
# Optional: stream specific hwaccel args (default: inherit)
# hwaccel_args: []
# Optional: stream specific input args (default: inherit)
##input_args: -c:v h264_cuvid
# ==== End ffmpeg Inputs ====
#
# Optional: object detection
objects:
track:
- person
- car
- bicycle
- dog
- cat
#
# Optional: camera level motion config
filters:
car:
mask:
0.427,0.114,0.433,0.267,0.704,0.274,0.775,0.344,0.999,0.608,0.999,0.237,0.702,0.13,0.618,0.11
person:
mask:
0.427,0.114,0.433,0.267,0.704,0.274,0.775,0.344,0.999,0.608,0.999,0.237,0.702,0.13,0.618,0.11
dog:
mask:
0.427,0.114,0.433,0.267,0.704,0.274,0.775,0.344,0.999,0.608,0.999,0.237,0.702,0.13,0.618,0.11
cat:
mask:
0.427,0.114,0.433,0.267,0.704,0.274,0.775,0.344,0.999,0.608,0.999,0.237,0.702,0.13,0.618,0.11
motion:
mask:
- 0.701,0.278,0.431,0.271,0.424,0.111,0.647,0.112,0.702,0.131,1,0.238,1,0.624,0.774,0.349,0.699,0.35
- 0.017,0.001,0.267,0.001,0.265,0.029,0.019,0.037
best_image_timeout: 30
#
zones:
porch_door:
coordinates: 0.437,0.269,0.534,0.271,0.534,0.731,0.332,0.739,0.322,0.119,0.424,0.113
inertia: 3
loitering_time: 0
objects:
- person
- dog
porch_step:
coordinates: 0.555,0.271,0.554,0.795,0.987,0.773,0.979,0.615,0.771,0.35,0.701,0.273
#
# Optional: Camera level detect settings
inertia: 3
loitering_time: 0
objects:
- car
- bicycle
- dog
- person
detect:
# Optional: enables detection for the camera (default: True)
# This value can be set via MQTT and will be updated in startup based on retained value
enabled: true
# Optional: Number of frames without a detection before frigate considers an object to be gone. (default: 5x the frame rate)
# max_disappeared: 25
# Required: width of the frame for the input with the detect role
width: 640
# Required: height of the frame for the input with the detect role
height: 480
# Optional: desired fps for your camera for the input with the detect role
# NOTE: Recommended value of 5. Ideally, try and reduce your FPS on the camera.
# Frigate will attempt to autodetect if not specified.
fps: 5
#
# Optional: RTMP re-stream configuration
#rtmp:
# Required: Enable the live stream (default: True)
# enabled: True
#
# Optional: 24/7 recording configuration
#record:
# Optional: Enable recording (default: global setting)
# enabled: True
# Optional: Number of days to retain (default: global setting)
# retain_days: 7
#
# Optional: Configuration for the jpg snapshots written to the clips directory for each event
# snapshots:
# Optional: Enable writing jpg snapshot to /media/frigate/clips (default: shown below)
# This value can be set via MQTT and will be updated in startup based on retained value
# enabled: True
# Optional: print a timestamp on the snapshots (default: shown below)
# timestamp: False
# Optional: draw bounding box on the snapshots (default: shown below)
# bounding_box: True
# Optional: crop the snapshot (default: shown below)
# crop: False
# Optional: height to resize the snapshot to (default: original size)
# height: 175
# Optional: Restrict snapshots to objects that entered any of the listed zones (default: no required zones)
# required_zones: []
# Optional: Camera override for retention settings (default: global values)
# retain:
# Required: Default retention days (default: shown below)
# default: 10
# Optional: Per object retention days
# objects:
# person: 15
mqtt:
timestamp: false
bounding_box: false
crop: true
quality: 100
height: 500
# Optional: Configuration for how camera is handled in the GUI.
ui:
# Optional: Adjust sort order of cameras in the UI. Larger numbers come later (default: shown below)
# By default the cameras are sorted alphabetically.
order: 2
# Optional: Whether or not to show the camera in the Frigate UI (default: shown below)
dashboard: true
# Optional: Configuration for how to sort the cameras in the Birdseye view.
birdseye:
# Optional: Adjust sort order of cameras in the Birdseye view. Larger numbers come later (default: shown below)
# By default the cameras are sorted alphabetically.
order: 2
review:
detections:
required_zones:
- porch_door
- porch_step
alerts:
required_zones:
- porch_door
- porch_step
cam-driveway:
# Amcrest IP5M-B1186E
# user: viewer (viewer/user only)
# password: {FRIGATE_RTSP_PASSWORD} (see below but must be url friendly)
# ip address: 10.1.5.3
# rtsp port: 554
# rtmp port: 1935
# onvif port: 8000
# media port: 9000
# Main: rtsp://frigate:{FRIGATE_RTSP_PASSWORD}@10.1.5.3:554/cam/realmonitor?channel=1&subtype=0
# stream token: MediaProfile00000
# Resolution: 2688 x 1520
# Max Res: 2592 x 1944
# Frame Rate: 20 fps
# Bitrate: VBR
# Encoder H.265
# Smart Codec: On
#
#
# Substream rtsp://frigate:{FRIGATE_RTSP_PASSWORD}@10.1.5.3:554/cam/realmonitor?channel=1&subtype=1&unicast=true&proto=Onvif
# stream name: MediaProfile_Channel1_SubStream1
# stream token: MediaProfile00001
# Resolution: 704 x 480
# Frame Rate: 20 fps
# Bitrate: 1280 kps
# Encoder H.265
#
# ffprobe "rtsp://frigate:{FRIGATE_RTSP_PASSWORD}@10.1.5.3:554/cam/realmonitor?channel=1&subtype=1"
# Input #0, rtsp, from 'rtsp://frigate:{FRIGATE_RTSP_PASSWORD}@10.1.5.3:554/cam/realmonitor?channel=1&subtype=1'
# Metadata:
# title : Media Server
# Duration: N/A, start: 0.150000, bitrate: N/A
# Stream #0:0: Video: h264 (Main), yuvj420p(pc, bt709, progressive), 640x480, 20 fps, 20 tbr, 90k tbn
#
# Optional: Enable/Disable the camera (default: shown below).
# If disabled: config is used but no live stream and no capture etc.
# Events/Recordings are still viewable.
enabled: true
#
# Required: ffmpeg settings for the camera
ffmpeg:
# Required: A list of input streams for the camera. See documentation for more information.
#
# Camera level settings
#
# Optional: camera specific global args (default: inherit)
##global_args: -hide_banner -loglevel debug
#
# Optional: camera specific hwaccel args (default: inherit)
# nvidia cuda - https://trac.ffmpeg.org/wiki/HWAccelIntro
hwaccel_args: preset-nvidia-h265
#
# Optional: camera specific input args (default: inherit)
#
input_args: preset-rtsp-generic
#
# Optional: camera specific output args (default: inherit)
output_args:
# Optional: output args for detect streams (default: shown below)
##detect: -f rawvideo -pix_fmt yuv420p
# Optional: output args for record streams (default: shown below)
#
record: preset-record-generic
#
# ==== Start ffmpeg inputs ====
inputs:
# Required: the path to the stream
# NOTE: Environment variables that begin with 'FRIGATE_' may be referenced in {}
#
# Amcrest sub stream
#
- path:
rtsp://frigate:{FRIGATE_RTSP_PASSWORD}@10.1.5.3:554/cam/realmonitor?channel=1&subtype=1
roles:
- detect
# Optional: stream specific global args (default: inherit)
#global_args: []
# Optional: stream specific hwaccel args (default: inherit)
#hwaccel_args: []
# Optional: stream specific input args (default: inherit)
#input_args: []
- path:
rtsp://frigate:{FRIGATE_RTSP_PASSWORD}@10.1.5.3:554/cam/realmonitor?channel=1&subtype=0&unicast=true&proto=Onvif
roles:
- record
# Optional: stream specific global args (default: inherit)
#global_args: []
# Optional: stream specific hwaccel args (default: inherit)
#hwaccel_args: []
# Optional: stream specific input args (default: inherit)
#input_args: []
# ==== End ffmpeg Inputs ====
#
# Optional: timeout for highest scoring image before allowing it
# to be replaced by a newer image. (default: shown below)
best_image_timeout: 30
#
#
detect:
# Optional: enables detection for the camera (default: True)
# This value can be set via MQTT and will be updated in startup based on retained value
enabled: true
# Required: width of the frame for the input with the detect role
# 2688 x 1520
# 704 x 480
# 640 x 480
width: 704
# Required: height of the frame for the input with the detect role
height: 480
# Optional: desired fps for your camera for the input with the detect role
# NOTE: Recommended value of 5. Ideally, try and reduce your FPS on the camera.
# Frigate will attempt to autodetect if not specified.
fps: 5
#
#
# Optional: object detection
objects:
track:
- person
- car
- bicycle
- dog
- cat
#
# Optional: camera level motion config
#motion:
# Optional: motion mask
# NOTE: see docs for more detailed info on creating masks
filters:
car:
mask:
0,0.525,0.242,0.545,0.531,0.564,0.882,0.551,1,0.549,1,0.444,0.751,0.284,0.751,0.186,0.646,0.192,0.628,0.138,0.653,0,0,0
person:
mask:
0,0.525,0.242,0.545,0.531,0.564,0.882,0.551,1,0.549,1,0.444,0.751,0.284,0.751,0.186,0.646,0.192,0.628,0.138,0.653,0,0,0
dog:
mask:
0,0.525,0.242,0.545,0.531,0.564,0.882,0.551,1,0.549,1,0.444,0.751,0.284,0.751,0.186,0.646,0.192,0.628,0.138,0.653,0,0,0
motion:
mask: 0,0.981,0.25,0.543,0.553,0.563,1,0.554,1,0,0,0
zones:
# for motion trigger from backyard
# driveway_backyard:
# coordinates: 0,480,318,480,132,180,0,235
# objects:
# - person
# - bicycle
# - dog
# static parked car
driveway_garage:
coordinates: 0.027,0.962,0.636,0.97,0.635,1,0.003,0.998
inertia: 3
loitering_time: 0
objects:
- bicycle
- car
- dog
- person
driveway_parking:
coordinates: 0.219,0.596,0.667,0.611,0.634,0.961,0.045,0.95
inertia: 3
loitering_time: 0
objects:
- bicycle
- car
- dog
- person
driveway_entrance:
coordinates: 0.242,0.567,0.675,0.578,0.669,0.599,0.226,0.584
loitering_time: 0
objects:
- bicycle
- car
- dog
- person
inertia: 3
mqtt:
timestamp: false
bounding_box: false
crop: true
quality: 100
height: 500
ui:
# Optional: Adjust sort order of cameras in the UI. Larger numbers come later (default: shown below)
# By default the cameras are sorted alphabetically.
order: 3
# Optional: Whether or not to show the camera in the Frigate UI (default: shown below)
dashboard: true
# Optional: Configuration for how to sort the cameras in the Birdseye view.
birdseye:
# Optional: Adjust sort order of cameras in the Birdseye view. Larger numbers come later (default: shown below)
# By default the cameras are sorted alphabetically.
order: 3
review:
detections:
required_zones:
- driveway_garage
- driveway_parking
- driveway_entrance
alerts:
required_zones:
- driveway_garage
- driveway_parking
- driveway_entrance
cam-backyard:
# a0:ff:0c:df:b3:3f 10.1.5.4 cam-backyard Hikvision DS-2CD2T87G2P-LSU/SL [ dual sensor, panoramic]
#
#
# user: frigate (viewer/user only)
# password: {FRIGATE_RTSP_PASSWORD} (see below but must be url friendly)
# ip address: 10.1.5.4
# http: 80
# https: 443
# rtsp: 554
# WebSocket: 7681
# webSockets: 7682
# Onvif: 8000
# Main: rtsp://frigate:{FRIGATE_RTSP_PASSWORD}@10.1.5.4:554/Streaming/101
# Resolution: 5120 x 1440
# Frame Rate: 20 fps
# Bitrate: 16384 kps
# H.265 Profile Base
#
# ffprobe results
#
# Codec: H.265 / HEVC (High Efficiency Video Coding)
# Resolution: 1920x536
# FPS: 20/1
#
# Substream: rtsp://frigate:{FRIGATE_RTSP_PASSWORD}@10.1.5.4:554/Streaming/102
# Resolution: 1920 x 536 (or alternatively 920 x 272)
# Frame Rate: 20 fps
# Bitrate: 8192 kps
# H.265 Main Profile
# I Frame Interval: 20
# SVC: AUTO
#
# ffprobe results
#
# Optional: Enable/Disable the camera (default: shown below).
# If disabled: config is used but no live stream and no capture etc.
# Events/Recordings are still viewable.
enabled: true
#
# Required: ffmpeg settings for the camera
ffmpeg:
# Required: A list of input streams for the camera. See documentation for more information.
#
# Camera level settings
#
# Optional: camera specific global args (default: inherit)
##global_args: -hide_banner -loglevel warning
#
# Optional: camera specific hwaccel args (default: inherit)
# nvidia cuda - https://trac.ffmpeg.org/wiki/HWAccelIntro
## hwaccel_args: -hwaccel cuda
hwaccel_args: preset-nvidia-h265
#
# Optional: camera specific input args (default: inherit)
#
# from https://docs.frigate.video/configuration/camera_specific
input_args: preset-rtsp-generic
#
# Optional: camera specific output args (default: inherit)
output_args:
# without audio
record: preset-record-generic
# with audio
#record: preset-record-generic-audio-aac
#
#
# To further improve performance, you can set ffmpeg to skip frames in the output, using the fps filter
# - -filter:v
# - fps=fps=5
# Optional: output args for detect streams (default: shown below)
##detect: -f rawvideo -pix_fmt yuv420p
# Optional: output args for record streams (default: shown below)
##record: -f segment -segment_time 60 -segment_format mp4 -reset_timestamps 1 -strftime 1 -c copy -an
# Optional: output args for clips streams (default: shown below)
# clips: -f segment -segment_time 10 -segment_format mp4 -reset_timestamps 1 -strftime 1 -c copy -an
# Optional: output args for rtmp streams (default: shown below)
##rtmp: -c copy -f flv
#
# ==== Start ffmpeg inputs ====
inputs:
# Required: the path to the stream
# NOTE: Environment variables that begin with 'FRIGATE_' may be referenced in {}
#
# DETECT: cam-frontdoor via Sub-Stream
- path: rtsp://frigate:{FRIGATE_RTSP_PASSWORD}@10.1.5.4:554/Streaming/Channels/102
# Required: list of roles for this stream. valid values are: detect,record,clips,rtmp
# NOTICE: In addition to assigning the record, clips, and rtmp roles,
# they must also be enabled in the camera config.
roles:
- detect
#
# stream specific settings
#
# Optional: stream specific global args (default: inherit)
#global_args: []
# Optional: stream specific hwaccel args (default: inherit)
#hwaccel_args: []
# Optional: stream specific input args (default: inherit)
#input_args: []
#
# RECORD: cam-frontdoor via Main Stream
#
- path: rtsp://frigate:{FRIGATE_RTSP_PASSWORD}@10.1.5.4:554/Streaming/Channels/101
roles:
- record
# Optional: stream specific global args (default: inherit)
#global_args: []
# Optional: stream specific hwaccel args (default: inherit)
#hwaccel_args: []
# Optional: stream specific input args (default: inherit)
#input_args: []
# ==== End ffmpeg Inputs ====
#
#
# Optional: object detection (default: inherit via global)
objects:
track:
- person
- car
- bicycle
- dog
- cat
# - sheep
# - cow
# - deer
filters:
person:
mask:
- 0,490,750,150,750,0,0,0
- 1920,400,1920,0,1425,0,1425,200
# Optional: mask to prevent all object types from being detected in certain areas (default: no mask)
# Checks based on the bottom center of the bounding box of the object.
# NOTE: This mask is COMBINED with the object type specific mask below
#mask:
# Optional: camera level motion config
# Motion masks are used to prevent unwanted types of motion from triggering detection
motion:
mask:
- 0,0.914,0.391,0.28,0.383,0,0,0
- 1,0.819,1,0,0.742,0,0.734,0.417
best_image_timeout: 30
#
# Optional: Camera level detect settings (inherited from Global: default=true)
detect:
# Optional: enables detection for the camera (default: True)
# This value can be set via MQTT and will be updated in startup based on retained value
enabled: true
# Optional: Number of frames without a detection before frigate considers an object to be gone. (default: 5x the frame rate)
max_disappeared: 25
# as of 0.91 moved to detect
# Required: width of the frame for the input with the detect role
width: 1920
# Required: height of the frame for the input with the detect role
height: 536
# Optional: desired fps for your camera for the input with the detect role
# NOTE: Recommended value of 5. Ideally, try and reduce your FPS on the camera.
# Frigate will attempt to autodetect if not specified.
fps: 5
#
# Optional: RTMP re-stream configuration (inherited from Global: default=true)
# rtmp:
# Required: Enable the live stream (default: True)
# enabled: True
#
# Optional: 24/7 recording configuration
# record:
# Optional: Enable recording (default: global setting)
# enabled: True
# Optional: Number of days to retain (default: global setting)
# retain_days: 7
#
# Optional: Configuration for the jpg snapshots written to the clips directory for each event
# snapshots:
# Optional: Enable writing jpg snapshot to /media/frigate/clips (default: shown below)
# This value can be set via MQTT and will be updated in startup based on retained value
# enabled: True
# Optional: print a timestamp on the snapshots (default: shown below)
# timestamp: False
# Optional: draw bounding box on the snapshots (default: shown below)
# bounding_box: True
# Optional: crop the snapshot (default: shown below)
# crop: False
# Optional: height to resize the snapshot to (default: original size)
# height: 175
# Optional: Restrict snapshots to objects that entered any of the listed zones (default: no required zones)
# required_zones: []
# Optional: Camera override for retention settings (default: global values)
# retain:
# Required: Default retention days (default: shown below)
# default: 15
# Optional: Per object retention days
# objects:
# person: 15
mqtt:
timestamp: false
bounding_box: false
crop: true
quality: 100
height: 1024
# Optional: Configuration for how camera is handled in the GUI.
ui:
# Optional: Adjust sort order of cameras in the UI. Larger numbers come later (default: shown below)
# By default the cameras are sorted alphabetically.
order: 1
# Optional: Whether or not to show the camera in the Frigate UI (default: shown below)
dashboard: true
# Optional: Configuration for how to sort the cameras in the Birdseye view.
birdseye:
# Optional: Adjust sort order of cameras in the Birdseye view. Larger numbers come later (default: shown below)
# By default the cameras are sorted alphabetically.
order: 1
zones:
backyard_driveway:
coordinates: 0.463,0.343,0.511,0.34,0.509,0.603,0.416,0.613
backyard_door:
coordinates: 0.557,0.519,0.556,0.13,0.594,0.138,0.589,0.501
backyard_garage:
coordinates: 0.356,0.909,0.336,1,0.663,0.997,0.662,0.927,0.633,0.906
inertia: 3
review:
detections:
required_zones:
- backyard_driveway
- backyard_door
- backyard_garage
alerts:
required_zones:
- backyard_door
- backyard_driveway
- backyard_garage
version: 0.15-0
semantic_search:
enabled: true
reindex: false
model_size: large docker-compose file or Docker CLI commanddocker run
-d
--name='frigate'
--net='bridge'
--pids-limit 2048
--privileged=true
-e TZ="America/New_York"
-e HOST_OS="Unraid"
-e HOST_HOSTNAME="renfrew-unraid"
-e HOST_CONTAINERNAME="frigate"
-e 'FRIGATE_RTSP_PASSWORD'='XXXXXXXXXXXX'
-e 'PLUS_API_KEY'='XXXXXXXXX'
-e 'NVIDIA_VISIBLE_DEVICES'='GPU-90009d9a-dbf3-8103-414e-9422d6b77647'
-e 'NVIDIA_DRIVER_CAPABILITIES'='compute,utility,video'
-e 'YOLO_MODELS'='yolov7-640,yolov7-320,yolov7x-640,yolov7x-320'
-e 'FRIGATE_MQTT_PASSWORD'='XXXXXXXXXXXX'
-l net.unraid.docker.managed=dockerman
-l net.unraid.docker.webui='http://[IP]:[PORT:5000]'
-l net.unraid.docker.icon='https://raw.githubusercontent.com/yayitazale/unraid-templates/main/frigate.png'
-p '5000:5000/tcp'
-p '8554:8554/tcp'
-p '8555:8555/tcp'
-p '1984:1984/tcp'
-p '8555:8555/udp'
-p '1984:1984/udp'
-p '8971:8971/tcp'
-v '/mnt/user/appdata/frigate-tensorrt':'/config':'rw'
-v '/mnt/user/frigate':'/media/frigate':'rw'
-v '/mnt/cache_system/appdata/frigate-tensorrt/':'/db':'rw'
-v '/mnt/user/ssl':'/etc/letsencrypt/live/frigate':'ro,slave'
-v '/etc/localtime':'/etc/localtime':'rw'
--shm-size=512mb
--mount type=tmpfs,target=/tmp/cache,tmpfs-size=1gb
--runtime=nvidia
--cpu-shares=2048
--runtime=nvidia
--restart unless-stopped 'ghcr.io/blakeblackshear/frigate:0.15.0-beta1-tensorrt'
dc69737007299b1e6115566d1df3cafaa80bd7589717f6939daa761b800a1cc7
The command finished successfully! Relevant Frigate log output2024-11-16 13:25:19.785881487 [INFO] Preparing Frigate...
2024-11-16 13:25:19.819395395 [INFO] Starting Frigate...
2024-11-16 13:25:25.807857512 [2024-11-16 13:25:25] frigate.util.config INFO : Checking if frigate config needs migration...
2024-11-16 13:25:26.221419482 [2024-11-16 13:25:26] frigate.util.config INFO : frigate config does not need migration...
2024-11-16 13:25:26.670587269 [2024-11-16 13:25:26] frigate.app INFO : Starting Frigate (0.15.0-33825f6)
2024-11-16 13:25:26.670897682 [2024-11-16 13:25:26] frigate.app DEBUG : Skipping directory: /config
2024-11-16 13:25:26.671032962 [2024-11-16 13:25:26] frigate.app DEBUG : Skipping directory: /media/frigate/recordings
2024-11-16 13:25:26.673375127 [2024-11-16 13:25:26] frigate.app DEBUG : Skipping directory: /media/frigate/clips/cache
2024-11-16 13:25:26.673523710 [2024-11-16 13:25:26] frigate.app DEBUG : Skipping directory: /tmp/cache
2024-11-16 13:25:26.673715795 [2024-11-16 13:25:26] frigate.app DEBUG : Skipping directory: /config/model_cache
2024-11-16 13:25:26.674448254 [2024-11-16 13:25:26] frigate.app DEBUG : Skipping directory: /media/frigate/exports
2024-11-16 13:25:26.707669753 [2024-11-16 13:25:26] peewee_migrate.logs INFO : Starting migrations
2024-11-16 13:25:26.708134548 [2024-11-16 13:25:26] peewee_migrate.logs INFO : There is nothing to migrate
2024-11-16 13:25:26.789285368 [2024-11-16 13:25:26] frigate.app INFO : Recording process started: 441
2024-11-16 13:25:26.790283874 [2024-11-16 13:25:26] frigate.app INFO : Review process started: 450
2024-11-16 13:25:26.795622811 [2024-11-16 13:25:26] frigate.app INFO : go2rtc process pid: 110
2024-11-16 13:25:26.871971294 [2024-11-16 13:25:26] detector.coral INFO : Starting detection process: 458
2024-11-16 13:25:26.872112011 [2024-11-16 13:25:26] frigate.detectors.plugins.edgetpu_tfl INFO : Attempting to load TPU as pci
2024-11-16 13:25:26.875930402 [2024-11-16 13:25:26] frigate.app INFO : Embedding process started: 460
2024-11-16 13:25:26.919023523 [2024-11-16 13:25:26] frigate.app INFO : Output process started: 483
2024-11-16 13:25:26.931825456 [2024-11-16 13:25:26] frigate.detectors.plugins.edgetpu_tfl INFO : TPU found
2024-11-16 13:25:30.479992228 [2024-11-16 13:25:30] frigate.app INFO : Camera processor started for cam-frontdoor: 615
2024-11-16 13:25:30.510498555 [2024-11-16 13:25:30] frigate.app INFO : Camera processor started for cam-porch: 623
2024-11-16 13:25:30.510887974 [2024-11-16 13:25:30] frigate.app INFO : Camera processor started for cam-driveway: 631
2024-11-16 13:25:30.540163123 [2024-11-16 13:25:30] frigate.app INFO : Camera processor started for cam-backyard: 639
2024-11-16 13:25:30.568865046 [2024-11-16 13:25:30] frigate.app DEBUG : Calculated total camera size 462.0 / 4.8 :: 50 frames for each camera in SHM
2024-11-16 13:25:30.596533612 [2024-11-16 13:25:30] frigate.app INFO : Capture process started for cam-frontdoor: 647
2024-11-16 13:25:30.597390630 [2024-11-16 13:25:30] frigate.app INFO : Capture process started for cam-porch: 650
2024-11-16 13:25:30.626423182 [2024-11-16 13:25:30] frigate.app INFO : Capture process started for cam-driveway: 654
2024-11-16 13:25:30.659891407 [2024-11-16 13:25:30] frigate.app INFO : Capture process started for cam-backyard: 660
2024-11-16 13:25:30.782542984 [2024-11-16 13:25:30] frigate.api.fastapi_app INFO : Starting FastAPI app
2024-11-16 13:25:31.135365147 [2024-11-16 13:25:31] frigate.api.fastapi_app INFO : FastAPI started
2024-11-16 13:25:53.496328988 [2024-11-16 13:25:53] frigate.video DEBUG : cam-porch: frame 1731781533.312731 is not in memory store.
2024-11-16 13:25:53.497053564 [2024-11-16 13:25:53] frigate.video DEBUG : cam-porch: frame 1731781533.318224 is not in memory store.
2024-11-16 13:25:54.194501368 [2024-11-16 13:25:54] frigate.video DEBUG : cam-backyard: frame 1731781533.416146 is not in memory store.
2024-11-16 13:25:54.195525834 [2024-11-16 13:25:54] frigate.video DEBUG : cam-backyard: frame 1731781533.422042 is not in memory store.
2024-11-16 13:25:54.879526521 [2024-11-16 13:25:54] frigate.video DEBUG : cam-frontdoor: frame 1731781533.427773 is not in memory store.
2024-11-16 13:25:54.880059982 [2024-11-16 13:25:54] frigate.video DEBUG : cam-frontdoor: frame 1731781533.437649 is not in memory store.
2024-11-16 13:25:55.576128409 [2024-11-16 13:25:55] frigate.video DEBUG : cam-driveway: frame 1731781533.43389 is not in memory store.
2024-11-16 13:25:55.576305126 [2024-11-16 13:25:55] frigate.video DEBUG : cam-driveway: frame 1731781533.441776 is not in memory store.
2024-11-16 13:26:10.724336292 [2024-11-16 13:26:10] frigate.video DEBUG : cam-frontdoor: frame 1731781560.369973 is not in memory store.
2024-11-16 13:26:21.052289670 [2024-11-16 13:26:21] frigate.video DEBUG : cam-porch: frame 1731781569.952505 is not in memory store.
2024-11-16 13:26:21.722615481 [2024-11-16 13:26:21] frigate.video DEBUG : cam-frontdoor: frame 1731781570.77636 is not in memory store.
2024-11-16 13:26:32.504940885 [2024-11-16 13:26:32] frigate.video DEBUG : cam-frontdoor: frame 1731781581.777338 is not in memory store.
2024-11-16 13:26:43.257474981 [2024-11-16 13:26:43] frigate.video DEBUG : cam-frontdoor: frame 1731781592.580474 is not in memory store.
2024-11-16 13:26:54.140592671 [2024-11-16 13:26:54] frigate.video DEBUG : cam-frontdoor: frame 1731781603.382914 is not in memory store.
2024-11-16 13:26:58.178887372 [2024-11-16 13:26:58] frigate.video DEBUG : cam-backyard: frame 1731781604.52127 is not in memory store.
2024-11-16 13:26:58.855397086 [2024-11-16 13:26:58] frigate.video DEBUG : cam-porch: frame 1731781602.351679 is not in memory store.
2024-11-16 13:26:58.855966193 [2024-11-16 13:26:58] frigate.video DEBUG : cam-porch: frame 1731781605.229915 is not in memory store.
2024-11-16 13:27:04.887740537 [2024-11-16 13:27:04] frigate.video DEBUG : cam-frontdoor: frame 1731781614.200365 is not in memory store.
2024-11-16 13:27:10.959179179 [2024-11-16 13:27:10] frigate.video DEBUG : cam-driveway: frame 1731781620.084928 is not in memory store.
2024-11-16 13:27:14.303392545 [2024-11-16 13:27:14] frigate.video DEBUG : cam-backyard: frame 1731781618.184316 is not in memory store.
2024-11-16 13:27:14.976834829 [2024-11-16 13:27:14] frigate.video DEBUG : cam-porch: frame 1731781619.210176 is not in memory store.
2024-11-16 13:27:14.977512020 [2024-11-16 13:27:14] frigate.video DEBUG : cam-porch: frame 1731781621.370739 is not in memory store.
2024-11-16 13:27:15.645078948 [2024-11-16 13:27:15] frigate.video DEBUG : cam-frontdoor: frame 1731781624.981749 is not in memory store.
2024-11-16 13:27:24.332549055 [2024-11-16 13:27:24] frigate.video DEBUG : cam-driveway: frame 1731781631.091173 is not in memory store.
2024-11-16 13:27:24.997440943 [2024-11-16 13:27:24] frigate.video DEBUG : cam-backyard: frame 1731781634.143516 is not in memory store.
2024-11-16 13:27:24.997946146 [2024-11-16 13:27:24] frigate.video DEBUG : cam-backyard: frame 1731781634.384055 is not in memory store.
2024-11-16 13:27:26.322865991 [2024-11-16 13:27:26] frigate.video DEBUG : cam-frontdoor: frame 1731781635.759763 is not in memory store.
2024-11-16 13:27:34.922824446 [2024-11-16 13:27:34] frigate.video DEBUG : cam-driveway: frame 1731781644.274308 is not in memory store.
2024-11-16 13:27:34.923446274 [2024-11-16 13:27:34] frigate.video DEBUG : cam-driveway: frame 1731781644.474427 is not in memory store.
2024-11-16 13:27:35.603830521 [2024-11-16 13:27:35] frigate.video DEBUG : cam-backyard: frame 1731781645.202079 is not in memory store.
2024-11-16 13:27:36.276039273 [2024-11-16 13:27:36] frigate.video DEBUG : cam-porch: frame 1731781635.201692 is not in memory store.
2024-11-16 13:27:36.277820612 [2024-11-16 13:27:36] frigate.video DEBUG : cam-porch: frame 1731781640.166984 is not in memory store.
2024-11-16 13:27:36.951519266 [2024-11-16 13:27:36] frigate.video DEBUG : cam-frontdoor: frame 1731781646.403619 is not in memory store.
2024-11-16 13:27:46.324224000 [2024-11-16 13:27:46] frigate.video DEBUG : cam-backyard: frame 1731781655.382233 is not in memory store.
2024-11-16 13:27:46.324741707 [2024-11-16 13:27:46] frigate.video DEBUG : cam-backyard: frame 1731781655.621465 is not in memory store.
2024-11-16 13:27:47.663079417 [2024-11-16 13:27:47] frigate.video DEBUG : cam-frontdoor: frame 1731781656.994378 is not in memory store.
2024-11-16 13:27:52.289405457 [2024-11-16 13:27:52] frigate.video DEBUG : cam-porch: frame 1731781656.564771 is not in memory store.
2024-11-16 13:27:58.227927491 [2024-11-16 13:27:58] frigate.video DEBUG : cam-frontdoor: frame 1731781667.784503 is not in memory store.
2024-11-16 13:28:02.248090251 [2024-11-16 13:28:02] frigate.video DEBUG : cam-backyard: frame 1731781666.581023 is not in memory store.
2024-11-16 13:28:02.910728664 [2024-11-16 13:28:02] frigate.video DEBUG : cam-porch: frame 1731781672.401057 is not in memory store.
2024-11-16 13:28:08.858445329 [2024-11-16 13:28:08] frigate.video DEBUG : cam-frontdoor: frame 1731781678.380985 is not in memory store.
2024-11-16 13:28:16.312662281 [2024-11-16 13:28:16] frigate.video DEBUG : cam-porch: frame 1731781682.996351 is not in memory store.
2024-11-16 13:28:18.331076094 [2024-11-16 13:28:18] frigate.video DEBUG : cam-backyard: frame 1731781682.40102 is not in memory store.
2024-11-16 13:28:22.317737774 [2024-11-16 13:28:22] frigate.video DEBUG : cam-frontdoor: frame 1731781689.023713 is not in memory store.
2024-11-16 13:28:26.935221171 [2024-11-16 13:28:26] frigate.video DEBUG : cam-porch: frame 1731781696.431947 is not in memory store.
2024-11-16 13:28:34.297327235 [2024-11-16 13:28:34] frigate.video DEBUG : cam-backyard: frame 1731781698.336919 is not in memory store.
2024-11-16 13:28:37.623006862 [2024-11-16 13:28:37] frigate.video DEBUG : cam-porch: frame 1731781707.000286 is not in memory store.
2024-11-16 13:28:38.286723565 [2024-11-16 13:28:38] frigate.video DEBUG : cam-frontdoor: frame 1731781702.381595 is not in memory store. Relevant go2rtc log output2024-11-16 13:40:53.857095825 [INFO] Preparing new go2rtc config...
2024-11-16 13:40:55.302063890 [INFO] Not injecting WebRTC candidates into go2rtc config as it has been set manually
2024-11-16 13:40:55.391224062 [INFO] Starting go2rtc...
2024-11-16 13:40:55.603789638 13:40:55.603 INF go2rtc platform=linux/amd64 revision=b2399f3 version=1.9.2
2024-11-16 13:40:55.603825147 13:40:55.603 INF config path=/dev/shm/go2rtc.yaml
2024-11-16 13:40:55.604802773 13:40:55.604 INF [api] listen addr=:1984
2024-11-16 13:40:55.605683592 13:40:55.604 INF [rtsp] listen addr=:8554
2024-11-16 13:40:55.605696327 13:40:55.605 INF [webrtc] listen addr=:8555
2024-11-16 13:41:03.850916607 [INFO] Starting go2rtc healthcheck service... Operating systemUNRAID Install methodDocker CLI Network connectionWired Camera make and modelcam-frontdoor Hikvision DS-2CD2T87G2P-LSU/SL [ dual sensor, panoramic] cam-porch Hikvision DS-2CD2043G2-IU cam-driveway Amcrest IP5M-B1186EW-2.8mm cam-backyard Hikvision DS-2CD2T87G2P-LSU/SL [ dual sensor, panoramic] Screenshots of the Frigate UI's System metrics pagesAny other information that may be helpfulAttached are the relevant model files and their respective json |
Beta Was this translation helpful? Give feedback.
Replies: 2 comments 1 reply
-
You most likely chose the cpu model ID not the edgetpu model |
Beta Was this translation helpful? Give feedback.
-
Sorry Doh! You're correct, the detector type order changed in the models list on the last model training and I have obviously gotten into the habit of just grabbing the first one. Thanks for the help. |
Beta Was this translation helpful? Give feedback.
You most likely chose the cpu model ID not the edgetpu model