From eed08f534f8887927912211df67255bfeea3d7bd Mon Sep 17 00:00:00 2001 From: Eric M Date: Sat, 2 Dec 2023 19:22:50 -0800 Subject: [PATCH] Update output.py with NTSC DVT, Amcrest DV1 aspect ratio 704x480 (#8835) * Update output.py with NTSC DVT, Amcrest DV1 aspect ratio 704x480 * linter fix --- frigate/output.py | 1 + 1 file changed, 1 insertion(+) diff --git a/frigate/output.py b/frigate/output.py index 5d8013d2e..a70e5a804 100644 --- a/frigate/output.py +++ b/frigate/output.py @@ -45,6 +45,7 @@ def get_standard_aspect_ratio(width: int, height: int) -> tuple[int, int]: (32, 9), # panoramic cameras (12, 9), (9, 12), + (22, 15), # Amcrest, NTSC DVT ] # aspects are scaled to have common relative size known_aspects_ratios = list( map(lambda aspect: aspect[0] / aspect[1], known_aspects)