From ddf77097904d730976dcbe4f37fc63f8b4910a08 Mon Sep 17 00:00:00 2001 From: gruberdev Date: Tue, 13 Feb 2024 20:32:24 -0300 Subject: [PATCH] [home] updated config for frigate camera --- apps/home/frigate/base/cm.yaml | 23 +++++++++++++++-------- 1 file changed, 15 insertions(+), 8 deletions(-) diff --git a/apps/home/frigate/base/cm.yaml b/apps/home/frigate/base/cm.yaml index e4fe7f44c..d05f72deb 100644 --- a/apps/home/frigate/base/cm.yaml +++ b/apps/home/frigate/base/cm.yaml @@ -4,14 +4,21 @@ metadata: name: frigate-config data: config.yml: | + go2rtc: + streams: + hall_cam: "ffmpeg:http://home-assistant.homeassistant.svc.cluster.local:8123/api/camera_proxy_stream/camera.acessoweb_scseg_com_br#video=h264#hardware#header='Authorization: Bearer {FRIGATE_HA_TOKEN}'#header='Content-Type: application/json'" cameras: - dummy_camera: - enabled: False - ffmpeg: - inputs: - - path: rtsp://127.0.0.1:554/rtsp - roles: - - detect + hall_cam: + enabled: true + inputs: + - path: rtsp://127.0.0.1:8554/hall_cam + roles: + - detect + - record + detect: + width: 1280 + height: 720 + fps: 5 mqtt: enabled: False snapshots: @@ -27,7 +34,7 @@ data: ffmpeg: global_args: -hide_banner hwaccel_args: preset-nvidia-h264 #preset-vaapi - input_args: preset-rtsp-generic + input_args: preset-rtsp-restream output_args: record: -f segment -segment_time 60 -segment_format mp4 -reset_timestamps 1 -strftime 1 -c copy -an detect: -f rawvideo -pix_fmt yuv420p