Ffmpeg cleanup (#13737)

This commit is contained in:
Nicolas Mowen 2024-09-14 07:03:39 -06:00 committed by GitHub
parent 4f10f82580
commit 088a0fb4a5
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
2 changed files with 5 additions and 2 deletions

View File

@ -67,12 +67,15 @@ if [[ "${TARGETARCH}" == "amd64" ]]; then
echo 'deb https://deb.debian.org/debian bookworm main contrib non-free' >/etc/apt/sources.list.d/debian-bookworm.list echo 'deb https://deb.debian.org/debian bookworm main contrib non-free' >/etc/apt/sources.list.d/debian-bookworm.list
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 onevpl-tools intel-media-va-driver-non-free i965-va-driver libmfx-gen1.2 intel-gpu-tools \ intel-opencl-icd intel-media-va-driver-non-free i965-va-driver \
libmfx-gen1.2 onevpl-tools intel-gpu-tools \
libva-drm2 \ libva-drm2 \
mesa-va-drivers radeontop mesa-va-drivers radeontop
# something about this dependency requires it to be installed in a separate call rather than in the line above # something about this dependency requires it to be installed in a separate call rather than in the line above
apt-get -qq install --no-install-recommends --no-install-suggests -y \ apt-get -qq install --no-install-recommends --no-install-suggests -y \
i965-va-driver-shaders i965-va-driver-shaders
rm -f /etc/apt/sources.list.d/debian-bookworm.list rm -f /etc/apt/sources.list.d/debian-bookworm.list
fi fi

View File

@ -774,7 +774,7 @@ def get_image_from_recording(
"""retrieve a frame from given time in recording file.""" """retrieve a frame from given time in recording file."""
ffmpeg_cmd = [ ffmpeg_cmd = [
ffmpeg.executable_path, ffmpeg.ffmpeg_path,
"-hide_banner", "-hide_banner",
"-loglevel", "-loglevel",
"warning", "warning",