From ca4e0dbc7525516a7db5b6dec2a23dd900d82631 Mon Sep 17 00:00:00 2001 From: Nicolas Mowen Date: Tue, 12 Dec 2023 03:48:09 -0700 Subject: [PATCH] Fix ffmpeg input arg parsing (#8924) --- frigate/events/audio.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/frigate/events/audio.py b/frigate/events/audio.py index 3bc80c920..ed457adf1 100644 --- a/frigate/events/audio.py +++ b/frigate/events/audio.py @@ -43,9 +43,9 @@ def get_ffmpeg_command(ffmpeg: FfmpegConfig) -> list[str]: ffmpeg_input: CameraInput = [i for i in ffmpeg.inputs if "audio" in i.roles][0] input_args = get_ffmpeg_arg_list(ffmpeg.global_args) + ( parse_preset_input(ffmpeg_input.input_args, 1) - or ffmpeg_input.input_args + or get_ffmpeg_arg_list(ffmpeg_input.input_args) or parse_preset_input(ffmpeg.input_args, 1) - or ffmpeg.input_args + or get_ffmpeg_arg_list(ffmpeg.input_args) ) return ( ["ffmpeg", "-vn"]