From 8689295ab14a8667582045f72ef7dd4d71388b31 Mon Sep 17 00:00:00 2001 From: gruberdev Date: Tue, 13 Feb 2024 19:47:53 -0300 Subject: [PATCH] [home] fixed improper frigate init args --- apps/home/frigate/base/cm.yaml | 16 +++++++++++++--- apps/home/frigate/base/deployment.yaml | 2 +- 2 files changed, 14 insertions(+), 4 deletions(-) diff --git a/apps/home/frigate/base/cm.yaml b/apps/home/frigate/base/cm.yaml index 04805aea0..df041203f 100644 --- a/apps/home/frigate/base/cm.yaml +++ b/apps/home/frigate/base/cm.yaml @@ -8,7 +8,7 @@ data: 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: + dummy_camera: enabled: False ffmpeg: inputs: @@ -17,9 +17,19 @@ data: - detect mqtt: enabled: False + model: + path: /trt-models/yolov7-tiny-416.trt + input_tensor: nchw + input_pixel_format: rgb + width: 416 + height: 416 ffmpeg: - input_args: preset-rtsp-generic - hwaccel_args: preset-nvidia-h264 + global_args: -hide_banner + hwaccel_args: preset-nvidia-h264 #preset-vaapi + 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 -andetectors: detectors: tensorrt: type: tensorrt diff --git a/apps/home/frigate/base/deployment.yaml b/apps/home/frigate/base/deployment.yaml index dfa96c0be..d718cd526 100644 --- a/apps/home/frigate/base/deployment.yaml +++ b/apps/home/frigate/base/deployment.yaml @@ -19,7 +19,7 @@ spec: runtimeClassName: nvidia containers: - name: frigate - image: ghcr.io/blakeblackshear/frigate:master-77e7777-tensorrt + image: ghcr.io/blakeblackshear/frigate:stable-tensorrt imagePullPolicy: Always env: - name: NVIDIA_VISIBLE_DEVICES