set wce-0001 to store all records for 48 hours
This commit is contained in:
parent
8224dc17c1
commit
4e4489aa20
1 changed files with 30 additions and 24 deletions
|
|
@ -42,12 +42,12 @@ in
|
||||||
wce-0003_sub = [
|
wce-0003_sub = [
|
||||||
"rtsp://thingino:thingino@192.168.150.3:554/ch1"
|
"rtsp://thingino:thingino@192.168.150.3:554/ch1"
|
||||||
];
|
];
|
||||||
wce-0004 = [
|
#wce-0004 = [
|
||||||
"rtsp://192.168.0.210:554/media/live/1/1"
|
# "rtsp://192.168.0.210:554/media/live/1/1"
|
||||||
];
|
# ];
|
||||||
wce-0004_sub = [
|
# wce-0004_sub = [
|
||||||
"rtsp://192.168.0.210:554/media/live/1/2"
|
# "rtsp://192.168.0.210:554/media/live/1/2"
|
||||||
];
|
# ];
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
#############
|
#############
|
||||||
|
|
@ -112,6 +112,12 @@ in
|
||||||
];
|
];
|
||||||
};
|
};
|
||||||
detect.enabled = true;
|
detect.enabled = true;
|
||||||
|
record = {
|
||||||
|
retain = {
|
||||||
|
days = 2;
|
||||||
|
mode = "all";
|
||||||
|
};
|
||||||
|
};
|
||||||
review = {
|
review = {
|
||||||
alerts.labels = [];
|
alerts.labels = [];
|
||||||
detections.labels = [
|
detections.labels = [
|
||||||
|
|
@ -164,24 +170,24 @@ in
|
||||||
};
|
};
|
||||||
detect.enabled = true;
|
detect.enabled = true;
|
||||||
};
|
};
|
||||||
wce-0004 = {
|
# wce-0004 = {
|
||||||
ffmpeg = {
|
# ffmpeg = {
|
||||||
inputs = [
|
# inputs = [
|
||||||
{
|
# {
|
||||||
path = "rtsp://127.0.0.1:8554/wce-0004";
|
# path = "rtsp://127.0.0.1:8554/wce-0004";
|
||||||
roles = ["record"];
|
# roles = ["record"];
|
||||||
}
|
# }
|
||||||
{
|
# {
|
||||||
path = "rtsp://127.0.0.1:8554/wce-0004_sub";
|
# path = "rtsp://127.0.0.1:8554/wce-0004_sub";
|
||||||
roles = ["detect"];
|
# roles = ["detect"];
|
||||||
}
|
# }
|
||||||
];
|
# ];
|
||||||
};
|
# };
|
||||||
motion = {
|
# motion = {
|
||||||
enabled = true;
|
# enabled = true;
|
||||||
};
|
# };
|
||||||
detect.enabled = true;
|
# detect.enabled = true;
|
||||||
};
|
# };
|
||||||
};
|
};
|
||||||
});
|
});
|
||||||
in {
|
in {
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue