diff --git a/CMakeLists.txt b/CMakeLists.txt index a764b77a..db58471d 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -458,12 +458,13 @@ elseif(APPLE) set(FFMPEG_PREPARED_BINARIES "${CMAKE_CURRENT_SOURCE_DIR}/third-party/ffmpeg-macos-x86_64") endif() else() + set(FFMPEG_PLATFORM_LIBRARIES va va-drm va-x11 vdpau X11) if (CMAKE_SYSTEM_PROCESSOR STREQUAL "aarch64") set(FFMPEG_PREPARED_BINARIES "${CMAKE_CURRENT_SOURCE_DIR}/third-party/ffmpeg-linux-aarch64") else() set(FFMPEG_PREPARED_BINARIES "${CMAKE_CURRENT_SOURCE_DIR}/third-party/ffmpeg-linux-x86_64") + list(APPEND FFMPEG_PLATFORM_LIBRARIES mfx) endif() - set(FFMPEG_PLATFORM_LIBRARIES va va-drm va-x11 vdpau X11) endif() set(FFMPEG_INCLUDE_DIRS ${FFMPEG_PREPARED_BINARIES}/include) diff --git a/docker/fedora-36.dockerfile b/docker/fedora-36.dockerfile index 4090382f..f566db75 100644 --- a/docker/fedora-36.dockerfile +++ b/docker/fedora-36.dockerfile @@ -46,9 +46,7 @@ dnf -y install \ wget-1.21.3* \ which-2.21* if [[ "${TARGETPLATFORM}" == 'linux/amd64' ]]; then - apt-get install -y --no-install-recommends \ - # libmfx-devel is not listed for fedora 36/37 - https://kojipkgs.fedoraproject.org//packages/libmfx/1.25/4.el8/x86_64/libmfx-devel-1.25-4.el8.x86_64.rpm + dnf -y install intel-mediasdk-devel-22.3.0* fi dnf clean all rm -rf /var/cache/yum diff --git a/docker/fedora-37.dockerfile b/docker/fedora-37.dockerfile index 2a49dc3e..7312e95f 100644 --- a/docker/fedora-37.dockerfile +++ b/docker/fedora-37.dockerfile @@ -46,9 +46,7 @@ dnf -y install \ wget-1.21.3* \ which-2.21* if [[ "${TARGETPLATFORM}" == 'linux/amd64' ]]; then - apt-get install -y --no-install-recommends \ - # libmfx-devel is not listed for fedora 36/37 - https://kojipkgs.fedoraproject.org//packages/libmfx/1.25/4.el8/x86_64/libmfx-devel-1.25-4.el8.x86_64.rpm + dnf -y install intel-mediasdk-devel-22.4.4* fi dnf clean all rm -rf /var/cache/yum