From f2b4c825fd76cfcf1321b57c0853e3347320a501 Mon Sep 17 00:00:00 2001 From: "Douglas R. Reno" Date: Mon, 11 Jul 2022 22:22:14 -0500 Subject: [PATCH] ffmpeg5 update: Disable video acceleration in VLC. It does not compile due to major changes in the ffmpeg API. Upstream has stated at https://code.videolan.org/videolan/vlc/-/merge_requests/1245 and https://code.videolan.org/videolan/vlc/-/issues/26498 that video acceleration will not be available until VLC-4 due to complexity. --- introduction/welcome/changelog.xml | 5 +++++ multimedia/videoutils/vlc.xml | 7 +++++++ 2 files changed, 12 insertions(+) diff --git a/introduction/welcome/changelog.xml b/introduction/welcome/changelog.xml index 0c00af555a..142b9e01bb 100644 --- a/introduction/welcome/changelog.xml +++ b/introduction/welcome/changelog.xml @@ -44,6 +44,11 @@ July 12th, 2022 + + [renodr] - Disable libva support in VLC so that it builds with + ffmpeg-5. Upstream has said that no port will be available for VLC-3 + due to complexity, but it will be available again in VLC-4. + [renodr] - Turn off ffmpeg support in libquicktime. diff --git a/multimedia/videoutils/vlc.xml b/multimedia/videoutils/vlc.xml index db01cee5b1..29dda5c725 100644 --- a/multimedia/videoutils/vlc.xml +++ b/multimedia/videoutils/vlc.xml @@ -235,6 +235,7 @@ export CPPFLAGS="$(pkg-config --cflags lua52)" && BUILDCC=gcc ./configure --prefix=/usr \ --disable-opencv \ + --disable-libva \ --disable-vpx && make @@ -279,6 +280,12 @@ make version of vlc. + + --disable-libva: This switch is required to disable + video acceleration in VLC since it is incompatible with ffmpeg-5, and + upstream has no plans to port it due to complexity. + + --disable-vpx: This switch is required to disable libvpx. The latest version is not compatible