mirror of
https://github.com/TheWanderingCrow/CrOS.git
synced 2026-01-11 09:44:08 -05:00
use new config schema for frigate 0.15.0
This commit is contained in:
parent
7a710d1319
commit
24845a1087
1 changed files with 14 additions and 16 deletions
|
|
@ -4,26 +4,24 @@
|
|||
...
|
||||
}:
|
||||
lib.mkIf config.user.overseer.enable {
|
||||
services.go2rtc = {
|
||||
enable = true;
|
||||
settings.streams = {
|
||||
wce-0001 = [
|
||||
"ffmpeg:#input=-timeout 30000000 -i rtsp://thingino:thingino@192.168.0.173:554/ch0"
|
||||
"ffmpeg:wce-0001#audio=opus"
|
||||
];
|
||||
wce-0001_sub = "ffmpeg:#input=-timeout 30000000 -i rtsp://thingino:thingino@192.168.0.173:554/ch1";
|
||||
wce-0002 = [
|
||||
"ffmpeg:#input=-timeout 30000000 -i rtsp://thingino:thingino@192.168.0.26:554/ch0"
|
||||
"ffmpeg:wce-0002#audio=opus"
|
||||
];
|
||||
wce-0002_sub = "ffmpeg:#input=-timeout 30000000 -i rtsp://thingino:thingino@192.168.0.26:554/ch1";
|
||||
};
|
||||
};
|
||||
|
||||
services.frigate = {
|
||||
enable = true;
|
||||
hostname = "frigate.wanderingcrow.net";
|
||||
settings = {
|
||||
go2rtc = {
|
||||
streams = {
|
||||
wce-0001 = [
|
||||
"ffmpeg:#input=-timeout 30000000 -i rtsp://thingino:thingino@192.168.0.173:554/ch0"
|
||||
"ffmpeg:wce-0001#audio=opus"
|
||||
];
|
||||
wce-0001_sub = "ffmpeg:#input=-timeout 30000000 -i rtsp://thingino:thingino@192.168.0.173:554/ch1";
|
||||
wce-0002 = [
|
||||
"ffmpeg:#input=-timeout 30000000 -i rtsp://thingino:thingino@192.168.0.26:554/ch0"
|
||||
"ffmpeg:wce-0002#audio=opus"
|
||||
];
|
||||
wce-0002_sub = "ffmpeg:#input=-timeout 30000000 -i rtsp://thingino:thingino@192.168.0.26:554/ch1";
|
||||
};
|
||||
};
|
||||
cameras = {
|
||||
wce-0001 = {
|
||||
detect.enabled = false;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue