Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- # Camera config
- cameras:
- kamera1:
- ffmpeg:
- inputs:
- - path: rtsp://127.0.0.1:8554/cam1?video=copy&audio=aac
- input_args: -avoid_negative_ts make_zero -fflags nobuffer+genpts+discardcorrupt -strict experimental -analyzeduration 1000M -probesize 1000M -flags low_delay
- roles:
- - record
- - path: rtsp://127.0.0.1:8554/cam1_sub?video=copy
- roles:
- - detect
- # Go2RTC stream config
- go2rtc:
- streams:
- # RLC-520
- cam1:
- - rtsp://user:pass@cam_IP:554/h264Preview_01_main
- cam1_sub:
- - rtsp://user:pass@cam_IP:554/h264Preview_01_sub
- webrtc:
- candidates:
- - frigate_IP:8555
- - stun:8555
- # Objects config
- objects:
- # Optional: list of objects to track from labelmap.txt (default: shown below)
- track:
- - person
- filters:
- person:
- min_score: 0.8
- # Record settings
- record:
- enabled: True
- events:
- pre_capture: 5
- post_capture: 5
- retain:
- default: 14
- mode: active_objects
- retain:
- days: 7
- mode: motion
- snapshots:
- enabled: True
- clean_copy: True
- timestamp: True
- bounding_box: true
- retain:
- default: 7
- timestamp_style:
- position: tr
- format: "%d/%m/%Y %H:%M:%S"
- ffmpeg:
- hwaccel_args:
- - -hwaccel
- - vaapi
- - -hwaccel_device
- - /dev/dri/renderD128
- - -hwaccel_output_format
- - yuv420p
- output_args:
- record: preset-record-generic-audio-aac
- detectors:
- coral_pci:
- type: edgetpu
- device: pci
- mqtt:
- host: mqtt_IP
- user: user
- password: pass
- topic_prefix: frigate
- client_id: frigate
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement