Skip to content

Commit

Permalink
[home] implemented custom ffmpeg command to frigate
Browse files Browse the repository at this point in the history
  • Loading branch information
gruberdev committed Feb 19, 2024
1 parent ba72683 commit 2f328bd
Showing 1 changed file with 2 additions and 4 deletions.
6 changes: 2 additions & 4 deletions apps/home/frigate/base/cm.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -20,9 +20,7 @@ data:
person: 1000
go2rtc:
streams:
hall_cam:
- http://home-assistant.homeassistant.svc.cluster.local:8123/api/camera_proxy_stream/camera.acessoweb_scseg_com_br#header=Authorization: {FRIGATE_HA_TOKEN}
- "ffmpeg:hall_cam#video=h264#hardware"
hall_cam: exec:ffmpeg -hide_banner g -headers "Authorization: Bearer {FRIGATE_HA_TOKEN}" http://home-assistant.homeassistant.svc.cluster.local:8123/api/camera_proxy/camera.acessoweb_scseg_com_br -re -stream_loop -1 -rtsp_transport -c copy -f rtsp {{output}}
cameras:
hall_cam:
enabled: true
Expand All @@ -47,7 +45,7 @@ data:
ffmpeg:
global_args: -hide_banner
hwaccel_args: preset-nvidia-h264
input_args: preset-rtsp-restream
input_args: preset-rtsp-generic
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 2f328bd

Please sign in to comment.