commit db102780dff8b5043bb7fdbef5b335fd51a8e17a (tree) parent 3094e5e6644eddf28dc2f96aa2bc468be586185a Author: Motiejus Jakštys <motiejus@jakstys.lt> Date: Sun, 16 Feb 2025 22:31:02 +0200 go2rtc: split orig/high/low Diffstat:
| M | modules/services/frigate/default.nix | | | 14 | ++++++++++---- |
1 file changed, 10 insertions(+), 4 deletions(-)
diff --git a/modules/services/frigate/default.nix b/modules/services/frigate/default.nix @@ -43,17 +43,23 @@ in # level = "trace"; #}; streams = { - "vno4-dome-panorama-high" = [ + "vno4-dome-panorama-orig" = [ "ffmpeg:rtsp://frigate:\${FRIGATE_RTSP_PASSWORD}@192.168.188.10/cam/realmonitor?channel=1&subtype=2" ]; + "vno4-dome-panorama-high" = [ + "ffmpeg:rtsp://localhost:8554/vno4-dome-panorama-orig#hardware=vaapi#video=h264" + ]; "vno4-dome-panorama-low" = [ - "ffmpeg:rtsp://localhost:8554/vno4-dome-panorama-high#video=h264#width=1280#hardware=vaapi#framerate=5" + "ffmpeg:rtsp://localhost:8554/vno4-dome-panorama-orig#hardware=vaapi#video=h264#width=1280#framerate=5" ]; - "vno4-dome-ptz-high" = [ + "vno4-dome-ptz-orig" = [ "ffmpeg:rtsp://frigate:\${FRIGATE_RTSP_PASSWORD}@192.168.188.10/cam/realmonitor?channel=2&subtype=0" ]; + "vno4-dome-ptz-high" = [ + "ffmpeg:rtsp://localhost:8554/vno4-dome-ptz-orig#hardware=vaapi#video=h264" + ]; "vno4-dome-ptz-low" = [ - "ffmpeg:rtsp://localhost:8554/vno4-dome-ptz-high#video=h264#width=1280#hardware=vaapi#framerate=5" + "ffmpeg:rtsp://localhost:8554/vno4-dome-ptz-orig#hardware=vaapi#video=h264#width=1280#framerate=5" ]; }; };