From 00d83f912479011e0591dc60e57b4cd8bcff8cdc0cf03b130d6088ae08009b40 Mon Sep 17 00:00:00 2001 From: Jan Engelhardt Date: Fri, 4 Jun 2021 12:29:37 +0000 Subject: [PATCH] - Enable SVT-AV1 encoding OBS-URL: https://build.opensuse.org/package/show/multimedia:libs/ffmpeg-4?expand=0&rev=162 --- enable_encoders | 1 + ffmpeg-4.changes | 5 +++++ ffmpeg-4.spec | 8 +++++++- 3 files changed, 13 insertions(+), 1 deletion(-) diff --git a/enable_encoders b/enable_encoders index 189e2fe..faf7004 100644 --- a/enable_encoders +++ b/enable_encoders @@ -20,6 +20,7 @@ libopus # opus librav1e # rav1e libschroedinger # schroedinger libspeex # speex +libsvtav1 libtheora # libtheora libtwolame # twolame libvorbis # libvorbis diff --git a/ffmpeg-4.changes b/ffmpeg-4.changes index a3b0825..bd25550 100644 --- a/ffmpeg-4.changes +++ b/ffmpeg-4.changes @@ -1,3 +1,8 @@ +------------------------------------------------------------------- +Fri Jun 4 12:29:16 UTC 2021 - Jan Engelhardt + +- Enable SVT-AV1 encoding + ------------------------------------------------------------------- Thu May 20 23:16:09 UTC 2021 - Daniel Molkentin diff --git a/ffmpeg-4.spec b/ffmpeg-4.spec index 843ac8d..994447b 100644 --- a/ffmpeg-4.spec +++ b/ffmpeg-4.spec @@ -98,7 +98,7 @@ Name: ffmpeg-4 Version: 4.4 Release: 0 -Summary: Library for working with various multimedia formats +Summary: Set of libraries for working with various multimedia formats License: GPL-3.0-or-later Group: Productivity/Multimedia/Video/Editors and Convertors URL: https://ffmpeg.org/ @@ -125,6 +125,9 @@ BuildRequires: libmysofa-devel %endif BuildRequires: nasm BuildRequires: pkg-config +%if 0%{?suse_version} >= 1550 +BuildRequires: pkgconfig(SvtAv1Enc) >= 0.8.4 +%endif BuildRequires: pkgconfig(alsa) %if %{with libaom} BuildRequires: pkgconfig(aom) @@ -661,6 +664,9 @@ LDFLAGS="%_lto_cflags" \ %if %{with rubberband} --enable-librubberband \ %endif +%if 0%{?suse_version} >= 1550 + --enable-libsvtav1 \ +%endif %if %{with soxr} --enable-libsoxr \ %endif