Untitled

mail@pastecode.io avatar
unknown
plain_text
2 months ago
1.7 kB
5
Indexable
Never
mqtt:
  enabled: true
  host: 192.168.1.15
  port: 1883
  topic_prefix: frigate
  client_id: frigate
  user: *****
  password: *******

#go2rtc:
#  rtsp:
#    username: go2rtcuser
#    password: go2rtc@0965&
#    streams:
#      Cam80_h264: ffmpeg:rtsp://*****:*****@192.168.1.80:554/ISAPI/Streaming/Channels/101#video=h264/rk

birdseye:
  enabled: true
  restream: true
  mode: objects

cameras:
  Camera80:
    ffmpeg:
      hwaccel_args: -hwaccel vaapi -hwaccel_device /dev/dri/renderD128
      inputs:
      - path: rtsp://****:****@192.168.1.80:554/ISAPI/Streaming/Channels/101
        roles:
        - rtmp
        - record
      - path: rtsp://****:********@192.168.1.80:554/ISAPI/Streaming/Channels/102
        roles:
        - detect
      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

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

    detect:
      width: 640
      height: 480
      fps: 5
    record:
      enabled: true
      retain:
        days: 3
        mode: all

    motion:
      mask:
      - 146,332,167,417,252,363,242,323,216,282,192,241,158,241
      - 0,47,0,0,219,0,219,44
      - 602,265,445,393,469,211

snapshots:
  enabled: true
  retain:
    default: 7

motion:
  mask:
    - 146,332,167,417,252,363,242,323,216,282,192,241,158,241
    - 0,47,0,0,219,0,219,44
    - 602,265,445,393,469,211


detectors:
  coral:
    type: edgetpu
    device: usb
#  cpu1:
#    type: cpu
#    num_threads: 3
Leave a Comment