Fix raspberry pi hwaccel (#4955)

* use ffmpeg from raspbian repo

* dynamically choose timeout param

* invert logic

* Add hwaccel presets for rpi

Co-authored-by: Nick Mowen <nickmowen213@gmail.com>
This commit is contained in:
Blake Blackshear
2023-01-08 07:04:58 -06:00
committed by GitHub
parent bcbf0061ff
commit 1f963ec5aa
3 changed files with 27 additions and 13 deletions

View File

@@ -7,6 +7,7 @@ YAML_EXT = (".yaml", ".yml")
PLUS_ENV_VAR = "PLUS_API_KEY"
PLUS_API_HOST = "https://api.frigate.video"
MAX_SEGMENT_DURATION = 600
BTBN_PATH = "/usr/lib/btbn-ffmpeg"
# Regex Consts