Skip to content

Commit

Permalink
[home] updated config for frigate camera
Browse files Browse the repository at this point in the history
  • Loading branch information
gruberdev committed Feb 13, 2024
1 parent 8eb5dea commit ddf7709
Showing 1 changed file with 15 additions and 8 deletions.
23 changes: 15 additions & 8 deletions apps/home/frigate/base/cm.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -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:
Expand All @@ -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
Expand Down

0 comments on commit ddf7709

Please sign in to comment.