Enable birdseye view
This commit is contained in:
parent
240addca42
commit
483653ff36
|
@ -27,6 +27,7 @@ let
|
||||||
ffmpeg.hwaccel_args = optional (cfg.hwaccel != null) cfg.hwaccel;
|
ffmpeg.hwaccel_args = optional (cfg.hwaccel != null) cfg.hwaccel;
|
||||||
cameras = mapAttrs' (_: camOpts:
|
cameras = mapAttrs' (_: camOpts:
|
||||||
nameValuePair camOpts.name {
|
nameValuePair camOpts.name {
|
||||||
|
birdseye.mode = "objects";
|
||||||
ffmpeg.inputs = [
|
ffmpeg.inputs = [
|
||||||
{
|
{
|
||||||
path = camOpts.streams.high;
|
path = camOpts.streams.high;
|
||||||
|
@ -54,6 +55,10 @@ let
|
||||||
objects = cfg.retention.objects;
|
objects = cfg.retention.objects;
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
|
birdseye = {
|
||||||
|
enabled = true;
|
||||||
|
mode = "continuous";
|
||||||
|
};
|
||||||
};
|
};
|
||||||
in pkgs.writeText "frigate.yaml" content;
|
in pkgs.writeText "frigate.yaml" content;
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue