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