# TODO:
-# - libklvanc [-lklvanc libklvanc/vanc.h]
# - libtensorflow [-ltensorflow tensorflow/c/c_api.h]
# - AMF >= 1.4.4.1 (available at https://github.com/GPUOpen-LibrariesAndSDKs/AMF, where is original source?)
#
%bcond_without chromaprint # audio fingerprinting with chromaprint
%bcond_with cudasdk # NVIDIA CUDA code using nvcc from CUDA SDK [BR: cuda.h, non-free]
%bcond_without dav1d # AV1 decoding via libdav1d
-%bcond_with decklink # Blackmagic DeskLink output support (requires nonfree)
+%bcond_with decklink # Blackmagic DeckLink I/O support (requires nonfree)
%bcond_with fdk_aac # AAC de/encoding via libfdk_aac (requires nonfree)
%bcond_without ffnvcodec # NVIDIA codecs support using ffnvcodec headers (covered: cuda cuvid nvdec nvenc)
%bcond_without flite # flite voice synthesis support
%bcond_without ladspa # LADSPA audio filtering
%bcond_without lensfun # lensfun lens correction
%bcond_with libdrm # Linux Direct Rendering Manager code
+%bcond_with libklvanc # Kernel Labs VANC processing (in decklink driver)
%bcond_without libmysofa # sofalizer filter
%bcond_with librsvg # SVG rasterization via librsvg
%bcond_with libxml2 # XML parsing using libxml2
Summary: FFmpeg - a very fast video and audio converter
Summary(pl.UTF-8): FFmpeg - szybki konwerter audio/wideo
Name: ffmpeg
-Version: 4.2.1
-Release: 1
+Version: 4.2.2
+Release: 1.1
# LGPL or GPL, chosen at configure time (GPL version is more featured)
# GPL: frei0r libcdio libdavs2 rubberband vidstab x264 x265 xavs xavs2 xvid
# v3 (allows *GPLv3 or Apache-licensed libs): gmp lensfun opencore-amr vmaf vo-*enc rkmpp
License: GPL v3+ with LGPL v3+ parts
Group: Applications/Multimedia
Source0: http://ffmpeg.org/releases/%{name}-%{version}.tar.xz
-# Source0-md5: 67da904cf9fddeeb10a1308fc0dc39de
+# Source0-md5: 348956fc2faa57a2f79bbb84ded9fbc3
Patch0: %{name}-omx-libnames.patch
URL: http://www.ffmpeg.org/
%{?with_decklink:BuildRequires: Blackmagic_DeckLink_SDK >= 10.9.5}
%{?with_libdrm:BuildRequires: libdrm-devel}
BuildRequires: libgsm-devel
BuildRequires: libiec61883-devel
+%{?with_libklvanc:BuildRequires: libklvanc-devel}
BuildRequires: libmodplug-devel
%{?with_libmysofa:BuildRequires: libmysofa-devel >= 0.7}
-%{?with_openmpt:BuildRequires: libopenmpt-devel >= 0.2.6557}
+%{?with_openmpt:BuildRequires: libopenmpt-devel >= 0.4.5}
BuildRequires: libraw1394-devel >= 2
%{?with_librsvg:BuildRequires: librsvg-devel >= 2}
BuildRequires: librtmp-devel
%endif
%{?with_kvazaar:Requires: kvazaar-libs >= 0.8.1}
%{?with_libmysofa:Requires: libmysofa >= 0.7}
-%{?with_openmpt:Requires: libopenmpt >= 0.2.6557}
+%{?with_openmpt:Requires: libopenmpt >= 0.4.5}
Requires: libtheora >= 1.0-0.beta3
%if %{with va}
Requires: libva >= 1.0.3
%{?with_libdrm:Requires: libdrm-devel}
Requires: libgsm-devel
Requires: libiec61883-devel
+%{?with_libklvanc:Requires: libklvanc-devel}
Requires: libmodplug-devel
%{?with_libmysofa:Requires: libmysofa-devel >= 0.7}
-%{?with_openmpt:Requires: libopenmpt-devel >= 0.2.6557}
+%{?with_openmpt:Requires: libopenmpt-devel >= 0.4.5}
Requires: libraw1394-devel >= 2
%{?with_librsvg:Requires: librsvg-devel >= 2}
Requires: librtmp-devel
%{?with_ilbc:--enable-libilbc} \
--enable-libjack \
%{?with_kvazaar:--enable-libkvazaar} \
+ %{?with_libklvanc:--enable-libklvanc} \
%{?with_lensfun:--enable-liblensfun} \
%{?with_mfx:--enable-libmfx} \
--enable-libmodplug \