2022-02-11 19:18:52 +00:00
|
|
|
# For a complete build enable these two
|
|
|
|
%bcond_with upstream_tarball
|
|
|
|
%bcond_with all_codecs
|
|
|
|
|
2022-08-29 23:59:29 +00:00
|
|
|
# Break dependency cycles by disabling certain optional dependencies.
|
2023-03-12 07:06:20 +00:00
|
|
|
%bcond_with bootstrap
|
2022-05-26 13:23:40 +00:00
|
|
|
|
2022-02-11 19:18:52 +00:00
|
|
|
# If you want to do a build with the upstream source tarball, then set the
|
|
|
|
# pkg_suffix to %%nil. We can't handle this with a conditional, as srpm
|
|
|
|
# generation would not take it into account.
|
|
|
|
%global pkg_suffix -free
|
|
|
|
|
|
|
|
# Fails due to asm issue
|
2022-02-12 12:12:06 +00:00
|
|
|
%ifarch %{ix86} %{arm}
|
2022-02-11 19:18:52 +00:00
|
|
|
%bcond_with lto
|
|
|
|
%else
|
|
|
|
%bcond_without lto
|
|
|
|
%endif
|
|
|
|
|
|
|
|
%ifarch x86_64
|
2023-03-12 05:44:10 +00:00
|
|
|
%bcond_without vpl
|
2022-02-11 21:27:06 +00:00
|
|
|
%bcond_without vmaf
|
2022-02-11 19:18:52 +00:00
|
|
|
%else
|
2023-03-12 05:44:10 +00:00
|
|
|
%bcond_with vpl
|
2022-02-11 21:27:06 +00:00
|
|
|
%bcond_with vmaf
|
|
|
|
%endif
|
|
|
|
|
|
|
|
%ifarch s390 s390x
|
|
|
|
%bcond_with dc1394
|
|
|
|
%else
|
|
|
|
%bcond_without dc1394
|
2022-02-11 19:18:52 +00:00
|
|
|
%endif
|
|
|
|
|
2022-09-04 13:52:01 +00:00
|
|
|
%if 0%{?rhel}
|
|
|
|
# Disable dependencies not offered in RHEL/EPEL
|
|
|
|
%bcond_with omxil
|
|
|
|
%else
|
|
|
|
|
2024-04-23 14:52:11 +00:00
|
|
|
# Use bundled openh264 headers on older Fedora/RHEL where the noopenh264 stub
|
|
|
|
# package is not available
|
|
|
|
%if 0%{?fedora} && 0%{?fedora} <= 39 || 0%{?rhel} && 0%{?rhel} <= 9
|
|
|
|
%bcond_without bundled_openh264_headers
|
|
|
|
%else
|
|
|
|
%bcond_with bundled_openh264_headers
|
|
|
|
%endif
|
|
|
|
|
2023-02-13 22:02:22 +00:00
|
|
|
# Disable some features because RHEL 9 packages are too old
|
2023-02-13 21:33:10 +00:00
|
|
|
%if 0%{?rhel} && 0%{?rhel} <= 9
|
|
|
|
%bcond_with flite
|
2023-02-13 22:02:22 +00:00
|
|
|
%bcond_with lcms2
|
|
|
|
%bcond_with placebo
|
2023-02-13 21:33:10 +00:00
|
|
|
%else
|
|
|
|
%bcond_without flite
|
2023-02-13 22:02:22 +00:00
|
|
|
%bcond_without lcms2
|
|
|
|
%bcond_without placebo
|
2023-02-13 21:33:10 +00:00
|
|
|
%endif
|
|
|
|
|
2022-09-04 13:52:01 +00:00
|
|
|
%bcond_without omxil
|
|
|
|
|
|
|
|
%endif
|
|
|
|
|
|
|
|
# Break chromaprint dependency cycle (Fedora-only):
|
2022-08-29 23:59:29 +00:00
|
|
|
# ffmpeg (libavcodec-free) → chromaprint → ffmpeg
|
|
|
|
%if %{with bootstrap}
|
|
|
|
%bcond_with chromaprint
|
|
|
|
%else
|
|
|
|
%bcond_without chromaprint
|
|
|
|
%endif
|
|
|
|
|
|
|
|
|
2022-02-11 19:18:52 +00:00
|
|
|
%if %{with all_codecs}
|
|
|
|
%bcond_without rtmp
|
|
|
|
%bcond_without x264
|
|
|
|
%bcond_without x265
|
|
|
|
%else
|
|
|
|
%bcond_with rtmp
|
|
|
|
%bcond_with x264
|
|
|
|
%bcond_with x265
|
|
|
|
%endif
|
|
|
|
|
2022-02-12 12:12:06 +00:00
|
|
|
%if %{without lto}
|
|
|
|
%global _lto_cflags %{nil}
|
|
|
|
%endif
|
|
|
|
|
2022-02-15 15:29:36 +00:00
|
|
|
%if "%{__isa_bits}" == "64"
|
|
|
|
%global lib64_suffix ()(64bit)
|
|
|
|
%endif
|
2022-10-12 14:22:29 +00:00
|
|
|
%global openh264_soversion 7
|
2022-02-15 15:29:36 +00:00
|
|
|
|
2023-03-12 05:44:10 +00:00
|
|
|
%global av_codec_soversion 60
|
|
|
|
%global av_device_soversion 60
|
|
|
|
%global av_filter_soversion 9
|
|
|
|
%global av_format_soversion 60
|
|
|
|
%global av_util_soversion 58
|
|
|
|
%global postproc_soversion 57
|
2022-02-11 19:18:52 +00:00
|
|
|
%global swresample_soversion 4
|
2023-03-12 05:44:10 +00:00
|
|
|
%global swscale_soversion 7
|
2022-02-11 19:18:52 +00:00
|
|
|
|
|
|
|
Name: ffmpeg
|
|
|
|
%global pkg_name %{name}%{?pkg_suffix}
|
|
|
|
|
2024-01-04 16:04:37 +00:00
|
|
|
Version: 6.1.1
|
2024-06-19 17:27:20 +00:00
|
|
|
Release: 16%{?dist}
|
2022-02-11 19:18:52 +00:00
|
|
|
Summary: A complete solution to record, convert and stream audio and video
|
2023-03-12 05:44:10 +00:00
|
|
|
License: GPL-3.0-or-later
|
2022-02-11 19:18:52 +00:00
|
|
|
URL: https://ffmpeg.org/
|
|
|
|
Source0: ffmpeg%{?pkg_suffix}-%{version}.tar.xz
|
2022-02-15 15:29:36 +00:00
|
|
|
Source1: ffmpeg-dlopen-headers.tar.xz
|
|
|
|
Source2: https://ffmpeg.org/releases/ffmpeg-%{version}.tar.xz.asc
|
2022-02-11 19:18:52 +00:00
|
|
|
# https://ffmpeg.org/ffmpeg-devel.asc
|
|
|
|
# gpg2 --import --import-options import-export,import-minimal ffmpeg-devel.asc > ./ffmpeg.keyring
|
2022-02-15 15:29:36 +00:00
|
|
|
Source3: ffmpeg.keyring
|
|
|
|
Source4: ffmpeg_free_sources
|
2022-02-11 19:18:52 +00:00
|
|
|
Source20: enable_decoders
|
|
|
|
Source21: enable_encoders
|
2022-02-15 15:29:36 +00:00
|
|
|
# Scripts for generating tarballs
|
|
|
|
Source90: ffmpeg_update_free_sources.sh
|
|
|
|
Source91: ffmpeg_gen_free_tarball.sh
|
|
|
|
Source92: ffmpeg_get_dlopen_headers.sh
|
2023-01-31 00:03:51 +00:00
|
|
|
Source93: ffmpeg_find_free_source_headers.sh
|
2022-02-15 15:29:36 +00:00
|
|
|
|
2022-02-11 19:18:52 +00:00
|
|
|
# Fixes for reduced codec selection on free build
|
2022-08-24 11:05:00 +00:00
|
|
|
Patch1: ffmpeg-codec-choice.patch
|
2022-02-11 19:18:52 +00:00
|
|
|
# Allow to build with fdk-aac-free
|
|
|
|
# See https://bugzilla.redhat.com/show_bug.cgi?id=1501522#c112
|
2024-01-04 15:48:18 +00:00
|
|
|
Patch2: ffmpeg-allow-fdk-aac-free.patch
|
2023-12-08 14:16:48 +00:00
|
|
|
# Drop openh264 runtime version checks
|
|
|
|
# https://patchwork.ffmpeg.org/project/ffmpeg/list/?series=10211
|
2024-01-04 15:48:18 +00:00
|
|
|
Patch4: 0001-lavc-libopenh264-Drop-openh264-runtime-version-check.patch
|
2024-01-05 14:48:35 +00:00
|
|
|
Patch5: ffmpeg-c99.patch
|
2024-01-30 11:06:36 +00:00
|
|
|
# Fix build with gcc14 (-Wint-conversion, -Wincompatible-pointer-types)
|
|
|
|
Patch6: ffmpeg-gcc14.patch
|
2024-04-27 21:03:08 +00:00
|
|
|
# Fix build with Vulkan headers >= 1.3.280.0
|
|
|
|
Patch7: ffmpeg-vulkan.patch
|
2024-06-19 17:27:20 +00:00
|
|
|
# Backport fix for CVE-2023-49528
|
|
|
|
Patch8: https://git.ffmpeg.org/gitweb/ffmpeg.git/patch/2d9ed64859c9887d0504cd71dbd5b2c15e14251a#/ffmpeg-CVE-2023-49528.patch
|
2023-12-08 14:16:48 +00:00
|
|
|
|
2022-02-15 15:29:36 +00:00
|
|
|
# Set up dlopen for openh264
|
|
|
|
Patch1001: ffmpeg-dlopen-openh264.patch
|
|
|
|
|
2023-11-11 14:10:58 +00:00
|
|
|
# Add first_dts getter to libavformat for Chromium
|
|
|
|
# See: https://bugzilla.redhat.com/show_bug.cgi?id=2240127
|
|
|
|
# Reference: https://crbug.com/1306560
|
|
|
|
Patch1002: ffmpeg-chromium.patch
|
|
|
|
|
|
|
|
|
2022-02-11 19:18:52 +00:00
|
|
|
Requires: libavcodec%{?pkg_suffix}%{_isa} = %{version}-%{release}
|
|
|
|
Requires: libavdevice%{?pkg_suffix}%{_isa} = %{version}-%{release}
|
|
|
|
Requires: libavfilter%{?pkg_suffix}%{_isa} = %{version}-%{release}
|
|
|
|
Requires: libavformat%{?pkg_suffix}%{_isa} = %{version}-%{release}
|
|
|
|
Requires: libavutil%{?pkg_suffix}%{_isa} = %{version}-%{release}
|
|
|
|
Requires: libpostproc%{?pkg_suffix}%{_isa} = %{version}-%{release}
|
|
|
|
Requires: libswresample%{?pkg_suffix}%{_isa} = %{version}-%{release}
|
|
|
|
Requires: libswscale%{?pkg_suffix}%{_isa} = %{version}-%{release}
|
|
|
|
|
2022-02-13 11:31:10 +00:00
|
|
|
BuildRequires: AMF-devel
|
2022-02-11 19:18:52 +00:00
|
|
|
BuildRequires: fdk-aac-free-devel
|
2023-02-13 21:33:10 +00:00
|
|
|
%if %{with flite}
|
|
|
|
BuildRequires: flite-devel >= 2.2
|
|
|
|
%endif
|
2022-02-11 19:18:52 +00:00
|
|
|
BuildRequires: game-music-emu-devel
|
|
|
|
BuildRequires: gcc
|
2023-11-11 14:10:58 +00:00
|
|
|
BuildRequires: git-core
|
2022-02-11 19:18:52 +00:00
|
|
|
BuildRequires: gnupg2
|
|
|
|
BuildRequires: gsm-devel
|
|
|
|
BuildRequires: ladspa-devel
|
|
|
|
BuildRequires: lame-devel
|
2022-04-08 06:10:39 +00:00
|
|
|
BuildRequires: libgcrypt-devel
|
2022-02-11 19:18:52 +00:00
|
|
|
BuildRequires: libmysofa-devel
|
2023-02-03 21:00:52 +00:00
|
|
|
BuildRequires: libX11-devel
|
|
|
|
BuildRequires: libXext-devel
|
|
|
|
BuildRequires: libXv-devel
|
2022-02-11 19:18:52 +00:00
|
|
|
BuildRequires: make
|
|
|
|
BuildRequires: nasm
|
|
|
|
BuildRequires: perl(Pod::Man)
|
|
|
|
BuildRequires: pkgconfig(alsa)
|
|
|
|
BuildRequires: pkgconfig(aom)
|
|
|
|
BuildRequires: pkgconfig(bzip2)
|
|
|
|
BuildRequires: pkgconfig(caca)
|
|
|
|
BuildRequires: pkgconfig(codec2)
|
|
|
|
BuildRequires: pkgconfig(dav1d)
|
|
|
|
BuildRequires: pkgconfig(ffnvcodec)
|
|
|
|
BuildRequires: pkgconfig(flac)
|
|
|
|
BuildRequires: pkgconfig(fontconfig)
|
|
|
|
BuildRequires: pkgconfig(freetype2)
|
|
|
|
BuildRequires: pkgconfig(frei0r)
|
|
|
|
BuildRequires: pkgconfig(fribidi)
|
2022-04-08 06:10:39 +00:00
|
|
|
BuildRequires: pkgconfig(gl)
|
2022-02-11 19:18:52 +00:00
|
|
|
BuildRequires: pkgconfig(gnutls)
|
2024-03-12 22:35:22 +00:00
|
|
|
BuildRequires: pkgconfig(harfbuzz)
|
2022-05-26 13:23:40 +00:00
|
|
|
BuildRequires: pkgconfig(libilbc)
|
2022-02-11 19:18:52 +00:00
|
|
|
BuildRequires: pkgconfig(jack)
|
2023-02-13 22:02:22 +00:00
|
|
|
%if %{with lcms2}
|
|
|
|
BuildRequires: pkgconfig(lcms2) >= 2.13
|
|
|
|
%endif
|
2022-02-11 19:18:52 +00:00
|
|
|
BuildRequires: pkgconfig(libass)
|
|
|
|
BuildRequires: pkgconfig(libbluray)
|
|
|
|
BuildRequires: pkgconfig(libbs2b)
|
|
|
|
BuildRequires: pkgconfig(libcdio)
|
|
|
|
BuildRequires: pkgconfig(libcdio_paranoia)
|
2022-08-29 23:59:29 +00:00
|
|
|
%if %{with chromaprint}
|
2022-02-11 19:18:52 +00:00
|
|
|
BuildRequires: pkgconfig(libchromaprint)
|
2022-05-26 13:23:40 +00:00
|
|
|
%endif
|
2022-02-11 19:18:52 +00:00
|
|
|
BuildRequires: pkgconfig(libdrm)
|
2022-11-16 12:19:11 +00:00
|
|
|
BuildRequires: pkgconfig(libjxl) >= 0.7.0
|
2022-02-11 19:18:52 +00:00
|
|
|
BuildRequires: pkgconfig(libmodplug)
|
2022-09-04 13:52:01 +00:00
|
|
|
%if %{with omxil}
|
2022-02-11 19:18:52 +00:00
|
|
|
BuildRequires: pkgconfig(libomxil-bellagio)
|
2022-09-04 13:52:01 +00:00
|
|
|
%endif
|
2022-02-11 19:18:52 +00:00
|
|
|
BuildRequires: pkgconfig(libopenjp2)
|
|
|
|
BuildRequires: pkgconfig(libopenmpt)
|
2023-02-13 22:02:22 +00:00
|
|
|
%if %{with placebo}
|
|
|
|
BuildRequires: pkgconfig(libplacebo) >= 4.192.0
|
|
|
|
%endif
|
2022-02-11 19:18:52 +00:00
|
|
|
BuildRequires: pkgconfig(libpulse)
|
2023-02-03 21:00:52 +00:00
|
|
|
BuildRequires: pkgconfig(librabbitmq)
|
2023-02-16 04:12:32 +00:00
|
|
|
BuildRequires: pkgconfig(librist)
|
2022-02-11 19:18:52 +00:00
|
|
|
BuildRequires: pkgconfig(librsvg-2.0)
|
|
|
|
BuildRequires: pkgconfig(libssh)
|
|
|
|
BuildRequires: pkgconfig(libv4l2)
|
|
|
|
BuildRequires: pkgconfig(libva)
|
|
|
|
BuildRequires: pkgconfig(libva-drm)
|
|
|
|
BuildRequires: pkgconfig(libva-x11)
|
|
|
|
BuildRequires: pkgconfig(libwebp)
|
|
|
|
BuildRequires: pkgconfig(libxml-2.0)
|
|
|
|
BuildRequires: pkgconfig(libzmq)
|
|
|
|
BuildRequires: pkgconfig(lilv-0)
|
2023-02-03 21:00:52 +00:00
|
|
|
BuildRequires: pkgconfig(lv2)
|
2022-02-11 19:18:52 +00:00
|
|
|
BuildRequires: pkgconfig(netcdf)
|
|
|
|
BuildRequires: pkgconfig(ogg)
|
|
|
|
BuildRequires: pkgconfig(openal)
|
2023-01-31 00:03:51 +00:00
|
|
|
BuildRequires: pkgconfig(opencore-amrnb)
|
2022-04-08 06:10:39 +00:00
|
|
|
BuildRequires: pkgconfig(OpenCL)
|
2024-04-23 14:52:11 +00:00
|
|
|
%if %{without bundled_openh264_headers}
|
|
|
|
BuildRequires: pkgconfig(openh264)
|
|
|
|
%endif
|
2022-02-11 19:18:52 +00:00
|
|
|
BuildRequires: pkgconfig(opus)
|
|
|
|
BuildRequires: pkgconfig(rav1e)
|
|
|
|
BuildRequires: pkgconfig(rubberband)
|
|
|
|
BuildRequires: pkgconfig(schroedinger-1.0)
|
|
|
|
BuildRequires: pkgconfig(sdl2)
|
2022-11-09 13:24:45 +00:00
|
|
|
BuildRequires: pkgconfig(shaderc) >= 2019.1
|
2022-02-11 19:18:52 +00:00
|
|
|
BuildRequires: pkgconfig(smbclient)
|
|
|
|
BuildRequires: pkgconfig(snappy)
|
|
|
|
BuildRequires: pkgconfig(soxr)
|
|
|
|
BuildRequires: pkgconfig(speex)
|
|
|
|
BuildRequires: pkgconfig(srt)
|
2023-03-12 05:44:10 +00:00
|
|
|
BuildRequires: pkgconfig(SvtAv1Enc) >= 0.9.0
|
2022-02-11 19:18:52 +00:00
|
|
|
BuildRequires: pkgconfig(tesseract)
|
|
|
|
BuildRequires: pkgconfig(theora)
|
|
|
|
BuildRequires: pkgconfig(twolame)
|
|
|
|
BuildRequires: pkgconfig(vapoursynth)
|
|
|
|
BuildRequires: pkgconfig(vdpau)
|
|
|
|
BuildRequires: pkgconfig(vidstab)
|
|
|
|
BuildRequires: pkgconfig(vorbis)
|
2023-01-31 00:03:51 +00:00
|
|
|
BuildRequires: pkgconfig(vo-amrwbenc)
|
2022-02-11 19:18:52 +00:00
|
|
|
BuildRequires: pkgconfig(vpx)
|
2024-01-04 15:48:18 +00:00
|
|
|
BuildRequires: pkgconfig(vulkan) >= 1.3.255
|
2022-02-11 19:18:52 +00:00
|
|
|
BuildRequires: pkgconfig(wavpack)
|
|
|
|
BuildRequires: pkgconfig(xcb)
|
|
|
|
BuildRequires: pkgconfig(xcb-render)
|
|
|
|
BuildRequires: pkgconfig(xcb-shape)
|
|
|
|
BuildRequires: pkgconfig(xcb-shm)
|
|
|
|
BuildRequires: pkgconfig(xcb-xfixes)
|
|
|
|
BuildRequires: pkgconfig(zimg)
|
|
|
|
BuildRequires: pkgconfig(zlib)
|
|
|
|
BuildRequires: pkgconfig(zvbi-0.2)
|
|
|
|
BuildRequires: texinfo
|
2023-01-31 00:03:51 +00:00
|
|
|
BuildRequires: xvidcore-devel
|
2022-02-11 19:18:52 +00:00
|
|
|
|
2022-02-11 21:27:06 +00:00
|
|
|
%if %{with dc1394}
|
|
|
|
BuildRequires: pkgconfig(libavc1394)
|
|
|
|
BuildRequires: pkgconfig(libdc1394-2)
|
|
|
|
BuildRequires: pkgconfig(libiec61883)
|
|
|
|
%endif
|
2022-02-11 19:18:52 +00:00
|
|
|
%if %{with rtmp}
|
|
|
|
BuildRequires: librtmp-devel
|
|
|
|
%endif
|
2023-03-12 05:44:10 +00:00
|
|
|
%if %{with vpl}
|
|
|
|
BuildRequires: pkgconfig(vpl) >= 2.6
|
2022-02-11 19:18:52 +00:00
|
|
|
%endif
|
|
|
|
%if %{with x264}
|
|
|
|
BuildRequires: pkgconfig(x264)
|
|
|
|
%endif
|
|
|
|
%if %{with x265}
|
|
|
|
BuildRequires: pkgconfig(x265)
|
|
|
|
%endif
|
2022-02-11 21:27:06 +00:00
|
|
|
%if %{with vmaf}
|
|
|
|
BuildRequires: pkgconfig(libvmaf)
|
|
|
|
%endif
|
2022-02-11 19:18:52 +00:00
|
|
|
|
|
|
|
|
|
|
|
%description
|
|
|
|
FFmpeg is a leading multimedia framework, able to decode, encode, transcode,
|
|
|
|
mux, demux, stream, filter and play pretty much anything that humans and
|
|
|
|
machines have created. It supports the most obscure ancient formats up to the
|
|
|
|
cutting edge. No matter if they were designed by some standards committee, the
|
|
|
|
community or a corporation.
|
|
|
|
|
|
|
|
%if %{without all_codecs}
|
|
|
|
This build of ffmpeg is limited in the number of codecs supported.
|
|
|
|
%endif
|
|
|
|
|
|
|
|
%if "x%{?pkg_suffix}" != "x"
|
|
|
|
%package -n %{pkg_name}
|
|
|
|
Summary: A complete solution to record, convert and stream audio and video
|
|
|
|
Requires: libavcodec%{?pkg_suffix}%{_isa} = %{version}-%{release}
|
|
|
|
Requires: libavdevice%{?pkg_suffix}%{_isa} = %{version}-%{release}
|
|
|
|
Requires: libavfilter%{?pkg_suffix}%{_isa} = %{version}-%{release}
|
|
|
|
Requires: libavformat%{?pkg_suffix}%{_isa} = %{version}-%{release}
|
|
|
|
Requires: libavutil%{?pkg_suffix}%{_isa} = %{version}-%{release}
|
|
|
|
Requires: libpostproc%{?pkg_suffix}%{_isa} = %{version}-%{release}
|
|
|
|
Requires: libswresample%{?pkg_suffix}%{_isa} = %{version}-%{release}
|
|
|
|
Requires: libswscale%{?pkg_suffix}%{_isa} = %{version}-%{release}
|
|
|
|
|
|
|
|
|
|
|
|
%description -n %{pkg_name}
|
|
|
|
FFmpeg is a leading multimedia framework, able to decode, encode, transcode,
|
|
|
|
mux, demux, stream, filter and play pretty much anything that humans and
|
|
|
|
machines have created. It supports the most obscure ancient formats up to the
|
|
|
|
cutting edge. No matter if they were designed by some standards committee, the
|
|
|
|
community or a corporation.
|
|
|
|
|
|
|
|
%if %{without all_codecs}
|
|
|
|
This build of ffmpeg is limited in the number of codecs supported.
|
|
|
|
%endif
|
|
|
|
|
|
|
|
#/ "x%%{?pkg_suffix}" != "x"
|
|
|
|
%endif
|
|
|
|
|
|
|
|
%package -n %{pkg_name}-devel
|
|
|
|
Summary: Development package for %{name}
|
|
|
|
Requires: libavcodec%{?pkg_suffix}-devel = %{version}-%{release}
|
2022-06-09 08:29:39 +00:00
|
|
|
Requires: libavdevice%{?pkg_suffix}-devel = %{version}-%{release}
|
2022-02-11 19:18:52 +00:00
|
|
|
Requires: libavfilter%{?pkg_suffix}-devel = %{version}-%{release}
|
|
|
|
Requires: libavformat%{?pkg_suffix}-devel = %{version}-%{release}
|
|
|
|
Requires: libavutil%{?pkg_suffix}-devel = %{version}-%{release}
|
|
|
|
Requires: libpostproc%{?pkg_suffix}-devel = %{version}-%{release}
|
|
|
|
Requires: libswresample%{?pkg_suffix}-devel = %{version}-%{release}
|
|
|
|
Requires: libswscale%{?pkg_suffix}-devel = %{version}-%{release}
|
|
|
|
Requires: pkgconfig
|
|
|
|
|
|
|
|
%description -n %{pkg_name}-devel
|
|
|
|
FFmpeg is a leading multimedia framework, able to decode, encode, transcode,
|
|
|
|
mux, demux, stream, filter and play pretty much anything that humans and
|
|
|
|
machines have created. It supports the most obscure ancient formats up to the
|
|
|
|
cutting edge. No matter if they were designed by some standards committee, the
|
|
|
|
community or a corporation.
|
|
|
|
|
|
|
|
%package -n libavcodec%{?pkg_suffix}
|
|
|
|
Summary: FFmpeg codec library
|
|
|
|
Requires: libavutil%{?pkg_suffix}%{_isa} = %{version}-%{release}
|
|
|
|
Requires: libswresample%{?pkg_suffix}%{_isa} = %{version}-%{release}
|
2022-02-15 15:29:36 +00:00
|
|
|
# We dlopen() openh264, so weak-depend on it...
|
2022-02-15 16:00:20 +00:00
|
|
|
## Note, we can do this because openh264 is provided in a default-enabled
|
|
|
|
## third party repository provided by Cisco.
|
2022-10-12 14:22:29 +00:00
|
|
|
Recommends: libopenh264.so.%{openh264_soversion}%{?lib64_suffix}
|
2023-12-06 12:18:11 +00:00
|
|
|
Suggests: openh264%{_isa}
|
2022-02-11 19:18:52 +00:00
|
|
|
|
|
|
|
%description -n libavcodec%{?pkg_suffix}
|
|
|
|
The libavcodec library provides a generic encoding/decoding framework
|
|
|
|
and contains multiple decoders and encoders for audio, video and
|
|
|
|
subtitle streams, and several bitstream filters.
|
|
|
|
|
|
|
|
%if %{without all_codecs}
|
|
|
|
This build of ffmpeg is limited in the number of codecs supported.
|
|
|
|
%endif
|
|
|
|
|
|
|
|
%package -n libavcodec%{?pkg_suffix}-devel
|
|
|
|
Summary: Development files for FFmpeg's codec library
|
|
|
|
Requires: libavutil%{?pkg_suffix}-devel = %{version}-%{release}
|
|
|
|
Requires: libavcodec%{?pkg_suffix}%{_isa} = %{version}-%{release}
|
|
|
|
Requires: pkgconfig
|
|
|
|
|
|
|
|
%description -n libavcodec%{?pkg_suffix}-devel
|
|
|
|
The libavcodec library provides a generic encoding/decoding framework
|
|
|
|
and contains multiple decoders and encoders for audio, video and
|
|
|
|
subtitle streams, and several bitstream filters.
|
|
|
|
|
|
|
|
This subpackage contains the headers for FFmpeg libavcodec.
|
|
|
|
|
|
|
|
%package -n libavdevice%{?pkg_suffix}
|
|
|
|
Summary: FFmpeg device library
|
|
|
|
Requires: libavcodec%{?pkg_suffix}%{_isa} = %{version}-%{release}
|
|
|
|
Requires: libavfilter%{?pkg_suffix}%{_isa} = %{version}-%{release}
|
|
|
|
Requires: libavformat%{?pkg_suffix}%{_isa} = %{version}-%{release}
|
|
|
|
Requires: libavutil%{?pkg_suffix}%{_isa} = %{version}-%{release}
|
|
|
|
|
|
|
|
%description -n libavdevice%{?pkg_suffix}
|
|
|
|
The libavdevice library provides a generic framework for grabbing from
|
|
|
|
and rendering to many common multimedia input/output devices, and
|
|
|
|
supports several input and output devices, including Video4Linux2, VfW,
|
|
|
|
DShow, and ALSA.
|
|
|
|
|
|
|
|
%package -n libavdevice%{?pkg_suffix}-devel
|
|
|
|
Summary: Development files for FFmpeg's device library
|
|
|
|
Requires: libavcodec%{?pkg_suffix}-devel = %{version}-%{release}
|
|
|
|
Requires: libavfilter%{?pkg_suffix}-devel = %{version}-%{release}
|
|
|
|
Requires: libavformat%{?pkg_suffix}-devel = %{version}-%{release}
|
|
|
|
Requires: libavutil%{?pkg_suffix}-devel = %{version}-%{release}
|
|
|
|
Requires: libpostproc%{?pkg_suffix}-devel = %{version}-%{release}
|
|
|
|
Requires: libswresample%{?pkg_suffix}-devel = %{version}-%{release}
|
|
|
|
Requires: libswscale%{?pkg_suffix}-devel = %{version}-%{release}
|
|
|
|
Requires: libavdevice%{?pkg_suffix}%{_isa} = %{version}-%{release}
|
|
|
|
Requires: pkgconfig
|
|
|
|
|
|
|
|
%description -n libavdevice%{?pkg_suffix}-devel
|
|
|
|
The libavdevice library provides a generic framework for grabbing from
|
|
|
|
and rendering to many common multimedia input/output devices, and
|
|
|
|
supports several input and output devices, including Video4Linux2, VfW,
|
|
|
|
DShow, and ALSA.
|
|
|
|
|
|
|
|
This subpackage contains the headers for FFmpeg libavdevice.
|
|
|
|
|
|
|
|
%package -n libavfilter%{?pkg_suffix}
|
|
|
|
Summary: FFmpeg audio and video filtering library
|
|
|
|
Requires: libavcodec%{?pkg_suffix}%{_isa} = %{version}-%{release}
|
|
|
|
Requires: libavformat%{?pkg_suffix}%{_isa} = %{version}-%{release}
|
|
|
|
Requires: libavutil%{?pkg_suffix}%{_isa} = %{version}-%{release}
|
|
|
|
Requires: libpostproc%{?pkg_suffix}%{_isa} = %{version}-%{release}
|
|
|
|
Requires: libswresample%{?pkg_suffix}%{_isa} = %{version}-%{release}
|
|
|
|
Requires: libswscale%{?pkg_suffix}%{_isa} = %{version}-%{release}
|
|
|
|
|
|
|
|
%description -n libavfilter%{?pkg_suffix}
|
|
|
|
The libavfilter library provides a generic audio/video filtering
|
|
|
|
framework containing several filters, sources and sinks.
|
|
|
|
|
|
|
|
%package -n libavfilter%{?pkg_suffix}-devel
|
|
|
|
Summary: Development files for FFmpeg's audio/video filter library
|
|
|
|
Requires: libavcodec%{?pkg_suffix}-devel = %{version}-%{release}
|
|
|
|
Requires: libavformat%{?pkg_suffix}-devel = %{version}-%{release}
|
|
|
|
Requires: libavutil%{?pkg_suffix}-devel = %{version}-%{release}
|
|
|
|
Requires: libpostproc%{?pkg_suffix}-devel = %{version}-%{release}
|
|
|
|
Requires: libswresample%{?pkg_suffix}-devel = %{version}-%{release}
|
|
|
|
Requires: libswscale%{?pkg_suffix}-devel = %{version}-%{release}
|
|
|
|
Requires: libavfilter%{?pkg_suffix} = %{version}-%{release}
|
|
|
|
Requires: pkgconfig
|
|
|
|
|
|
|
|
%description -n libavfilter%{?pkg_suffix}-devel
|
|
|
|
The libavfilter library provides a generic audio/video filtering
|
|
|
|
framework containing several filters, sources and sinks.
|
|
|
|
|
|
|
|
This subpackage contains the headers for FFmpeg libavfilter.
|
|
|
|
|
|
|
|
%package -n libavformat%{?pkg_suffix}
|
|
|
|
Summary: FFmpeg's stream format library
|
|
|
|
Requires: libavcodec%{?pkg_suffix}%{_isa} = %{version}-%{release}
|
|
|
|
Requires: libavutil%{?pkg_suffix}%{_isa} = %{version}-%{release}
|
|
|
|
|
|
|
|
%description -n libavformat%{?pkg_suffix}
|
|
|
|
The libavformat library provides a generic framework for multiplexing
|
|
|
|
and demultiplexing (muxing and demuxing) audio, video and subtitle
|
|
|
|
streams. It encompasses multiple muxers and demuxers for multimedia
|
|
|
|
container formats.
|
|
|
|
|
|
|
|
%if %{without all_codecs}
|
|
|
|
This build of ffmpeg is limited in the number of codecs supported.
|
|
|
|
%endif
|
|
|
|
|
|
|
|
%package -n libavformat%{?pkg_suffix}-devel
|
|
|
|
Summary: Development files for FFmpeg's stream format library
|
|
|
|
Requires: libavcodec%{?pkg_suffix}-devel = %{version}-%{release}
|
|
|
|
Requires: libavutil%{?pkg_suffix}-devel = %{version}-%{release}
|
|
|
|
Requires: libswresample%{?pkg_suffix}-devel = %{version}-%{release}
|
|
|
|
Requires: libavformat%{?pkg_suffix}%{_isa} = %{version}-%{release}
|
|
|
|
Requires: pkgconfig
|
|
|
|
|
|
|
|
%description -n libavformat%{?pkg_suffix}-devel
|
|
|
|
The libavformat library provides a generic framework for multiplexing
|
|
|
|
and demultiplexing (muxing and demuxing) audio, video and subtitle
|
|
|
|
streams. It encompasses multiple muxers and demuxers for multimedia
|
|
|
|
container formats.
|
|
|
|
|
|
|
|
This subpackage contains the headers for FFmpeg libavformat.
|
|
|
|
|
|
|
|
%package -n libavutil%{?pkg_suffix}
|
|
|
|
Summary: FFmpeg's utility library
|
|
|
|
Group: System/Libraries
|
|
|
|
|
|
|
|
%description -n libavutil%{?pkg_suffix}
|
|
|
|
The libavutil library is a utility library to aid portable multimedia
|
|
|
|
programming. It contains safe portable string functions, random
|
|
|
|
number generators, data structures, additional mathematics functions,
|
|
|
|
cryptography and multimedia related functionality (like enumerations
|
|
|
|
for pixel and sample formats).
|
|
|
|
|
|
|
|
%package -n libavutil%{?pkg_suffix}-devel
|
|
|
|
Summary: Development files for FFmpeg's utility library
|
|
|
|
Requires: libavutil%{?pkg_suffix}%{_isa} = %{version}-%{release}
|
|
|
|
Requires: pkgconfig
|
|
|
|
|
|
|
|
%description -n libavutil%{?pkg_suffix}-devel
|
|
|
|
The libavutil library is a utility library to aid portable multimedia
|
|
|
|
programming. It contains safe portable string functions, random
|
|
|
|
number generators, data structures, additional mathematics functions,
|
|
|
|
cryptography and multimedia related functionality (like enumerations
|
|
|
|
for pixel and sample formats).
|
|
|
|
|
|
|
|
This subpackage contains the headers for FFmpeg libavutil.
|
|
|
|
|
|
|
|
%package -n libpostproc%{?pkg_suffix}
|
|
|
|
Summary: FFmpeg post-processing library
|
|
|
|
Requires: libavutil%{?pkg_suffix}%{_isa} = %{version}-%{release}
|
|
|
|
|
|
|
|
%description -n libpostproc%{?pkg_suffix}
|
|
|
|
A library with video postprocessing filters, such as deblocking and
|
|
|
|
deringing filters, noise reduction, automatic contrast and brightness
|
|
|
|
correction, linear/cubic interpolating deinterlacing.
|
|
|
|
|
|
|
|
%package -n libpostproc%{?pkg_suffix}-devel
|
|
|
|
Summary: Development files for the FFmpeg post-processing library
|
|
|
|
Requires: libavutil%{?pkg_suffix}-devel = %{version}-%{release}
|
|
|
|
Requires: libpostproc%{?pkg_suffix}%{_isa} = %{version}-%{release}
|
|
|
|
Requires: pkgconfig
|
|
|
|
|
|
|
|
%description -n libpostproc%{?pkg_suffix}-devel
|
|
|
|
A library with video postprocessing filters, such as deblocking and
|
|
|
|
deringing filters, noise reduction, automatic contrast and brightness
|
|
|
|
correction, linear/cubic interpolating deinterlacing.
|
|
|
|
|
|
|
|
This subpackage contains the headers for FFmpeg libpostproc.
|
|
|
|
|
|
|
|
%package -n libswresample%{?pkg_suffix}
|
|
|
|
Summary: FFmpeg software resampling library
|
|
|
|
Requires: libavutil%{?pkg_suffix}%{_isa} = %{version}-%{release}
|
|
|
|
|
|
|
|
%description -n libswresample%{?pkg_suffix}
|
|
|
|
The libswresample library performs audio conversion between different
|
|
|
|
sample rates, channel layout and channel formats.
|
|
|
|
|
|
|
|
%package -n libswresample%{?pkg_suffix}-devel
|
|
|
|
Summary: Development files for the FFmpeg software resampling library
|
|
|
|
Requires: libavutil%{?pkg_suffix}-devel = %{version}-%{release}
|
|
|
|
Requires: libswresample%{?pkg_suffix}%{_isa} = %{version}-%{release}
|
|
|
|
|
|
|
|
%description -n libswresample%{?pkg_suffix}-devel
|
|
|
|
The libswresample library performs audio conversion between different
|
|
|
|
sample rates, channel layout and channel formats.
|
|
|
|
|
|
|
|
This subpackage contains the headers for FFmpeg libswresample.
|
|
|
|
|
|
|
|
%package -n libswscale%{?pkg_suffix}
|
|
|
|
Summary: FFmpeg image scaling and colorspace/pixel conversion library
|
|
|
|
Requires: libavutil%{?pkg_suffix}%{_isa} = %{version}-%{release}
|
|
|
|
|
|
|
|
%description -n libswscale%{?pkg_suffix}
|
|
|
|
The libswscale library performs image scaling and colorspace and
|
|
|
|
pixel format conversion operations.
|
|
|
|
|
|
|
|
%package -n libswscale%{?pkg_suffix}-devel
|
|
|
|
Summary: Development files for FFmpeg's image scaling and colorspace library
|
|
|
|
Provides: libswscale%{?pkg_suffix}-devel = %{version}-%{release}
|
|
|
|
Conflicts: libswscale%{?pkg_suffix}-devel < %{version}-%{release}
|
|
|
|
Requires: libavutil%{?pkg_suffix}-devel = %{version}-%{release}
|
|
|
|
Requires: libswscale%{?pkg_suffix}%{_isa} = %{version}-%{release}
|
|
|
|
|
|
|
|
%description -n libswscale%{?pkg_suffix}-devel
|
|
|
|
The libswscale library performs image scaling and colorspace and
|
|
|
|
pixel format conversion operations.
|
|
|
|
|
|
|
|
This subpackage contains the headers for FFmpeg libswscale.
|
|
|
|
|
|
|
|
%prep
|
|
|
|
%if %{with upstream_tarball}
|
2023-11-11 14:10:58 +00:00
|
|
|
%{gpgverify} --keyring='%{SOURCE3}' --signature='%{SOURCE2}' --data='%{SOURCE0}'
|
2022-02-11 19:18:52 +00:00
|
|
|
%endif
|
|
|
|
|
2024-04-23 14:52:11 +00:00
|
|
|
%autosetup %{?with_bundled_openh264_headers:-a1} -S git_am
|
2022-02-11 19:18:52 +00:00
|
|
|
install -m 0644 %{SOURCE20} enable_decoders
|
|
|
|
install -m 0644 %{SOURCE21} enable_encoders
|
|
|
|
# fix -O3 -g in host_cflags
|
|
|
|
sed -i "s|check_host_cflags -O3|check_host_cflags %{optflags}|" configure
|
|
|
|
install -m0755 -d _doc/examples
|
|
|
|
cp -a doc/examples/{*.c,Makefile,README} _doc/examples/
|
|
|
|
|
|
|
|
%build
|
|
|
|
%set_build_flags
|
|
|
|
|
|
|
|
# This is not a normal configure script, don't use %%configure
|
|
|
|
./configure \
|
|
|
|
--prefix=%{_prefix} \
|
|
|
|
--bindir=%{_bindir} \
|
|
|
|
--datadir=%{_datadir}/%{name} \
|
|
|
|
--docdir=%{_docdir}/%{name} \
|
|
|
|
--incdir=%{_includedir}/%{name} \
|
|
|
|
--libdir=%{_libdir} \
|
|
|
|
--mandir=%{_mandir} \
|
|
|
|
--arch=%{_target_cpu} \
|
2022-04-08 06:10:39 +00:00
|
|
|
--optflags="%{build_cflags}" \
|
|
|
|
--extra-ldflags="%{build_ldflags}" \
|
2022-02-11 19:18:52 +00:00
|
|
|
--disable-htmlpages \
|
|
|
|
--enable-pic \
|
|
|
|
--disable-stripping \
|
|
|
|
--enable-shared \
|
|
|
|
--disable-static \
|
|
|
|
--enable-gpl \
|
|
|
|
--enable-version3 \
|
|
|
|
--enable-libsmbclient \
|
|
|
|
--disable-openssl \
|
2022-04-08 06:10:39 +00:00
|
|
|
--enable-bzlib \
|
|
|
|
--enable-frei0r \
|
2022-08-29 23:59:29 +00:00
|
|
|
%if %{with chromaprint}
|
2022-04-08 06:10:39 +00:00
|
|
|
--enable-chromaprint \
|
2022-08-29 23:59:29 +00:00
|
|
|
%else
|
|
|
|
--disable-chromaprint \
|
2022-05-26 13:23:40 +00:00
|
|
|
%endif
|
2022-04-08 06:10:39 +00:00
|
|
|
--enable-gcrypt \
|
2022-02-11 19:18:52 +00:00
|
|
|
--enable-gnutls \
|
|
|
|
--enable-ladspa \
|
2023-02-13 22:02:22 +00:00
|
|
|
%if %{with lcms2}
|
2023-02-03 21:00:52 +00:00
|
|
|
--enable-lcms2 \
|
2023-02-13 22:02:22 +00:00
|
|
|
%endif
|
2022-04-19 12:01:38 +00:00
|
|
|
--enable-libshaderc \
|
2022-02-11 19:18:52 +00:00
|
|
|
--enable-vulkan \
|
|
|
|
--disable-cuda-sdk \
|
|
|
|
--enable-libaom \
|
|
|
|
--enable-libass \
|
|
|
|
--enable-libbluray \
|
|
|
|
--enable-libbs2b \
|
2023-02-03 17:29:57 +00:00
|
|
|
--enable-libcaca \
|
2022-02-11 19:18:52 +00:00
|
|
|
--enable-libcdio \
|
2022-04-19 01:00:58 +00:00
|
|
|
--enable-libcodec2 \
|
2022-02-11 19:18:52 +00:00
|
|
|
--enable-libdav1d \
|
2022-02-11 21:27:06 +00:00
|
|
|
%if %{with dc1394}
|
2022-02-11 19:18:52 +00:00
|
|
|
--enable-libdc1394 \
|
2022-02-11 21:27:06 +00:00
|
|
|
%endif
|
2022-02-11 19:18:52 +00:00
|
|
|
--enable-libdrm \
|
|
|
|
--enable-libfdk-aac \
|
2023-02-13 21:33:10 +00:00
|
|
|
%if %{with flite}
|
2023-02-03 17:29:57 +00:00
|
|
|
--enable-libflite \
|
2023-02-13 21:33:10 +00:00
|
|
|
%endif
|
2022-02-11 19:18:52 +00:00
|
|
|
--enable-libfontconfig \
|
|
|
|
--enable-libfreetype \
|
|
|
|
--enable-libfribidi \
|
2024-03-12 22:35:22 +00:00
|
|
|
--enable-libharfbuzz \
|
2023-02-03 17:29:57 +00:00
|
|
|
--enable-libgme \
|
2022-02-11 19:18:52 +00:00
|
|
|
--enable-libgsm \
|
2023-02-03 17:29:57 +00:00
|
|
|
%if %{with dc1394}
|
|
|
|
--enable-libiec61883 \
|
|
|
|
%endif
|
2022-04-08 06:10:39 +00:00
|
|
|
--enable-libilbc \
|
2022-02-11 19:18:52 +00:00
|
|
|
--enable-libjack \
|
2022-08-24 11:05:00 +00:00
|
|
|
--enable-libjxl \
|
2022-04-08 06:10:39 +00:00
|
|
|
--enable-libmodplug \
|
2022-02-11 19:18:52 +00:00
|
|
|
--enable-libmp3lame \
|
|
|
|
--enable-libmysofa \
|
2022-02-15 15:29:36 +00:00
|
|
|
--enable-libopenh264-dlopen \
|
2022-02-11 19:18:52 +00:00
|
|
|
--enable-libopenjpeg \
|
|
|
|
--enable-libopenmpt \
|
|
|
|
--enable-libopus \
|
2023-02-13 22:02:22 +00:00
|
|
|
%if %{with placebo}
|
2023-02-03 21:00:52 +00:00
|
|
|
--enable-libplacebo \
|
2023-02-13 22:02:22 +00:00
|
|
|
%endif
|
2022-02-11 19:18:52 +00:00
|
|
|
--enable-libpulse \
|
2023-02-03 21:00:52 +00:00
|
|
|
--enable-librabbitmq \
|
2022-02-11 19:18:52 +00:00
|
|
|
--enable-librav1e \
|
2023-02-16 04:12:32 +00:00
|
|
|
--enable-librist \
|
2022-04-08 06:10:39 +00:00
|
|
|
--enable-librsvg \
|
2022-02-11 19:18:52 +00:00
|
|
|
--enable-librubberband \
|
2022-04-08 06:10:39 +00:00
|
|
|
--enable-libsnappy \
|
2022-02-11 19:18:52 +00:00
|
|
|
--enable-libsvtav1 \
|
|
|
|
--enable-libsoxr \
|
|
|
|
--enable-libspeex \
|
|
|
|
--enable-libssh \
|
|
|
|
--enable-libsrt \
|
2022-04-08 06:10:39 +00:00
|
|
|
--enable-libtesseract \
|
2022-02-11 19:18:52 +00:00
|
|
|
--enable-libtheora \
|
|
|
|
--enable-libtwolame \
|
|
|
|
--enable-libvidstab \
|
2022-02-11 21:27:06 +00:00
|
|
|
%if %{with vmaf}
|
2022-02-11 19:18:52 +00:00
|
|
|
--enable-libvmaf \
|
2022-02-11 21:27:06 +00:00
|
|
|
%endif
|
2022-02-11 19:18:52 +00:00
|
|
|
--enable-libvorbis \
|
|
|
|
--enable-libv4l2 \
|
|
|
|
--enable-libvpx \
|
|
|
|
--enable-libwebp \
|
|
|
|
--enable-libxml2 \
|
|
|
|
--enable-libzimg \
|
2022-04-08 06:10:39 +00:00
|
|
|
--enable-libzmq \
|
2022-02-11 19:18:52 +00:00
|
|
|
--enable-libzvbi \
|
|
|
|
%if %{with lto}
|
|
|
|
--enable-lto \
|
|
|
|
%endif
|
2023-03-12 05:44:10 +00:00
|
|
|
%if %{with vpl}
|
|
|
|
--enable-libvpl \
|
2022-02-11 21:27:06 +00:00
|
|
|
%endif
|
2023-02-03 21:00:52 +00:00
|
|
|
--enable-lv2 \
|
2022-02-11 19:18:52 +00:00
|
|
|
--enable-vaapi \
|
|
|
|
--enable-vdpau \
|
|
|
|
--enable-libopencore-amrnb \
|
|
|
|
--enable-libopencore-amrwb \
|
|
|
|
--enable-libvo-amrwbenc \
|
|
|
|
%if %{with x264}
|
|
|
|
--enable-libx264 \
|
|
|
|
%endif
|
|
|
|
%if %{with x265}
|
|
|
|
--enable-libx265 \
|
|
|
|
%endif
|
|
|
|
%if %{with librtmp}
|
|
|
|
--enable-librtmp \
|
|
|
|
%endif
|
|
|
|
--enable-libxvid \
|
2022-04-08 06:10:39 +00:00
|
|
|
--enable-openal \
|
|
|
|
--enable-opencl \
|
|
|
|
--enable-opengl \
|
|
|
|
--enable-pthreads \
|
|
|
|
--enable-vapoursynth \
|
2022-02-11 19:18:52 +00:00
|
|
|
%if %{without all_codecs}
|
|
|
|
--enable-muxers \
|
|
|
|
--enable-demuxers \
|
2022-04-24 13:51:02 +00:00
|
|
|
--enable-hwaccels \
|
2022-02-11 19:18:52 +00:00
|
|
|
--disable-encoders \
|
|
|
|
--disable-decoders \
|
2023-01-31 00:03:51 +00:00
|
|
|
--disable-decoder="h264,hevc,vc1" \
|
2022-02-11 19:18:52 +00:00
|
|
|
--enable-encoder="$(perl -pe 's{^(\w*).*}{$1,}gs' <enable_encoders)" \
|
|
|
|
--enable-decoder="$(perl -pe 's{^(\w*).*}{$1,}gs' <enable_decoders)" \
|
|
|
|
%endif
|
|
|
|
%ifarch %{power64}
|
|
|
|
%ifarch ppc64
|
|
|
|
--cpu=g5 \
|
|
|
|
%endif
|
|
|
|
%ifarch ppc64p7
|
|
|
|
--cpu=power7 \
|
|
|
|
%endif
|
|
|
|
%ifarch ppc64le
|
|
|
|
--cpu=power8 \
|
|
|
|
%endif
|
|
|
|
--enable-pic \
|
|
|
|
%endif
|
|
|
|
%ifarch %{arm}
|
|
|
|
--disable-runtime-cpudetect --arch=arm \
|
|
|
|
%ifarch armv6hl
|
|
|
|
--cpu=armv6 \
|
|
|
|
%endif
|
|
|
|
%ifarch armv7hl armv7hnl
|
|
|
|
--cpu=armv7-a \
|
|
|
|
--enable-vfpv3 \
|
|
|
|
--enable-thumb \
|
|
|
|
%endif
|
|
|
|
%ifarch armv7hl
|
|
|
|
--disable-neon \
|
|
|
|
%endif
|
|
|
|
%ifarch armv7hnl
|
|
|
|
--enable-neon \
|
|
|
|
%endif
|
|
|
|
%endif
|
|
|
|
|| cat ffbuild/config.log
|
|
|
|
|
|
|
|
cat config.h
|
2022-08-24 11:05:00 +00:00
|
|
|
cat config_components.h
|
2022-02-11 19:18:52 +00:00
|
|
|
|
|
|
|
# Paranoia check
|
|
|
|
%if %{without all_codecs}
|
|
|
|
# DECODER
|
2023-01-31 00:03:51 +00:00
|
|
|
for i in H264 HEVC HEVC_RKMPP VC1; do
|
2022-08-24 11:05:00 +00:00
|
|
|
grep -q "#define CONFIG_${i}_DECODER 0" config_components.h
|
2022-02-11 19:18:52 +00:00
|
|
|
done
|
|
|
|
|
|
|
|
# ENCODER
|
2023-01-31 00:03:51 +00:00
|
|
|
for i in LIBX264 LIBX264RGB LIBX265; do
|
2022-08-24 11:05:00 +00:00
|
|
|
grep -q "#define CONFIG_${i}_ENCODER 0" config_components.h
|
2022-02-11 19:18:52 +00:00
|
|
|
done
|
|
|
|
for i in H264 HEVC; do
|
2022-02-13 11:31:10 +00:00
|
|
|
for j in MF VIDEOTOOLBOX; do
|
2022-08-24 11:05:00 +00:00
|
|
|
grep -q "#define CONFIG_${i}_${j}_ENCODER 0" config_components.h
|
2022-02-11 19:18:52 +00:00
|
|
|
done
|
|
|
|
done
|
|
|
|
%endif
|
|
|
|
|
|
|
|
%make_build V=1
|
|
|
|
%make_build documentation V=1
|
|
|
|
%make_build alltools V=1
|
|
|
|
|
|
|
|
%install
|
|
|
|
%make_install V=1
|
|
|
|
|
|
|
|
# We will package is as %%doc in the devel package
|
|
|
|
rm -rf %{buildroot}%{_datadir}/%{name}/examples
|
|
|
|
|
|
|
|
%ldconfig_scriptlets -n libavcodec%{?pkg_suffix}
|
|
|
|
%ldconfig_scriptlets -n libavdevice%{?pkg_suffix}
|
|
|
|
%ldconfig_scriptlets -n libavfilter%{?pkg_suffix}
|
|
|
|
%ldconfig_scriptlets -n libavformat%{?pkg_suffix}
|
|
|
|
%ldconfig_scriptlets -n libavutil%{?pkg_suffix}
|
|
|
|
%ldconfig_scriptlets -n libpostproc%{?pkg_suffix}
|
|
|
|
%ldconfig_scriptlets -n libswresample%{?pkg_suffix}
|
|
|
|
%ldconfig_scriptlets -n libswscle%{?pkg_suffix}
|
|
|
|
|
|
|
|
%files -n %{pkg_name}
|
|
|
|
%doc CREDITS README.md
|
|
|
|
%{_bindir}/ffmpeg
|
|
|
|
%{_bindir}/ffplay
|
|
|
|
%{_bindir}/ffprobe
|
|
|
|
%{_mandir}/man1/ff*.1*
|
|
|
|
%dir %{_datadir}/%{name}
|
|
|
|
%{_datadir}/%{name}/ffprobe.xsd
|
|
|
|
%{_datadir}/%{name}/libvpx-*.ffpreset
|
|
|
|
|
|
|
|
%files -n %{pkg_name}-devel
|
|
|
|
%doc MAINTAINERS doc/APIchanges doc/*.txt
|
|
|
|
%doc _doc/examples
|
|
|
|
|
|
|
|
%files -n libavcodec%{?pkg_suffix}
|
|
|
|
%license COPYING.GPLv2 LICENSE.md
|
|
|
|
%{_libdir}/libavcodec.so.%{av_codec_soversion}{,.*}
|
|
|
|
|
|
|
|
%files -n libavcodec%{?pkg_suffix}-devel
|
|
|
|
%{_includedir}/%{name}/libavcodec
|
|
|
|
%{_libdir}/pkgconfig/libavcodec.pc
|
|
|
|
%{_libdir}/libavcodec.so
|
|
|
|
%{_mandir}/man3/libavcodec.3*
|
|
|
|
|
|
|
|
%files -n libavdevice%{?pkg_suffix}
|
|
|
|
%license COPYING.GPLv2 LICENSE.md
|
|
|
|
%{_libdir}/libavdevice.so.%{av_device_soversion}{,.*}
|
|
|
|
|
|
|
|
%files -n libavdevice%{?pkg_suffix}-devel
|
|
|
|
%{_includedir}/%{name}/libavdevice
|
|
|
|
%{_libdir}/pkgconfig/libavdevice.pc
|
|
|
|
%{_libdir}/libavdevice.so
|
|
|
|
%{_mandir}/man3/libavdevice.3*
|
|
|
|
|
|
|
|
%files -n libavfilter%{?pkg_suffix}
|
|
|
|
%license COPYING.GPLv2 LICENSE.md
|
|
|
|
%{_libdir}/libavfilter.so.%{av_filter_soversion}{,.*}
|
|
|
|
|
|
|
|
%files -n libavfilter%{?pkg_suffix}-devel
|
|
|
|
%{_includedir}/%{name}/libavfilter
|
|
|
|
%{_libdir}/pkgconfig/libavfilter.pc
|
|
|
|
%{_libdir}/libavfilter.so
|
|
|
|
%{_mandir}/man3/libavfilter.3*
|
|
|
|
|
|
|
|
%files -n libavformat%{?pkg_suffix}
|
|
|
|
%license COPYING.GPLv2 LICENSE.md
|
|
|
|
%{_libdir}/libavformat.so.%{av_format_soversion}{,.*}
|
|
|
|
|
|
|
|
%files -n libavformat%{?pkg_suffix}-devel
|
|
|
|
%{_includedir}/%{name}/libavformat
|
|
|
|
%{_libdir}/pkgconfig/libavformat.pc
|
|
|
|
%{_libdir}/libavformat.so
|
|
|
|
%{_mandir}/man3/libavformat.3*
|
|
|
|
|
|
|
|
%files -n libavutil%{?pkg_suffix}
|
|
|
|
%license COPYING.GPLv2 LICENSE.md
|
|
|
|
%{_libdir}/libavutil.so.%{av_util_soversion}{,.*}
|
|
|
|
|
|
|
|
%files -n libavutil%{?pkg_suffix}-devel
|
|
|
|
%{_includedir}/%{name}/libavutil
|
|
|
|
%{_libdir}/pkgconfig/libavutil.pc
|
|
|
|
%{_libdir}/libavutil.so
|
|
|
|
%{_mandir}/man3/libavutil.3*
|
|
|
|
|
|
|
|
%files -n libpostproc%{?pkg_suffix}
|
|
|
|
%license COPYING.GPLv2 LICENSE.md
|
|
|
|
%{_libdir}/libpostproc.so.%{postproc_soversion}{,.*}
|
|
|
|
|
|
|
|
%files -n libpostproc%{?pkg_suffix}-devel
|
|
|
|
%{_includedir}/%{name}/libpostproc
|
|
|
|
%{_libdir}/pkgconfig/libpostproc.pc
|
|
|
|
%{_libdir}/libpostproc.so
|
|
|
|
|
|
|
|
%files -n libswresample%{?pkg_suffix}
|
|
|
|
%license COPYING.GPLv2 LICENSE.md
|
|
|
|
%{_libdir}/libswresample.so.%{swresample_soversion}{,.*}
|
|
|
|
|
|
|
|
%files -n libswresample%{?pkg_suffix}-devel
|
|
|
|
%{_includedir}/%{name}/libswresample
|
|
|
|
%{_libdir}/pkgconfig/libswresample.pc
|
|
|
|
%{_libdir}/libswresample.so
|
|
|
|
%{_mandir}/man3/libswresample.3*
|
|
|
|
|
|
|
|
%files -n libswscale%{?pkg_suffix}
|
|
|
|
%license COPYING.GPLv2 LICENSE.md
|
|
|
|
%{_libdir}/libswscale.so.%{swscale_soversion}{,.*}
|
|
|
|
|
|
|
|
%files -n libswscale%{?pkg_suffix}-devel
|
|
|
|
%{_includedir}/%{name}/libswscale
|
|
|
|
%{_libdir}/pkgconfig/libswscale.pc
|
|
|
|
%{_libdir}/libswscale.so
|
|
|
|
%{_mandir}/man3/libswscale.3*
|
|
|
|
|
|
|
|
%changelog
|
2024-06-19 17:27:20 +00:00
|
|
|
* Wed Jun 19 2024 Dominik Mierzejewski <dominik@greysector.net> - 6.1.1-16
|
|
|
|
- Backport fix for CVE-2023-49528
|
|
|
|
|
2024-06-13 20:38:43 +00:00
|
|
|
* Thu Jun 13 2024 Sandro Mani <manisandro@gmail.com> - 6.1.1-15
|
|
|
|
- Rebuild for tesseract-5.4.1
|
|
|
|
|
2024-05-29 16:38:55 +00:00
|
|
|
* Wed May 29 2024 Robert-André Mauchin <zebob.m@gmail.com> - 6.1.1-14
|
|
|
|
- Rebuild for svt-av1 2.1.0
|
|
|
|
|
2024-05-22 07:20:16 +00:00
|
|
|
* Wed May 22 2024 Simone Caronni <negativo17@gmail.com> - 6.1.1-13
|
|
|
|
- Rebuild for updated VapourSynth.
|
|
|
|
|
2024-04-23 14:52:11 +00:00
|
|
|
* Tue Apr 23 2024 Kalev Lember <klember@redhat.com> - 6.1.1-12
|
|
|
|
- Stop using bundled openh264 headers in F40+ and build against noopenh264
|
2024-04-27 21:03:08 +00:00
|
|
|
- Backport a fix to build with Vulkan headers >= 1.3.280.0
|
2024-04-23 14:52:11 +00:00
|
|
|
|
2024-03-13 02:14:55 +00:00
|
|
|
* Wed Mar 13 2024 Sérgio Basto <sergio@serjux.com> - 6.1.1-11
|
|
|
|
- Rebuild for jpegxl (libjxl) 0.10.2
|
|
|
|
|
2024-03-12 22:35:22 +00:00
|
|
|
* Tue Mar 12 2024 Dominik Mierzejewski <dominik@greysector.net> - 6.1.1-10
|
|
|
|
- Enable drawtext filter (requires libharfbuzz)
|
|
|
|
|
2024-02-14 02:40:14 +00:00
|
|
|
* Wed Feb 14 2024 Sérgio Basto <sergio@serjux.com> - 6.1.1-9
|
|
|
|
- Rebuild for jpegxl (libjxl) 0.9.2 with soname bump
|
|
|
|
|
2024-02-07 22:50:24 +00:00
|
|
|
* Wed Feb 07 2024 Pete Walter <pwalter@fedoraproject.org> - 6.1.1-8
|
|
|
|
- Rebuild for libvpx 1.14.x
|
|
|
|
|
2024-01-28 10:32:35 +00:00
|
|
|
* Sun Jan 28 2024 Sandro Mani <manisandro@gmail.com> - 6.1.1-7
|
|
|
|
- Rebuild (tesseract)
|
|
|
|
|
2024-01-24 11:31:07 +00:00
|
|
|
* Wed Jan 24 2024 Fedora Release Engineering <releng@fedoraproject.org> - 6.1.1-6
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_40_Mass_Rebuild
|
|
|
|
|
2024-01-19 19:15:07 +00:00
|
|
|
* Fri Jan 19 2024 Fedora Release Engineering <releng@fedoraproject.org> - 6.1.1-5
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_40_Mass_Rebuild
|
|
|
|
|
2024-01-15 15:55:52 +00:00
|
|
|
* Mon Jan 15 2024 Neal Gompa <ngompa@fedoraproject.org> - 6.1.1-4
|
|
|
|
- Add missing files for some of the libraries to fix riscv64 builds
|
|
|
|
|
2024-01-12 17:18:42 +00:00
|
|
|
* Fri Jan 12 2024 Fabio Valentini <decathorpe@gmail.com> - 6.1.1-3
|
|
|
|
- Rebuild for dav1d 1.3.0
|
|
|
|
|
2024-01-05 14:48:35 +00:00
|
|
|
* Fri Jan 05 2024 Florian Weimer <fweimer@redhat.com> - 6.1.1-2
|
|
|
|
- Backport upstream patch to fix C compatibility issues
|
|
|
|
|
2024-01-04 16:04:37 +00:00
|
|
|
* Thu Jan 04 2024 Neal Gompa <ngompa@fedoraproject.org> - 6.1.1-1
|
|
|
|
- Update to 6.1.1
|
|
|
|
|
2024-01-04 15:48:18 +00:00
|
|
|
* Thu Jan 04 2024 Neal Gompa <ngompa@fedoraproject.org> - 6.1-1
|
|
|
|
- Rebase to 6.1
|
|
|
|
|
2023-12-06 12:18:11 +00:00
|
|
|
* Wed Dec 06 2023 Kalev Lember <klember@redhat.com> - 6.0.1-2
|
|
|
|
- Prefer openh264 over noopenh264
|
2023-12-08 14:16:48 +00:00
|
|
|
- Backport upstream patch to drop openh264 runtime version checks
|
2023-12-06 12:18:11 +00:00
|
|
|
|
2023-11-11 14:10:58 +00:00
|
|
|
* Sat Nov 11 2023 Neal Gompa <ngompa@fedoraproject.org> - 6.0.1-1
|
|
|
|
- Update to 6.0.1
|
|
|
|
- Add ffmpeg chromium support patch (#2240127)
|
|
|
|
- Use git to apply patches
|
|
|
|
|
2023-11-10 12:13:31 +00:00
|
|
|
* Fri Nov 10 2023 Neal Gompa <ngompa@fedoraproject.org> - 6.0-16
|
|
|
|
- Add patches to support enhanced RTMP and AV1 encoding through VA-API
|
|
|
|
- Force AAC decoding through fdk-aac-free
|
|
|
|
|
2023-10-09 08:09:54 +00:00
|
|
|
* Sun Oct 08 2023 Dominik Mierzejewski <dominik@greysector.net> - 6.0-15
|
|
|
|
- Backport upstream patch to fix segfault when passing non-existent filter
|
|
|
|
option (rfbz#6773)
|
|
|
|
|
2023-10-07 21:53:30 +00:00
|
|
|
* Sat Oct 07 2023 Sandro Mani <manisandro@gmail.com> - 6.0-14
|
|
|
|
- Rebuild (tesseract)
|
|
|
|
|
2023-09-29 13:18:11 +00:00
|
|
|
* Fri Sep 29 2023 Nicolas Chauvet <nchauvet@linagora.com> - 6.0-13
|
|
|
|
- Rebuilt for libplacebo
|
|
|
|
|
2023-08-25 13:08:21 +00:00
|
|
|
* Fri Aug 25 2023 Dominik Mierzejewski <dominik@greysector.net> - 6.0-12
|
|
|
|
- Backport upstream patch to fix assembly with binutils 2.41.
|
|
|
|
|
2023-08-05 20:51:42 +00:00
|
|
|
* Sat Aug 05 2023 Richard Shaw <hobbes1069@gmail.com> - 6.0-11
|
|
|
|
- Rebuild for codec2.
|
|
|
|
|
2023-07-28 08:49:56 +00:00
|
|
|
* Fri Jul 28 2023 Dominik Mierzejewski <dominik@greysector.net> - 6.0-10
|
|
|
|
- Rebuild for libplacebo
|
|
|
|
|
2023-07-19 19:38:25 +00:00
|
|
|
* Wed Jul 19 2023 Fedora Release Engineering <releng@fedoraproject.org> - 6.0-9
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_39_Mass_Rebuild
|
|
|
|
|
2023-07-14 10:45:53 +00:00
|
|
|
* Fri Jul 14 2023 Sandro Mani <manisandro@gmail.com> - 6.0-8
|
|
|
|
- Rebuild (tesseract)
|
|
|
|
|
2023-06-18 18:21:45 +00:00
|
|
|
* Sun Jun 18 2023 Sérgio Basto <sergio@serjux.com> - 6.0-7
|
|
|
|
- Mass rebuild for jpegxl-0.8.1
|
|
|
|
|
2023-06-12 06:45:18 +00:00
|
|
|
* Mon Jun 12 2023 Dominik Mierzejewski <dominik@greysector.net> - 6.0-6
|
|
|
|
- Rebuild for libdc1394
|
|
|
|
|
2023-04-06 15:45:36 +00:00
|
|
|
* Thu Apr 06 2023 Adam Williamson <awilliam@redhat.com> - 6.0-5
|
|
|
|
- Rebuild (tesseract) again
|
|
|
|
|
2023-04-03 12:11:00 +00:00
|
|
|
* Mon Apr 03 2023 Neal Gompa <ngompa@fedoraproject.org> - 6.0-4
|
|
|
|
- Include RISC-V support sources in the tarball
|
|
|
|
|
2023-04-03 11:22:06 +00:00
|
|
|
* Mon Apr 03 2023 Sandro Mani <manisandro@gmail.com> - 6.0-3
|
|
|
|
- Rebuild (tesseract)
|
|
|
|
|
2023-03-22 09:00:01 +00:00
|
|
|
* Wed Mar 22 2023 Nicolas Chauvet <kwizart@gmail.com> - 6.0-2
|
2023-03-22 09:03:47 +00:00
|
|
|
- Backport upstream patches for libplacebo support
|
2023-03-22 09:00:01 +00:00
|
|
|
|
2023-03-12 05:44:10 +00:00
|
|
|
* Sun Mar 12 2023 Neal Gompa <ngompa@fedoraproject.org> - 6.0-1
|
|
|
|
- Rebase to version 6.0
|
|
|
|
- Enable SVT-AV1 on all architectures
|
|
|
|
- Use oneVPL for QSV
|
|
|
|
- Switch to SPDX license identifiers
|
|
|
|
|
2023-02-16 04:12:32 +00:00
|
|
|
* Wed Feb 15 2023 Neal Gompa <ngompa@fedoraproject.org> - 5.1.2-12
|
|
|
|
- Enable support for the RIST protocol through librist
|
|
|
|
|
2023-02-15 23:40:28 +00:00
|
|
|
* Wed Feb 15 2023 Tom Callaway <spot@fedoraproject.org> - 5.1.2-11
|
|
|
|
- bootstrap off
|
|
|
|
|
2023-02-15 22:25:15 +00:00
|
|
|
* Wed Feb 15 2023 Tom Callaway <spot@fedoraproject.org> - 5.1.2-10
|
2023-02-15 22:38:17 +00:00
|
|
|
- rebuild for libvpx (bootstrap)
|
2023-02-15 22:25:15 +00:00
|
|
|
|
2023-02-03 21:00:52 +00:00
|
|
|
* Mon Feb 13 2023 Yaakov Selkowitz <yselkowi@redhat.com> - 5.1.2-9
|
|
|
|
- Enable lcms2, lv2, placebo, rabbitmq, xv
|
|
|
|
|
2023-02-13 21:33:10 +00:00
|
|
|
* Mon Feb 13 2023 Neal Gompa <ngompa@fedoraproject.org> - 5.1.2-8
|
|
|
|
- Disable flite for RHEL 9 as flite is too old
|
|
|
|
|
2023-02-03 17:29:57 +00:00
|
|
|
* Fri Feb 03 2023 Yaakov Selkowitz <yselkowi@redhat.com> - 5.1.2-7
|
|
|
|
- Properly enable caca, flite, gme, iec61883
|
|
|
|
|
2023-01-31 00:03:51 +00:00
|
|
|
* Mon Jan 30 2023 Neal Gompa <ngompa@fedoraproject.org> - 5.1.2-6
|
|
|
|
- Enable more approved codecs
|
|
|
|
|
2023-01-19 03:23:31 +00:00
|
|
|
* Thu Jan 19 2023 Fedora Release Engineering <releng@fedoraproject.org> - 5.1.2-5
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_38_Mass_Rebuild
|
|
|
|
|
2023-01-15 23:58:44 +00:00
|
|
|
* Sun Jan 15 2023 Yaakov Selkowitz <yselkowi@redhat.com> - 5.1.2-4
|
|
|
|
- Properly enable libzvbi_teletext decoder
|
|
|
|
|
2022-12-23 20:59:18 +00:00
|
|
|
* Fri Dec 23 2022 Sandro Mani <manisandro@gmail.com> - 5.1.2-3
|
|
|
|
- Rebuild (tesseract)
|
|
|
|
|
2022-11-09 13:24:45 +00:00
|
|
|
* Wed Nov 09 2022 Neal Gompa <ngompa@fedoraproject.org> - 5.1.2-2
|
|
|
|
- Unconditionally enable Vulkan
|
|
|
|
|
2022-10-12 14:22:29 +00:00
|
|
|
* Wed Oct 12 2022 Neal Gompa <ngompa@fedoraproject.org> - 5.1.2-1
|
|
|
|
- Update to version 5.1.2
|
|
|
|
- Refresh dlopen headers and patch for OpenH264 2.3.1
|
|
|
|
|
2022-09-04 13:52:01 +00:00
|
|
|
* Sun Sep 04 2022 Neal Gompa <ngompa@fedoraproject.org> - 5.1.1-1
|
|
|
|
- Update to version 5.1.1
|
|
|
|
- Refresh dlopen headers for OpenH264 2.3.0
|
|
|
|
- Disable omxil and crystalhd for RHEL
|
|
|
|
|
2022-08-24 11:05:00 +00:00
|
|
|
* Wed Aug 24 2022 Neal Gompa <ngompa@fedoraproject.org> - 5.1-1
|
|
|
|
- Rebase to version 5.1
|
|
|
|
|
2022-07-21 03:07:37 +00:00
|
|
|
* Thu Jul 21 2022 Fedora Release Engineering <releng@fedoraproject.org> - 5.0.1-16
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_37_Mass_Rebuild
|
|
|
|
|
2022-07-09 13:12:51 +00:00
|
|
|
* Sat Jul 09 2022 Richard Shaw <hobbes1069@gmail.com> - 5.0.1-15
|
|
|
|
- Rebuild for codec2 1.0.4.
|
|
|
|
|
2022-07-08 08:49:18 +00:00
|
|
|
* Fri Jul 08 2022 Sandro Mani <manisandro@gmail.com> - 5.0.1-14
|
|
|
|
- Rebuild (tesseract)
|
|
|
|
|
2022-06-22 19:31:09 +00:00
|
|
|
* Wed Jun 22 2022 Robert-André Mauchin <zebob.m@gmail.com> - 5.0.1-13
|
|
|
|
- Rebuilt for new aom, dav1d, rav1e and svt-av1
|
|
|
|
|
2022-06-17 06:28:54 +00:00
|
|
|
* Fri Jun 17 2022 Mamoru TASAKA <mtasaka@tbz.t-com.ne.jp> - 5.0.1-12
|
|
|
|
- Rebuild for new srt
|
|
|
|
|
2022-06-09 08:29:39 +00:00
|
|
|
* Thu Jun 09 2022 Neal Gompa <ngompa@fedoraproject.org> - 5.0.1-11
|
|
|
|
- Ensure libavdevice-devel is pulled in with devel metapackage
|
|
|
|
|
2022-06-05 18:15:21 +00:00
|
|
|
* Sun Jun 05 2022 Neal Gompa <ngompa@fedoraproject.org> - 5.0.1-10
|
|
|
|
- Update for OpenH264 2.2.0
|
|
|
|
|
2022-05-31 13:37:41 +00:00
|
|
|
* Tue May 31 2022 Neal Gompa <ngompa@fedoraproject.org> - 5.0.1-9
|
|
|
|
- Rebuild for ilbc-3.0.4
|
|
|
|
|
2022-05-26 13:23:40 +00:00
|
|
|
* Thu May 26 2022 Benjamin A. Beasley <code@musicinmybrain.net> - 5.0.1-9
|
|
|
|
- Rebuild for ilbc-3.0.4 (bootstrap)
|
|
|
|
|
2022-05-21 22:22:46 +00:00
|
|
|
* Sat May 21 2022 Sandro Mani <manisandro@gmail.com> - 5.0.1-8
|
|
|
|
- Rebuild for gdal-3.5.0 and/or openjpeg-2.5.0
|
|
|
|
|
2022-05-20 22:11:42 +00:00
|
|
|
* Fri May 20 2022 Sandro Mani <manisandro@gmail.com> - 5.0.1-7
|
|
|
|
- Rebuild for gdal-3.5.0 and/or openjpeg-2.5.0
|
|
|
|
|
2022-04-24 13:51:02 +00:00
|
|
|
* Sun Apr 24 2022 Neal Gompa <ngompa@fedoraproject.org> - 5.0.1-6
|
|
|
|
- Add VAAPI encoders for mjpeg, mpeg2, vp8, and vp9
|
|
|
|
- Ensure hwaccels for enabled codecs are turned on
|
|
|
|
|
2022-04-19 12:43:33 +00:00
|
|
|
* Tue Apr 19 2022 Neal Gompa <ngompa@fedoraproject.org> - 5.0.1-5
|
|
|
|
- Drop unused enca build dependency
|
|
|
|
|
2022-04-19 12:01:38 +00:00
|
|
|
* Tue Apr 19 2022 Neal Gompa <ngompa@fedoraproject.org> - 5.0.1-4
|
|
|
|
- Use shaderc for Vulkan support
|
|
|
|
|
2022-04-19 01:00:58 +00:00
|
|
|
* Mon Apr 18 2022 Neal Gompa <ngompa@fedoraproject.org> - 5.0.1-3
|
|
|
|
- Fix codec2 support enablement
|
|
|
|
|
2022-04-18 22:30:14 +00:00
|
|
|
* Mon Apr 18 2022 Dominik Mierzejewski <dominik@greysector.net> - 5.0.1-2
|
|
|
|
- Properly enable decoding and encoding ilbc
|
|
|
|
|
2022-04-13 01:23:06 +00:00
|
|
|
* Tue Apr 12 2022 Neal Gompa <ngompa@fedoraproject.org> - 5.0.1-1
|
|
|
|
- Update to 5.0.1 to fix crashes with muxing MP4 video (#2073980)
|
|
|
|
|
2022-04-08 06:10:39 +00:00
|
|
|
* Tue Apr 05 2022 Dominik Mierzejewski <dominik@greysector.net> - 5.0-11
|
|
|
|
- Enable OpenCL acceleration
|
|
|
|
- be explicit about enabled external features in configure
|
|
|
|
- enable gcrypt
|
|
|
|
- drop duplicate CFLAGS and use Fedora LDFLAGS
|
|
|
|
|
2022-03-10 13:03:53 +00:00
|
|
|
* Thu Mar 10 2022 Sandro Mani <manisandro@gmail.com> - 5.0-10
|
|
|
|
- Rebuild for tesseract 5.1.0
|
|
|
|
|
2022-03-08 14:49:23 +00:00
|
|
|
* Tue Mar 08 2022 Neal Gompa <ngompa@fedoraproject.org> - 5.0-9
|
|
|
|
- Drop ffmpeg chromium support patch (#2061392)
|
|
|
|
|
2022-02-18 13:04:00 +00:00
|
|
|
* Fri Feb 18 2022 Neal Gompa <ngompa@fedoraproject.org> - 5.0-8
|
|
|
|
- Add patch to return correct AVERROR with bad OpenH264 versions
|
|
|
|
|
2022-02-18 12:46:58 +00:00
|
|
|
* Fri Feb 18 2022 Neal Gompa <ngompa@fedoraproject.org> - 5.0-7
|
|
|
|
- Update OpenH264 dlopen patch to split dlopen code into c and h files
|
|
|
|
|
2022-02-17 12:55:03 +00:00
|
|
|
* Thu Feb 17 2022 Neal Gompa <ngompa@fedoraproject.org> - 5.0-6
|
|
|
|
- Update OpenH264 dlopen patch to use AVERROR return codes correctly
|
|
|
|
|
2022-02-15 17:17:55 +00:00
|
|
|
* Tue Feb 15 2022 Neal Gompa <ngompa@fedoraproject.org> - 5.0-5
|
|
|
|
- Disable hardware decoders due to broken failure modes
|
|
|
|
|
2022-02-15 15:29:36 +00:00
|
|
|
* Tue Feb 15 2022 Neal Gompa <ngompa@fedoraproject.org> - 5.0-4
|
|
|
|
- Add support for dlopening OpenH264
|
|
|
|
- Add tarball scripts as sources
|
|
|
|
|
2022-02-13 14:11:44 +00:00
|
|
|
* Sun Feb 13 2022 Neal Gompa <ngompa@fedoraproject.org> - 5.0-3
|
|
|
|
- Enable more QSV and V4L2M2M codecs
|
|
|
|
|
2022-02-13 11:31:10 +00:00
|
|
|
* Sun Feb 13 2022 Neal Gompa <ngompa@fedoraproject.org> - 5.0-2
|
|
|
|
- Enable support for more hardware codecs
|
|
|
|
|
2022-02-11 19:18:52 +00:00
|
|
|
* Fri Feb 11 2022 Andreas Schneider <asn@redhat.com> - 5.0-1
|
|
|
|
- Initial import (fedora#2051008)
|