mirror of
https://github.com/blakeblackshear/frigate.git
synced 2026-08-06 19:07:20 +03:00
Ffmpeg fixes (#13739)
* Only include hwaccel args if detect is being used * Include both libmfx libraries
This commit is contained in:
+1
-1
@@ -1225,7 +1225,7 @@ class CameraConfig(FrigateBaseModel):
|
||||
cmd = (
|
||||
[self.ffmpeg.ffmpeg_path]
|
||||
+ global_args
|
||||
+ hwaccel_args
|
||||
+ (hwaccel_args if "detect" in ffmpeg_input.roles else [])
|
||||
+ input_args
|
||||
+ ["-i", escape_special_characters(ffmpeg_input.path)]
|
||||
+ ffmpeg_output_args
|
||||
|
||||
Reference in New Issue
Block a user