Advertisement
-Teme-

Frigate_config

Sep 23rd, 2023
1,224
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
YAML 1.63 KB | None | 0 0
  1. # Camera config
  2. cameras:
  3.   kamera1:
  4.     ffmpeg:
  5.       inputs:
  6.         - path: rtsp://127.0.0.1:8554/cam1?video=copy&audio=aac
  7.           input_args: -avoid_negative_ts make_zero -fflags nobuffer+genpts+discardcorrupt -strict experimental -analyzeduration 1000M -probesize 1000M -flags low_delay
  8.           roles:
  9.            - record
  10.         - path: rtsp://127.0.0.1:8554/cam1_sub?video=copy
  11.           roles:
  12.            - detect
  13. # Go2RTC stream config
  14. go2rtc:
  15.   streams:
  16.    # RLC-520
  17.     cam1:
  18.      - rtsp://user:pass@cam_IP:554/h264Preview_01_main
  19.     cam1_sub:
  20.      - rtsp://user:pass@cam_IP:554/h264Preview_01_sub
  21.   webrtc:
  22.     candidates:
  23.      - frigate_IP:8555
  24.       - stun:8555
  25.  
  26. # Objects config
  27. objects:
  28.  # Optional: list of objects to track from labelmap.txt (default: shown below)
  29.   track:
  30.    - person
  31.   filters:
  32.     person:
  33.       min_score: 0.8
  34.  
  35. # Record settings
  36. record:
  37.   enabled: True
  38.   events:
  39.     pre_capture: 5
  40.     post_capture: 5
  41.     retain:
  42.       default: 14
  43.       mode: active_objects
  44.   retain:
  45.     days: 7
  46.     mode: motion
  47.  
  48. snapshots:
  49.   enabled: True
  50.   clean_copy: True
  51.   timestamp: True
  52.   bounding_box: true
  53.   retain:
  54.     default: 7
  55.  
  56. timestamp_style:
  57.   position: tr
  58.   format: "%d/%m/%Y %H:%M:%S"
  59.  
  60. ffmpeg:
  61.   hwaccel_args:
  62.    - -hwaccel
  63.     - vaapi
  64.     - -hwaccel_device
  65.     - /dev/dri/renderD128
  66.     - -hwaccel_output_format
  67.     - yuv420p
  68.   output_args:
  69.       record: preset-record-generic-audio-aac
  70.  
  71. detectors:
  72.   coral_pci:
  73.     type: edgetpu
  74.     device: pci
  75.  
  76. mqtt:
  77.   host: mqtt_IP
  78.   user: user
  79.   password: pass
  80.   topic_prefix: frigate
  81.   client_id: frigate
  82.  
Tags: Frigate
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement