Enable birdseye view

This commit is contained in:
niten 2023-11-29 15:59:19 -08:00
parent 240addca42
commit 483653ff36
1 changed files with 5 additions and 0 deletions

View File

@ -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;