denperss

frigate.yml ch

Nov 19th, 2025
207
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
YAML 3.32 KB | None | 0 0
  1. mqtt:
  2.   host: core-mosquitto
  3.   user: xxxx
  4.   password: xxxx
  5.   topic_prefix: frigate
  6.   stats_interval: 60
  7.  
  8. ui:
  9.   timezone: Europe/
  10.  
  11. version: 0.16-0
  12.  
  13. ################################################################################
  14. # Intel NUC Hardware Acceleration (VAAPI)
  15. ################################################################################
  16.  
  17. ffmpeg:
  18.   hwaccel_args: preset-vaapi
  19.   output_args:
  20.     record: preset-record-generic-aac
  21.     detect: preset-detect
  22.  
  23. ################################################################################
  24. # Coral USB Detector
  25. ################################################################################
  26.  
  27. detectors:
  28.   coral:
  29.     type: edgetpu
  30.     device: usb
  31.  
  32. ################################################################################
  33. # go2rtc: Nest WebRTC proxy + low-resolution transcoding
  34. ################################################################################
  35.  
  36. go2rtc:
  37.   streams:
  38.     Forhave:
  39.      - rtsp://192.168.2.60:8554/Forhave?mp4
  40.       - ffmpeg:Forhave_low:rtsp://192.168.2.60:8554/Forhave?mp4#video=h264#hardware#scale=640:360
  41.  
  42.     Baghave:
  43.      - rtsp://192.168.2.60:8554/Baghave?mp4
  44.       - ffmpeg:Baghave_low:rtsp://192.168.2.60:8554/Baghave?mp4#video=h264#hardware#scale=640:360
  45.  
  46.     Garage:
  47.      - rtsp://192.168.2.60:8554/Garage?mp4
  48.       - ffmpeg:Garage_low:rtsp://192.168.2.60:8554/Garage?mp4#video=h264#hardware#scale=640:360
  49.  
  50.     Hoveddor:
  51.      - rtsp://192.168.2.60:8554/Hoveddor?mp4
  52.       - ffmpeg:Hoveddor_low:rtsp://192.168.2.60:8554/Hoveddor?mp4#video=h264#hardware#scale=640:360
  53.  
  54. ################################################################################
  55. # Cameras (corrected RTSP URLs)
  56. ################################################################################
  57.  
  58. cameras:
  59.   Forhave:
  60.     ffmpeg:
  61.       inputs:
  62.         - path: rtsp://localhost:8554/Forhave?video=low
  63.           roles: [detect]
  64.         - path: rtsp://localhost:8554/Forhave?video
  65.           roles: [record]
  66.     detect:
  67.       fps: 5
  68.  
  69.   Baghave:
  70.     ffmpeg:
  71.       inputs:
  72.         - path: rtsp://localhost:8554/Baghave?video=low
  73.           roles: [detect]
  74.         - path: rtsp://localhost:8554/Baghave?video
  75.           roles: [record]
  76.     detect:
  77.       fps: 5
  78.  
  79.   Garage:
  80.     ffmpeg:
  81.       inputs:
  82.         - path: rtsp://localhost:8554/Garage?video=low
  83.           roles: [detect]
  84.         - path: rtsp://localhost:8554/Garage?video
  85.           roles: [record]
  86.     detect:
  87.       fps: 5
  88.  
  89.   Hoveddor:
  90.     ffmpeg:
  91.       inputs:
  92.         - path: rtsp://localhost:8554/Hoveddor?video=low
  93.           roles: [detect]
  94.         - path: rtsp://localhost:8554/Hoveddor?video
  95.           roles: [record]
  96.     detect:
  97.       fps: 5
  98.  
  99. ################################################################################
  100. # Global Detection Settings
  101. ################################################################################
  102.  
  103. detect:
  104.   enabled: true
  105.   max_disappeared: 10
  106.  
  107. ################################################################################
  108. # Optional: Environment variables for VAAPI in Docker (Intel NUC)
  109. ################################################################################
  110.  
  111. # Ensure your docker container has:
  112. #   - /dev/dri:/dev/dri
  113. #   - environment variables:
  114. #       VAAPI_DRIVER_NAME=iHD
  115. #       XDG_RUNTIME_DIR=/tmp
  116.  
Tags: chris
Advertisement
Add Comment
Please, Sign In to add comment