diff --git a/docker/main/install_deps.sh b/docker/main/install_deps.sh index fbfcd8689..34f2e093e 100755 --- a/docker/main/install_deps.sh +++ b/docker/main/install_deps.sh @@ -68,7 +68,7 @@ if [[ "${TARGETARCH}" == "amd64" ]]; then apt-get -qq update apt-get -qq install --no-install-recommends --no-install-suggests -y \ 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 \ mesa-va-drivers radeontop diff --git a/frigate/config.py b/frigate/config.py index 5794debff..7e557f0a3 100644 --- a/frigate/config.py +++ b/frigate/config.py @@ -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