From 3df23984b4715e8446ed3bd7ebc9c018b03b78db Mon Sep 17 00:00:00 2001 From: "Douglas R. Reno" Date: Mon, 11 Jul 2022 22:32:06 -0500 Subject: [PATCH] ffmpeg5 update: Turn off ffmpeg support in transcode. Since ffmpeg5 no longer carries libavresample, we can't build transcode without disabling ffmpeg support.. With some rudimentary testing, it seems that this doesn't have any negative impact. --- introduction/welcome/changelog.xml | 5 +++++ multimedia/videoutils/transcode.xml | 17 ++++++++++++++--- 2 files changed, 19 insertions(+), 3 deletions(-) diff --git a/introduction/welcome/changelog.xml b/introduction/welcome/changelog.xml index 142b9e01bb..1381c39cc4 100644 --- a/introduction/welcome/changelog.xml +++ b/introduction/welcome/changelog.xml @@ -44,6 +44,11 @@ July 12th, 2022 + + [renodr] - Remove ffmpeg support from transcode since + libavresample has been removed from ffmpeg. This allows building and + using this package again. + [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 diff --git a/multimedia/videoutils/transcode.xml b/multimedia/videoutils/transcode.xml index 7fd0c206f1..c907ce8ca8 100644 --- a/multimedia/videoutils/transcode.xml +++ b/multimedia/videoutils/transcode.xml @@ -90,12 +90,14 @@ Additional Downloads + Required patch to fix some issues exposed by GCC 10 and later: @@ -106,10 +108,12 @@ Transcode Dependencies + Recommended @@ -155,6 +159,7 @@ Installation of Transcode + @@ -192,12 +198,12 @@ sed -i 's|doc/transcode|&-$(PACKAGE_VERSION)|' \ $(find . -name Makefile.in -exec grep -l 'docsdir =' {} \;) && -patch -Np1 -i ../transcode-&transcode-version;-ffmpeg4-1.patch && patch -Np1 -i ../transcode-&transcode-version;-gcc10_fix-1.patch && ./configure --prefix=/usr \ --enable-alsa \ - --enable-libmpeg2 && + --enable-libmpeg2 \ + --disable-ffmpeg && make @@ -219,6 +225,11 @@ make sed -i ...: Fixes install location for documentation. + + --disable-ffmpeg: This switch disables support for + ffmpeg because libavresample was removed in ffmpeg-5.x. + +