CCCPaste

frigate.yml ch

mqtt:
  host: core-mosquitto
  user: xxxx
  password: xxxx
  topic_prefix: frigate
  stats_interval: 60

ui:
  timezone: Europe/

version: 0.16-0

################################################################################
# Intel NUC Hardware Acceleration (VAAPI)
################################################################################

ffmpeg:
  hwaccel_args: preset-vaapi
  output_args:
    record: preset-record-generic-aac
    detect: preset-detect

################################################################################
# Coral USB Detector
################################################################################

detectors:
  coral:
    type: edgetpu
    device: usb

################################################################################
# go2rtc: Nest WebRTC proxy + low-resolution transcoding
################################################################################

go2rtc:
  streams:
    Forhave:
      - rtsp://192.168.2.60:8554/Forhave?mp4
      - ffmpeg:Forhave_low:rtsp://192.168.2.60:8554/Forhave?mp4#video=h264#hardware#scale=640:360

    Baghave:
      - rtsp://192.168.2.60:8554/Baghave?mp4
      - ffmpeg:Baghave_low:rtsp://192.168.2.60:8554/Baghave?mp4#video=h264#hardware#scale=640:360

    Garage:
      - rtsp://192.168.2.60:8554/Garage?mp4
      - ffmpeg:Garage_low:rtsp://192.168.2.60:8554/Garage?mp4#video=h264#hardware#scale=640:360

    Hoveddor:
      - rtsp://192.168.2.60:8554/Hoveddor?mp4
      - ffmpeg:Hoveddor_low:rtsp://192.168.2.60:8554/Hoveddor?mp4#video=h264#hardware#scale=640:360

################################################################################
# Cameras (corrected RTSP URLs)
################################################################################

cameras:
  Forhave:
    ffmpeg:
      inputs:
        - path: rtsp://localhost:8554/Forhave?video=low
          roles: [detect]
        - path: rtsp://localhost:8554/Forhave?video
          roles: [record]
    detect:
      fps: 5

  Baghave:
    ffmpeg:
      inputs:
        - path: rtsp://localhost:8554/Baghave?video=low
          roles: [detect]
        - path: rtsp://localhost:8554/Baghave?video
          roles: [record]
    detect:
      fps: 5

  Garage:
    ffmpeg:
      inputs:
        - path: rtsp://localhost:8554/Garage?video=low
          roles: [detect]
        - path: rtsp://localhost:8554/Garage?video
          roles: [record]
    detect:
      fps: 5

  Hoveddor:
    ffmpeg:
      inputs:
        - path: rtsp://localhost:8554/Hoveddor?video=low
          roles: [detect]
        - path: rtsp://localhost:8554/Hoveddor?video
          roles: [record]
    detect:
      fps: 5

################################################################################
# Global Detection Settings
################################################################################

detect:
  enabled: true
  max_disappeared: 10

################################################################################
# Optional: Environment variables for VAAPI in Docker (Intel NUC)
################################################################################

# Ensure your docker container has:
#   - /dev/dri:/dev/dri
#   - environment variables:
#       VAAPI_DRIVER_NAME=iHD
#       XDG_RUNTIME_DIR=/tmp