Untitled

mail@pastecode.io avatar
unknown
plain_text
2 years ago
1.1 kB
664
Indexable
Never
mqtt:
  host: YOUR MQTT IP ADDRESS
  port: 1883
  topic_prefix: frigate
  client_id: frigate
  user: YOUR MQTT USERNAME
  password: YOUR MQTT PASSWORD
  stats_interval: 60

cameras:

  loft:
    ffmpeg:
      inputs:

        - path: YOUR CAMERA FEED URL
          roles:
            - detect
            - record
            - rtmp

      output_args:
        record: -f segment -segment_time 10 -segment_format mp4 -reset_timestamps 1 -strftime 1 -c:v copy -c:a copy
        rtmp: -c:v copy -c:a copy -f flv

    rtmp:
      enabled: true

    detect:
      width: 800
      height: 480

    objects:
      track:
        - person
      filters:
        person:
          threshold: 0.7

    snapshots:
      enabled: true
      timestamp: false
      bounding_box: true
      retain:
        default: 3

    record:
      enabled: true
      retain_days: 0
      events:
        retain:
          default: 3

    zones:
      loft_zone:
        coordinates: 800,480,800,163,243,225,237,480

    motion:
      mask: 0,0,653,0,693,153,0,187