Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- mqtt:
- # Optional: Enable mqtt server (default: shown below)
- enabled: true
- # Required: host name
- host: 192.168.0.18
- # Optional: port (default: shown below)
- port: 1883
- # Optional: topic prefix (default: shown below)
- # NOTE: must be unique if you are running multiple instances
- topic_prefix: frigate
- # Optional: client id (default: shown below)
- # NOTE: must be unique if you are running multiple instances
- client_id: frigate
- # Optional: user
- # NOTE: MQTT user can be specified with an environment variable or docker secrets that must begin with 'FRIGATE_'.
- # e.g. user: '{FRIGATE_MQTT_USER}'
- user: mqtt-user
- # Optional: password
- # NOTE: MQTT password can be specified with an environment variable or docker secrets that must begin with 'FRIGATE_'.
- # e.g. password: '{FRIGATE_MQTT_PASSWORD}'
- password: xyz
- #ffmpeg:
- # hwaccel_args: preset-vaapi
- ffmpeg:
- output_args:
- record: preset-record-generic-audio-aac
- # hwaccel_args:
- # - -vaapi_device
- # - /dev/dri/renderD128
- # - -hwaccel
- # - vaapi
- # - -hwaccel_output_format
- # - yuv420p
- #detectors:
- # cpu1:
- # type: cpu
- # num_threads: 2
- go2rtc:
- streams:
- Ogrod:
- - rtsp://admin:[email protected]/Preview_01_main
- Ogrod_sub:
- - rtsp://admin:[email protected]/Preview_01_sub
- Rog_PTZ:
- - rtsp://admin:[email protected]/Preview_01_main
- Rog_PTZ_sub:
- - rtsp://admin:[email protected]/Preview_01_sub
- - ffmpeg:https://192.168.0.7/flv?port=1935&app=bcs&stream=channel1_sub.bcs&user=admin&password=xyz#video=copy#audio=copy#audio=opus
- record:
- enabled: true
- retain:
- days: 14
- mode: all
- events:
- retain:
- default: 14
- mode: active_objects
- # preview:
- # Optional: Quality of recording preview (default: shown below).
- # Options are: very_low, low, medium, high, very_high
- # quality: very_high
- #model:
- # Optional: path to the model (default: automatic based on detector)
- #path: /edgetpu_model.tflite
- # Optional: path to the labelmap (default: shown below)
- #labelmap_path: /labelmap.txt
- # Required: Object detection model input width (default: shown below)
- #width: 320
- # Required: Object detection model input height (default: shown below)
- #height: 320
- # Optional: Object detection model input colorspace
- # Valid values are rgb, bgr, or yuv. (default: shown below)
- #input_pixel_format: bgr
- objects:
- # Optional: list of objects to track from labelmap.txt (default: shown below)
- track:
- - person
- - car
- - cat
- - dog
- cameras:
- Rog_PTZ: # <--- this will be changed to your actual camera later
- enabled: true
- ffmpeg:
- inputs:
- # High Resolution Stream
- - path: rtsp://127.0.0.1:8554/Rog_PTZ
- # input_args: preset-rtsp-restream-low-latency
- roles:
- - record
- - audio
- # Low Resolution Stream
- - path: rtsp://127.0.0.1:8554/Rog_PTZ_sub
- input_args: preset-rtsp-restream-low-latency
- roles:
- - detect
- # birdseye:
- # order: 1
- objects:
- # Optional: list of objects to track from labelmap.txt (default: shown below)
- track:
- - person
- - car
- - cat
- - dog
- onvif:
- host: 192.168.0.7
- port: 8000
- user: admin
- password: xyz
- detect:
- width: 640
- height: 360
- fps: 7
- snapshots:
- enabled: true
- motion:
- mask: 0.698,0.075,1,0.073,1,0.004,0.699,0
- zones:
- Monitoring_Rog:
- coordinates: 0,0,0.774,0,0.775,0.073,1,0.07,1,1,0,1
- inertia: 3
- loitering_time: 0
- Ogrod: # <--- this will be changed to your actual camera later
- enabled: true
- ffmpeg:
- inputs:
- # High Resolution Stream
- - path: rtsp://127.0.0.1:8554/Ogrod
- input_args: preset-rtsp-restream-low-latency
- roles:
- - record
- - audio
- # Low Resolution Stream
- - path: rtsp://127.0.0.1:8554/Ogrod_sub
- input_args: preset-rtsp-restream-low-latency
- roles:
- - detect
- # birdseye:
- # order: 1
- # input_args: preset-rtsp-restream
- onvif:
- host: 192.168.0.6
- port: 8000
- user: admin
- password: xyz
- objects:
- # Optional: list of objects to track from labelmap.txt (default: shown below)
- track:
- - person
- - car
- - cat
- - dog
- detect:
- width: 640
- height: 360
- fps: 7
- snapshots:
- enabled: true
- # detect:
- # width: 3840
- # height: 2160
- # fps: 15
- # snapshots:
- # enabled: true
- motion:
- mask:
- - 0.697,0.065,0.995,0.064,0.991,0.022,0.698,0.022
- - 0,0.237,0.115,0.235,0.237,0.256,0.261,0.242,0.295,0.202,0.339,0.165,0.4,0.164,0.432,0.165,0.399,0.211,0.4,0.305,0.402,0.336,0.333,0.341,0.246,0.338,0.198,0.32,0.171,0.276,0.16,0.265,0.129,0.299,0.066,0.392,0.002,0.372
- - 1,0.429,0.903,0.344,0.888,0.304,0.75,0.313,0.75,0.223,0.823,0.124,0.795,0,1,0
- zones:
- Drzwi:
- coordinates: 0.403,0.371,0.497,0.37,0.489,0.523,0.404,0.522
- loitering_time: 0
- inertia: 3
- Brama:
- coordinates: 0.92,0.406,0.982,0.463,0.98,0.565,0.828,0.528,0.818,0.439
- loitering_time: 0
- objects:
- - person
- - cat
- - dog
- - car
- inertia: 3
- Wjazd:
- coordinates:
- 0.772,0.542,0.825,0.555,0.888,0.566,0.945,0.587,0.917,0.634,0.898,0.665,0.862,0.659,0.789,0.635,0.704,0.595,0.733,0.555
- loitering_time: 0
- objects:
- - car
- - person
- inertia: 3
- Grill:
- coordinates: 0.26,0.411,0.324,0.382,0.374,0.407,0.37,0.487,0.283,0.5
- loitering_time: 0
- inertia: 3
- Chodnik_drzwi_lewo:
- coordinates: 0.526,0.411,0.585,0.416,0.582,0.505,0.52,0.504
- loitering_time: 0
- inertia: 3
- Chodnik_Drzwi_lewo_poczatek:
- coordinates: 0.611,0.438,0.708,0.448,0.708,0.534,0.613,0.532
- loitering_time: 0
- Srodek_ogrodu:
- coordinates:
- 0,0.673,0.105,0.619,0.414,0.534,0.414,0.569,0.412,0.589,0.425,0.603,0.34,0.668,0.242,0.746,0.136,1,0,1
- loitering_time: 0
- objects:
- - car
- - person
- inertia: 3
- Przed_misiem:
- coordinates:
- 0.546,0.62,0.581,0.62,0.779,0.669,0.991,0.7,1,0.84,1,1,0.776,1,0.549,1,0.254,1,0.539,0.674
- loitering_time: 0
- inertia: 3
- Altanka:
- coordinates: 0.097,0.406,0.235,0.398,0.246,0.492,0.182,0.521,0.09,0.539
- loitering_time: 0
- objects:
- - person
- - car
- review:
- alerts:
- required_zones: Brama
- version: 0.14
- camera_groups:
- Kamery:
- order: 1
- icon: LuAperture
- cameras:
- - Ogrod
- - Rog_PTZ
- telemetry:
- network_interfaces:
- - eno
- stats:
- # Enable AMD GPU stats (default: shown below)
- amd_gpu_stats: true
- # Enable Intel GPU stats (default: shown below)
- intel_gpu_stats: true
- # Enable network bandwidth stats monitoring for camera ffmpeg processes, go2rtc, and object detectors. (default: shown below)
- # NOTE: The container must either be privileged or have cap_net_admin, cap_net_raw capabilities enabled.
- network_bandwidth: true
- # Optional: Enable the latest version outbound check (default: shown below)
- # NOTE: If you use the HomeAssistant integration, disabling this will prevent it from reporting new versions
- version_check: true
Advertisement
Add Comment
Please, Sign In to add comment