mirror of
https://github.com/blakeblackshear/frigate.git
synced 2024-11-21 19:07:46 +01:00
Ffmpeg fixes (#13739)
* Only include hwaccel args if detect is being used * Include both libmfx libraries
This commit is contained in:
parent
2a66923524
commit
d5acd11164
@ -68,7 +68,7 @@ if [[ "${TARGETARCH}" == "amd64" ]]; then
|
|||||||
apt-get -qq update
|
apt-get -qq update
|
||||||
apt-get -qq install --no-install-recommends --no-install-suggests -y \
|
apt-get -qq install --no-install-recommends --no-install-suggests -y \
|
||||||
intel-opencl-icd intel-media-va-driver-non-free i965-va-driver \
|
intel-opencl-icd intel-media-va-driver-non-free i965-va-driver \
|
||||||
libmfx-gen1.2 onevpl-tools intel-gpu-tools \
|
libmfx-gen1.2 libmfx1 onevpl-tools intel-gpu-tools \
|
||||||
libva-drm2 \
|
libva-drm2 \
|
||||||
mesa-va-drivers radeontop
|
mesa-va-drivers radeontop
|
||||||
|
|
||||||
|
@ -1225,7 +1225,7 @@ class CameraConfig(FrigateBaseModel):
|
|||||||
cmd = (
|
cmd = (
|
||||||
[self.ffmpeg.ffmpeg_path]
|
[self.ffmpeg.ffmpeg_path]
|
||||||
+ global_args
|
+ global_args
|
||||||
+ hwaccel_args
|
+ (hwaccel_args if "detect" in ffmpeg_input.roles else [])
|
||||||
+ input_args
|
+ input_args
|
||||||
+ ["-i", escape_special_characters(ffmpeg_input.path)]
|
+ ["-i", escape_special_characters(ffmpeg_input.path)]
|
||||||
+ ffmpeg_output_args
|
+ ffmpeg_output_args
|
||||||
|
Loading…
Reference in New Issue
Block a user