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
libschroedinger # schroedinger
libspeex # speex
libsvtav1
libtheora # libtheora
libtwolame # twolame
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>

View File

@ -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