config

NixOS config
Log | Files | Refs | README | LICENSE

commit eff481e9bd4cd21bbfba516c505bd439e7e78854 (tree)
parent 43f2e7b48fb75beb56d07d453ca379733911d76a
Author: Motiejus Jakštys <motiejus@jakstys.lt>
Date:   Fri, 14 Feb 2025 16:30:38 +0200

ptz detect: from downscaled go2rtc

Diffstat:
Mmodules/services/frigate/default.nix | 12++++++++++--
1 file changed, 10 insertions(+), 2 deletions(-)

diff --git a/modules/services/frigate/default.nix b/modules/services/frigate/default.nix @@ -41,6 +41,15 @@ in "vno4-dome-panorama-high" = [ "ffmpeg:rtsp://frigate:\${FRIGATE_RTSP_PASSWORD}@192.168.188.10/cam/realmonitor?channel=1&subtype=0" ]; + "vno4-dome-panorama-med" = [ + "ffmpeg:rtsp://localhost:8554/vno4-dome-panorama-high" + "hwaccel=vaapi" + "hwaccel_device=/dev/dri/renderD128" + "decoder=h264_vaapi" + "encoder=h264_vaapi" + "resolution=1280x720" + "preset=fast" + ]; "vno4-dome-panorama-low" = [ "ffmpeg:rtsp://frigate:\${FRIGATE_RTSP_PASSWORD}@192.168.188.10/cam/realmonitor?channel=1&subtype=1" ]; @@ -124,8 +133,7 @@ in ]; } { - #path = "rtsp://localhost:8554/vno4-dome-ptz-low"; - path = "rtsp://frigate:{FRIGATE_RTSP_PASSWORD}@192.168.188.10/cam/realmonitor?channel=2&subtype=1"; + path = "rtsp://localhost:8554/vno4-dome-ptz-med"; roles = [ "detect" ]; } ];