trying go2rtc

This commit is contained in:
2025-02-13 21:38:54 +02:00
parent 116ae739cc
commit f8e0248c5b

View File

@@ -38,15 +38,15 @@ in
enable = true; enable = true;
settings = { settings = {
streams = { streams = {
"vno4-dome-panorama-high" = [ #"vno4-dome-panorama-high" = [
"ffmpeg:rtsp://frigate:\${FRIGATE_RTSP_PASSWORD}@192.168.188.10/cam/realmonitor?channel=1&subtype=0" # "ffmpeg:rtsp://frigate:\${FRIGATE_RTSP_PASSWORD}@192.168.188.10/cam/realmonitor?channel=1&subtype=0"
]; #];
"vno4-dome-panorama-low" = [ #"vno4-dome-panorama-low" = [
"ffmpeg:rtsp://frigate:\${FRIGATE_RTSP_PASSWORD}@192.168.188.10/cam/realmonitor?channel=1&subtype=1" # "ffmpeg:rtsp://frigate:\${FRIGATE_RTSP_PASSWORD}@192.168.188.10/cam/realmonitor?channel=1&subtype=1"
]; #];
"vno4-dome-ptz-high" = [ #"vno4-dome-ptz-high" = [
"ffmpeg:rtsp://frigate:\${FRIGATE_RTSP_PASSWORD}@192.168.188.10/cam/realmonitor?channel=2&subtype=0" # "ffmpeg:rtsp://frigate:\${FRIGATE_RTSP_PASSWORD}@192.168.188.10/cam/realmonitor?channel=2&subtype=0"
]; #];
"vno4-dome-ptz-low" = [ "vno4-dome-ptz-low" = [
"ffmpeg:rtsp://frigate:\${FRIGATE_RTSP_PASSWORD}@192.168.188.10/cam/realmonitor?channel=2&subtype=1" "ffmpeg:rtsp://frigate:\${FRIGATE_RTSP_PASSWORD}@192.168.188.10/cam/realmonitor?channel=2&subtype=1"
]; ];
@@ -86,14 +86,16 @@ in
}; };
inputs = [ inputs = [
{ {
path = "rtsp://localhost:8554/vno4-dome-panorama-high"; #path = "rtsp://localhost:8554/vno4-dome-panorama-high";
path = "rtsp://frigate:{FRIGATE_RTSP_PASSWORD}@192.168.188.10/cam/realmonitor?channel=1&subtype=0";
roles = [ roles = [
"audio" "audio"
"record" "record"
]; ];
} }
{ {
path = "rtsp://localhost:8554/vno4-dome-panorama-low"; #path = "rtsp://localhost:8554/vno4-dome-panorama-low";
path = "rtsp://frigate:{FRIGATE_RTSP_PASSWORD}@192.168.188.10/cam/realmonitor?channel=1&subtype=1";
roles = [ "detect" ]; roles = [ "detect" ];
} }
]; ];
@@ -107,14 +109,16 @@ in
}; };
inputs = [ inputs = [
{ {
path = "rtsp://localhost:8554/vno4-dome-ptz-high"; #path = "rtsp://localhost:8554/vno4-dome-ptz-high";
path = "rtsp://frigate:{FRIGATE_RTSP_PASSWORD}@192.168.188.10/cam/realmonitor?channel=2&subtype=0";
roles = [ roles = [
"audio" "audio"
"record" "record"
]; ];
} }
{ {
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-low";
roles = [ "detect" ]; roles = [ "detect" ];
} }
]; ];