mirror of
https://github.com/blakeblackshear/frigate.git
synced 2025-07-26 13:47:03 +02:00
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
This commit is contained in:
parent
da5cf1867b
commit
eed08f534f
@ -45,6 +45,7 @@ def get_standard_aspect_ratio(width: int, height: int) -> tuple[int, int]:
|
|||||||
(32, 9), # panoramic cameras
|
(32, 9), # panoramic cameras
|
||||||
(12, 9),
|
(12, 9),
|
||||||
(9, 12),
|
(9, 12),
|
||||||
|
(22, 15), # Amcrest, NTSC DVT
|
||||||
] # aspects are scaled to have common relative size
|
] # aspects are scaled to have common relative size
|
||||||
known_aspects_ratios = list(
|
known_aspects_ratios = list(
|
||||||
map(lambda aspect: aspect[0] / aspect[1], known_aspects)
|
map(lambda aspect: aspect[0] / aspect[1], known_aspects)
|
||||||
|
Loading…
Reference in New Issue
Block a user