denperss

Frigate confignew

Sep 30th, 2025 (edited)
240
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
YAML 2.09 KB | None | 0 0
  1. mqtt:
  2.   host: 192.168.86.30 # Replace with your MQTT broker address
  3.   user: mqttnvr # Replace with your MQTT username
  4.   password: ! # Replace with your MQTT password
  5.   topic_prefix: frigate
  6.  
  7.  
  8. #detectors:
  9. #  cpu1:
  10. #    type: cpu
  11.  
  12. detectors:
  13.   ov:
  14.     type: openvino
  15.     device: GPU
  16.  
  17. model:
  18.   width: 300
  19.   height: 300
  20.   input_tensor: nhwc
  21.   input_pixel_format: bgr
  22.   path: /openvino-model/ssdlite_mobilenet_v2.xml
  23.   labelmap_path: /openvino-model/coco_91cl_bkgr.txt
  24.  
  25. ffmpeg:
  26.   hwaccel_args: preset-vaapi   # Intel VAAPI (QuickSync) for hardware accel
  27.  
  28. go2rtc:
  29.   streams:
  30.    # Name for the stream (used in RTSP URL below)
  31.     livingroom:
  32.      - nest:?
  33.  
  34. #    doorbell_nest:
  35. #      - nest:?
  36.  
  37. #    test_doorbell:
  38. #      - rtsp://192.168.86.30:8554/hass-webrtc4?mp4
  39. #    garage_nest:
  40. #      - nest:?
  41.  
  42.   # Optional: Add other go2rtc settings if needed
  43.   # rtsp:
  44.   #   listen: ":8554" # Usually handled automatically by Frigate
  45.  
  46. cameras:
  47.   livingroom:
  48.     ffmpeg:
  49.       inputs:
  50.        # Mainstream (recording)
  51.         - path: rtsp://127.0.0.1:8554/livingroom
  52.           roles:
  53.            - record
  54.         # Detection (same stream, scaled down)
  55.         - path: rtsp://127.0.0.1:8554/livingroom
  56.           roles:
  57.            - detect
  58.           input_args: preset-rtsp-restream
  59.     detect:
  60.       width: 1920
  61.       height: 1080
  62.       fps: 20
  63.     record:
  64.       enabled: false ## REMBER TO CHANGE THIS
  65.       retain:
  66.         days: 2
  67.         mode: all
  68.  
  69.   reolink_rlc420:
  70.     ffmpeg:
  71.       inputs:
  72.        # Mainstream (5MP, high-res)
  73.         - path: rtsp://[email protected]:554/h264Preview_01_main
  74.           roles:
  75.            - record
  76.         # Substream (low-res for detection)
  77.         - path: rtsp://admin:@192.168.86.90:554/h264Preview_01_sub
  78.           roles:
  79.            - detect
  80.             - audio
  81.     detect:
  82.       width: 640      # typical Reolink substream width
  83.       height: 360     # typical Reolink substream height
  84.       fps: 20
  85.     record:
  86.       enabled: true
  87.       retain:
  88.         days: 2
  89.         mode: all
  90. detect:
  91.   enabled: true
  92. version: 0.16-0
  93.  
Advertisement
Add Comment
Please, Sign In to add comment