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 94ec9e2..bd25550 100644 --- a/ffmpeg-4.changes +++ b/ffmpeg-4.changes @@ -1,3 +1,13 @@ +------------------------------------------------------------------- +Fri Jun 4 12:29:16 UTC 2021 - Jan Engelhardt + +- Enable SVT-AV1 encoding + +------------------------------------------------------------------- +Thu May 20 23:16:09 UTC 2021 - Daniel Molkentin + +- Enable vulkan on on Leap 15 + ------------------------------------------------------------------- Fri Apr 16 10:20:15 UTC 2021 - Jan Engelhardt diff --git a/ffmpeg-4.spec b/ffmpeg-4.spec index 0575ca0..c919575 100644 --- a/ffmpeg-4.spec +++ b/ffmpeg-4.spec @@ -68,6 +68,7 @@ %bcond_without rubberband %bcond_without soxr %bcond_without zmq +%bcond_without vulkan %else %bcond_with libaom %bcond_with mysofa @@ -80,6 +81,7 @@ %bcond_with rubberband %bcond_with soxr %bcond_with zmq +%bcond_with vulkan %endif %if 0%{?suse_version} >= 1500 @@ -96,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/ @@ -123,6 +125,11 @@ BuildRequires: libmysofa-devel %endif BuildRequires: nasm BuildRequires: pkg-config +%ifarch x86_64 +%if 0%{?suse_version} >= 1550 +BuildRequires: pkgconfig(SvtAv1Enc) >= 0.8.4 +%endif +%endif BuildRequires: pkgconfig(alsa) %if %{with libaom} BuildRequires: pkgconfig(aom) @@ -195,6 +202,9 @@ BuildRequires: pkgconfig(vdpau) %if %{with vidstab} BuildRequires: pkgconfig(vidstab) >= 0.98 %endif +%if %{with vulkan} +BuildRequires: pkgconfig(vulkan) +%endif BuildRequires: pkgconfig(vorbis) BuildRequires: pkgconfig(vpx) >= 1.4.0 BuildRequires: pkgconfig(x11) @@ -613,6 +623,9 @@ LDFLAGS="%_lto_cflags" \ --enable-avresample \ --enable-gnutls \ --enable-ladspa \ +%if %{with vulkan} + --enable-vulkan \ +%endif %if ! %{with cuda_sdk} --disable-cuda-sdk \ %endif @@ -653,6 +666,11 @@ LDFLAGS="%_lto_cflags" \ %if %{with rubberband} --enable-librubberband \ %endif +%ifarch x86_64 +%if 0%{?suse_version} >= 1550 + --enable-libsvtav1 \ +%endif +%endif %if %{with soxr} --enable-libsoxr \ %endif