1
0
forked from pool/ffmpeg-4

Accepting request 897550 from multimedia:libs

- Enable SVT-AV1 encoding

OBS-URL: https://build.opensuse.org/request/show/897550
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/ffmpeg-4?expand=0&rev=40
This commit is contained in:
Dominique Leuenberger 2021-06-09 19:51:40 +00:00 committed by Git OBS Bridge
commit 24a5d69dbc
3 changed files with 30 additions and 1 deletions

View File

@ -20,6 +20,7 @@ libopus # opus
librav1e # rav1e librav1e # rav1e
libschroedinger # schroedinger libschroedinger # schroedinger
libspeex # speex libspeex # speex
libsvtav1
libtheora # libtheora libtheora # libtheora
libtwolame # twolame libtwolame # twolame
libvorbis # libvorbis libvorbis # libvorbis

View File

@ -1,3 +1,13 @@
-------------------------------------------------------------------
Fri Jun 4 12:29:16 UTC 2021 - Jan Engelhardt <jengelh@inai.de>
- Enable SVT-AV1 encoding
-------------------------------------------------------------------
Thu May 20 23:16:09 UTC 2021 - Daniel Molkentin <daniel.molkentin@suse.com>
- Enable vulkan on on Leap 15
------------------------------------------------------------------- -------------------------------------------------------------------
Fri Apr 16 10:20:15 UTC 2021 - Jan Engelhardt <jengelh@inai.de> Fri Apr 16 10:20:15 UTC 2021 - Jan Engelhardt <jengelh@inai.de>

View File

@ -68,6 +68,7 @@
%bcond_without rubberband %bcond_without rubberband
%bcond_without soxr %bcond_without soxr
%bcond_without zmq %bcond_without zmq
%bcond_without vulkan
%else %else
%bcond_with libaom %bcond_with libaom
%bcond_with mysofa %bcond_with mysofa
@ -80,6 +81,7 @@
%bcond_with rubberband %bcond_with rubberband
%bcond_with soxr %bcond_with soxr
%bcond_with zmq %bcond_with zmq
%bcond_with vulkan
%endif %endif
%if 0%{?suse_version} >= 1500 %if 0%{?suse_version} >= 1500
@ -96,7 +98,7 @@
Name: ffmpeg-4 Name: ffmpeg-4
Version: 4.4 Version: 4.4
Release: 0 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 License: GPL-3.0-or-later
Group: Productivity/Multimedia/Video/Editors and Convertors Group: Productivity/Multimedia/Video/Editors and Convertors
URL: https://ffmpeg.org/ URL: https://ffmpeg.org/
@ -123,6 +125,11 @@ BuildRequires: libmysofa-devel
%endif %endif
BuildRequires: nasm BuildRequires: nasm
BuildRequires: pkg-config BuildRequires: pkg-config
%ifarch x86_64
%if 0%{?suse_version} >= 1550
BuildRequires: pkgconfig(SvtAv1Enc) >= 0.8.4
%endif
%endif
BuildRequires: pkgconfig(alsa) BuildRequires: pkgconfig(alsa)
%if %{with libaom} %if %{with libaom}
BuildRequires: pkgconfig(aom) BuildRequires: pkgconfig(aom)
@ -195,6 +202,9 @@ BuildRequires: pkgconfig(vdpau)
%if %{with vidstab} %if %{with vidstab}
BuildRequires: pkgconfig(vidstab) >= 0.98 BuildRequires: pkgconfig(vidstab) >= 0.98
%endif %endif
%if %{with vulkan}
BuildRequires: pkgconfig(vulkan)
%endif
BuildRequires: pkgconfig(vorbis) BuildRequires: pkgconfig(vorbis)
BuildRequires: pkgconfig(vpx) >= 1.4.0 BuildRequires: pkgconfig(vpx) >= 1.4.0
BuildRequires: pkgconfig(x11) BuildRequires: pkgconfig(x11)
@ -613,6 +623,9 @@ LDFLAGS="%_lto_cflags" \
--enable-avresample \ --enable-avresample \
--enable-gnutls \ --enable-gnutls \
--enable-ladspa \ --enable-ladspa \
%if %{with vulkan}
--enable-vulkan \
%endif
%if ! %{with cuda_sdk} %if ! %{with cuda_sdk}
--disable-cuda-sdk \ --disable-cuda-sdk \
%endif %endif
@ -653,6 +666,11 @@ LDFLAGS="%_lto_cflags" \
%if %{with rubberband} %if %{with rubberband}
--enable-librubberband \ --enable-librubberband \
%endif %endif
%ifarch x86_64
%if 0%{?suse_version} >= 1550
--enable-libsvtav1 \
%endif
%endif
%if %{with soxr} %if %{with soxr}
--enable-libsoxr \ --enable-libsoxr \
%endif %endif