mirror of
https://github.com/blakeblackshear/frigate.git
synced 2024-11-26 19:06:11 +01:00
Fix ffmpeg input arg parsing (#8924)
This commit is contained in:
parent
ee7eaff965
commit
ca4e0dbc75
@ -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]
|
ffmpeg_input: CameraInput = [i for i in ffmpeg.inputs if "audio" in i.roles][0]
|
||||||
input_args = get_ffmpeg_arg_list(ffmpeg.global_args) + (
|
input_args = get_ffmpeg_arg_list(ffmpeg.global_args) + (
|
||||||
parse_preset_input(ffmpeg_input.input_args, 1)
|
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 parse_preset_input(ffmpeg.input_args, 1)
|
||||||
or ffmpeg.input_args
|
or get_ffmpeg_arg_list(ffmpeg.input_args)
|
||||||
)
|
)
|
||||||
return (
|
return (
|
||||||
["ffmpeg", "-vn"]
|
["ffmpeg", "-vn"]
|
||||||
|
Loading…
Reference in New Issue
Block a user