Created
April 22, 2021 18:37
-
-
Save peyanski/f47e56656e4fc94c8bc1f1c7ba435d1d to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
detectors: | |
cpu1: | |
type: cpu | |
mqtt: | |
# Required: host name | |
host: 10.0.0.250 | |
# 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: SMASH | |
# Optional: password | |
# NOTE: Environment variables that begin with 'FRIGATE_' may be referenced in {}. | |
# eg. password: '{FRIGATE_MQTT_PASSWORD}' | |
password: THELIKE | |
# Optional: interval in seconds for publishing stats (default: shown below) | |
stats_interval: 60 | |
cameras: | |
# Name of your camera | |
front_door: | |
ffmpeg: | |
hwaccel_args: | |
- -c:v | |
- h264_v4l2m2m | |
inputs: | |
- path: rtsp://user:[email protected]:554/h264Preview_01_sub | |
roles: | |
- detect | |
- rtmp | |
objects: | |
track: | |
- person | |
- car | |
- truck | |
- bicycle | |
- motorcycle | |
- dog | |
- cat | |
# Optional: save clips configuration | |
clips: | |
# Required: enables clips for the camera (default: shown below) | |
# This value can be set via MQTT and will be updated in startup based on retained value | |
enabled: True | |
# Optional: Number of seconds before the event to include in the clips (default: shown below) | |
pre_capture: 5 | |
# Optional: Number of seconds after the event to include in the clips (default: shown below) | |
post_capture: 5 | |
# Optional: Objects to save clips for. (default: all tracked objects) | |
objects: | |
- person | |
# Optional: Restrict clips 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 | |
# 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: False | |
# 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 | |
width: 640 | |
height: 352 | |
fps: 5 |
Dvalin21 what did you add to your config.yml file to get it to work. I’m having a similar issue. Are config.yml and frigate.yml the same thing?
mqtt:
host: ip address
port: 1883
cameras:
front:
ffmpeg:
hwaccel_args:
- -c:v
- h264_v4l2m2m
inputs:
- path: rtsp://username:password@ip address/rtsp
roles:
- detect
rtmp:
enabled: true
detect:
width: 1280
height: 720
record:
enabled: true
detectors:
cpu1:
type: cpu
num_threads: 3
Next step is trying to get mosquito to work on docker.
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Dvalin21 what did you add to your config.yml file to get it to work. I’m having a similar issue. Are config.yml and frigate.yml the same thing?