Skip to content

Commit

Permalink
[home] fixed improper frigate init args
Browse files Browse the repository at this point in the history
  • Loading branch information
gruberdev committed Feb 13, 2024
1 parent 8fbae1e commit 8689295
Show file tree
Hide file tree
Showing 2 changed files with 14 additions and 4 deletions.
16 changes: 13 additions & 3 deletions apps/home/frigate/base/cm.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -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:
Expand All @@ -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
Expand Down
2 changes: 1 addition & 1 deletion apps/home/frigate/base/deployment.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 8689295

Please sign in to comment.