Compare commits

...

175 Commits
el8 ... el9

Author SHA1 Message Date
Leigh Scott edd69cebbd
Update to 5.1.6
3 months ago
Leigh Scott 0c5be4e54d
fix
5 months ago
Leigh Scott ff509e1378
fix
5 months ago
Leigh Scott 58e5a4e160
Update to 5.1.5
5 months ago
Nicolas Chauvet 6b1e5e0503 fixup(rubberband)
11 months ago
Nicolas Chauvet 76dc6ad519 Disable rubberband(gpl) with cuda
11 months ago
Nicolas Chauvet 73cf4a778e Disable libavcodec-freeworld for cuda
11 months ago
Nicolas Chauvet d566b689f5 Update ffmpeg-chromium.patch for FFmpeg-5.x
1 year ago
Nicolas Chauvet efc2699c80 Fixup fedora/i686 case for 5.x
1 year ago
Nicolas Chauvet 98709cd59c Update sources
1 year ago
Leigh Scott fe9f19c0cf Add patch to fix fedora ffmpeg broken ABI change
1 year ago
Nicolas Chauvet b8faee7e19 Enforces conflicts and virtual provides
1 year ago
Nicolas Chauvet f4d1f1971d Update to 5.1.4
1 year ago
Leigh Scott 84347ff8cf update changelog
2 years ago
Leigh Scott 7b91076c5f fedora cisco repo isn't multiarch
2 years ago
Leigh Scott 1f8027ddc5 Enable openh264 for fedora
2 years ago
Leigh Scott d3e81afe71 Update to 5.1.3 release
2 years ago
Leigh Scott d31e767533 Disable placebo for rhel
2 years ago
Leigh Scott f0c4be1e0d Enable libplacebo (rfbz#6549)
2 years ago
Nicolas Chauvet e743481e5a Revert "bootstrap"
2 years ago
Nicolas Chauvet 0451bc06c4 bootstrap
2 years ago
Nicolas Chauvet 001d11bef5 rebuilt
2 years ago
Nicolas Chauvet 48a2d1ff41 Update changelog
2 years ago
Nicolas Chauvet 51ea0eddf7 Drop dav1d version as it's un-accurate
2 years ago
Nicolas Chauvet 228ef0d9a7 Enable libjxl
2 years ago
Nicolas Chauvet 5f5f5ad7be Enable svtav1 on el9
2 years ago
Nicolas Chauvet f33bbe2d86 rework el9 case
2 years ago
Nicolas Chauvet 0ef14631c8 Rebuilt
2 years ago
Leigh Scott c35ade47f4 Disable rtmp because of rfbz: 6441 & 2399
2 years ago
Leigh Scott d5b775812c Implement libavcodec-freeworld
2 years ago
Leigh Scott 6ec873e924 Update to 5.1.2 release
2 years ago
Leigh Scott 69b7644cba Fedora has fixed lv2 to include the old headers
2 years ago
Leigh Scott 6369da34c8 Change f37 so we can get some testing done before release
2 years ago
Leigh Scott 15c0273f9a Switch from glslang to shaderc
2 years ago
Leigh Scott e72bb6dca7 Enable everything we can for el9
2 years ago
Leigh Scott 66205b18d6 Fixup for el
2 years ago
Leigh Scott 8fe3d55cf2 move libs to a subdirectory to allow parallel installation with ffmpeg-free
2 years ago
Leigh Scott 46bdb4f04e Fix lv2 headers path
2 years ago
Leigh Scott f5211b5d7b Update to 5.1.1 release
2 years ago
Sérgio M. Basto 33c159b028 - Rebuilt for https://fedoraproject.org/wiki/Fedora_37_Mass_Rebuild and ffmpeg 5.1
2 years ago
Leigh Scott 17473ca74e Add unpacked files
2 years ago
Leigh Scott ae9bb40e2e Drop vmaf path fix
2 years ago
Leigh Scott 5275213439 Update to 5.1 release
2 years ago
Leigh Scott 192fcb7f5f rebuild
2 years ago
Leigh Scott 4101680044 Use pkgconfig(rav1e)
2 years ago
Robert-André Mauchin b06462befe Rebuilt for new AOM, dav1d, rav1e and svt-av1
2 years ago
Nicolas Chauvet e90995fb27 bootstrap
2 years ago
Nicolas Chauvet 2e9aaad01b Rebuilt
2 years ago
Nicolas Chauvet 76a5f0405d Revert "Drop troublesome tesseract support"
2 years ago
Leigh Scott d73d9ea922 Drop troublesome tesseract support
2 years ago
Sérgio M. Basto 8bb15652fa unbootstrap
2 years ago
Sérgio M. Basto 0dc948bddd bootsrep try 2
2 years ago
Sérgio M. Basto 6f1d08419d bootstrap build
2 years ago
Sérgio M. Basto 16f8e0fbe8 Mass rebuild for x264-0.164
2 years ago
Leigh Scott d4aa7de7b4 workaround broken deps for ffmpeg-free
3 years ago
Leigh Scott f60f9080f1 workaround broken deps for ffmpeg-free
3 years ago
Leigh Scott cb63ebc48d rebuild
3 years ago
Leigh Scott c65ef03fcb Fix zimg
3 years ago
Leigh Scott f89a49234d Update changelog
3 years ago
Leigh Scott f6e8c9441b Add conflicts
3 years ago
Nicolas Chauvet 5732e69c33 Add more el9 deps
3 years ago
Leigh Scott 700c6d693a Update to 5.0.1 release
3 years ago
Leigh Scott a731eeb665 Rebuilt
3 years ago
Leigh Scott f72f5a7287 Update changelog
3 years ago
Leigh Scott c2dc6bf50e Enable AMF support
3 years ago
Leigh Scott 4e10f514aa Rebuild
3 years ago
Leigh Scott a248a8d93c Drop patch for chrome
3 years ago
Leigh Scott 06338ead24 fixup for el9
3 years ago
Leigh Scott 9f022ecff6 Revert "Epoch the fedora ffmpeg-free packages"
3 years ago
Leigh Scott 71696edc6a Revert "Add patch for chrome"
3 years ago
Leigh Scott 15e852674d Epoch the fedora ffmpeg-free packages
3 years ago
Leigh Scott afe251ab70 Add patch for chrome
3 years ago
Leigh Scott 3a5cc6f7ce fix
3 years ago
Leigh Scott 7d30fca33c rebuilt
3 years ago
Leigh Scott 3e3c2b0c81 Update to 5.0 release
3 years ago
Leigh Scott 83603c43a1 Update to 5.0-0.1.20220104git311ea9c
3 years ago
Leigh Scott 20c5e3e680 Rebuilt
3 years ago
Nicolas Chauvet c345ab2499 Rebuilt
3 years ago
Leigh Scott 1bfbe95d6a Add recommends for vmaf
3 years ago
Leigh Scott 3287ad0a08 Fix vmaf model name
3 years ago
Leigh Scott 331b3f2c3f Enable most unused build requires for fedora excluding i686
3 years ago
Leigh Scott 7bb6cb2205 Update to 4.5-0.1.20211108git45dc668
3 years ago
Leigh Scott ee9464dc7a Update to 4.4.1 release
3 years ago
Leigh Scott 32d6abd1c4 - Rebuilt for https://fedoraproject.org/wiki/Fedora_35_Mass_Rebuild
3 years ago
Leigh Scott 8153478587 Enable libwebp support
3 years ago
Sérgio M. Basto 77c33339f4 Mass rebuild for x264-0.163
3 years ago
Leigh Scott 6639d70e8c Rebuild for aom bump
3 years ago
Leigh Scott 6ac39e4542 Rebuild
4 years ago
Leigh Scott e31a99443d Rebuild for new x265
4 years ago
Leigh Scott 00a8735d27 Update to 4.4 release
4 years ago
Leigh Scott c17f91fb61 Update to 4.4-0.8.20210408git25e794a
4 years ago
Leigh Scott 1a340904df Merge branch 'master' into f34
4 years ago
Leigh Scott 778ea6e826 rebuild
4 years ago
Leigh Scott fb4a456ba8 Merge branch 'master' into f34
4 years ago
Leigh Scott 02ac0d8814 Update to 4.4-0.6.20210323git0be265e
4 years ago
Nicolas Chauvet b31c2905d1 Switch to clang instead of nvcc
4 years ago
Nicolas Chauvet 85374f41fa Switch to clang instead of nvcc
4 years ago
Nicolas Chauvet b13bc0ecb0 Update default cuda_version
4 years ago
Leigh Scott ee2525b606 Update to 20210312git5136726
4 years ago
Leigh Scott af22500ee2 Disable lensfun due to gcc issue
4 years ago
Leigh Scott 2f8df98079 Update to 20210218gitc2bf1dc
4 years ago
Leigh Scott 8e91f25d7f - Rebuilt for https://fedoraproject.org/wiki/Fedora_34_Mass_Rebuild
4 years ago
Leigh Scott 0feb7c8307 Update to 20210125gitc7016e3
4 years ago
Leigh Scott 6a8921e56a Add srt option to configure
4 years ago
Leigh Scott 112182c3dd Enable svt-av1 support
4 years ago
Leigh Scott 7425d371e1 Clean up
4 years ago
Leigh Scott dae562d934 Enable smb support
4 years ago
Leigh Scott db2bb5846a Bump libvmaf required version
4 years ago
Leigh Scott 59bfd6c3be Update to 20201231git477dd2d
4 years ago
Nicolas Chauvet 88168a6851 Fixup vmaf license computation
4 years ago
Leigh Scott c66237fd04 Update changelog
4 years ago
Leigh Scott 3bcd9784c6 Enable lv2 support
4 years ago
Leigh Scott 857dee539a Enable libxml2 support required for dash demuxer
4 years ago
Leigh Scott 2c0a390bb7 Actually do the dav1d rebuild
4 years ago
Robert-André Mauchin 53336465b0
Rebuild for dav1d SONAME bump
4 years ago
Leigh Scott e74cf01ee0 Override broken rav1e includes
4 years ago
Sérgio M. Basto c53b3e69f0 Mass rebuild for x264-0.161
4 years ago
Nicolas Chauvet 5ac0eb4da2 Update cuda to 11.1
4 years ago
Leigh Scott 01b1acf27c Revert last commit
4 years ago
Leigh Scott 24f22e79cd Add VP9 10/12 Bit support for VDPAU
4 years ago
Leigh Scott 6063a5cd01 Update glslang linker patch
4 years ago
Leigh Scott ed5aa0f6be Re-enable rav1e
4 years ago
Leigh Scott 2e23541913 Disable vulkan on i686
4 years ago
Leigh Scott dcab790dfc - Rebuilt for https://fedoraproject.org/wiki/Fedora_33_Mass_Rebuild
4 years ago
Leigh Scott 2153ec706a Disable rav1e support as rust packaging is rawhide only
4 years ago
Leigh Scott 62cda3aa2d Disable LTO for i686
4 years ago
Leigh Scott 2176effc97 Disable LTO for i686
4 years ago
Leigh Scott 5515d796e0 Enable LTO for x86
4 years ago
Leigh Scott bfaed69e0c Use global for disable LTO and include i686
4 years ago
Leigh Scott c454e1e64c Disable LTO for x86_64
4 years ago
Leigh Scott 94769471a9 Revert "Add patch to fix x86_64 LTO build issue"
4 years ago
Leigh Scott c1bf93215d Add patch to fix x86_64 LTO build issue
4 years ago
Leigh Scott 408c9d08ca Remove conditionals
4 years ago
Leigh Scott 166ddac20e Update changelog
4 years ago
Leigh Scott 046463a678 Enabled libopenmpt
4 years ago
Leigh Scott d92deeeb02 Enable libmysofa
4 years ago
Leigh Scott 0f8919c4c4 Update to 4.3.1 release
4 years ago
Leigh Scott da596b0216 Rebuilt
4 years ago
Sérgio M. Basto 3e640e6d6c Mass rebuild for x264
4 years ago
Leigh Scott e70c5c4ca8 Rebuilt
4 years ago
Leigh Scott 5f4f3566dc Fix conditionals
4 years ago
Leigh Scott 72a743c58d Update changelog
4 years ago
Leigh Scott 68c4b922ae Enable vapoursynth
4 years ago
Nicolas Chauvet 24724cc7e9 fixup vmaf needs version3
4 years ago
Leigh Scott bb12226321 Update to 4.3 release
4 years ago
Leigh Scott b440e8dd8a Update to 20200606git
5 years ago
Leigh Scott 70511aefad Enable libmodplug
5 years ago
Leigh Scott c537a72164 Update to 20200531git
5 years ago
Leigh Scott ad5e793685 Enable lensfun
5 years ago
Leigh Scott 9f2b9c6c69 Rebuild for dav1d SONAME bump
5 years ago
Leigh Scott 5059ea86be Update to 20200523git
5 years ago
Leigh Scott d4ac646118 fix vmaf model path
5 years ago
Leigh Scott b355132a09 Update to 20200516git
5 years ago
Leigh Scott fe9f013186 Update to 20200508git
5 years ago
Leigh Scott af20cc4735 Update to 20200501git
5 years ago
Leigh Scott ddb0ec5134 Enable nvdec for aarch64
5 years ago
Leigh Scott b99ef0871b Update to 20200419git
5 years ago
Leigh Scott dafa77b2cf Update to 20200412git
5 years ago
Nicolas Chauvet 001c102ebf Switch to cuda 10.2
5 years ago
Nicolas Chauvet 239e5310db Update changelog
5 years ago
Nicolas Chauvet e6847b1ea7 Enable srt
5 years ago
Leigh Scott 4c1f34342c Update snapshot, fixes rfbz#5537
5 years ago
leigh123linux a542b15fb8 Update to 20200401git
5 years ago
Leigh Scott 81d25497eb Update to 20200321git
5 years ago
leigh123linux 07c1838841 Update to 20200313git
5 years ago
Leigh Scott abc3613a4f Fixup for i686
5 years ago
Leigh Scott bd5ebceea6 Rebuilt for i686
5 years ago
leigh123linux 86e5bce9da Update changelog
5 years ago
leigh123linux 5c6c529c8d Add rav1e support
5 years ago
Leigh Scott c9598db974 Update to 20200305git
5 years ago
Leigh Scott 1195385a3b Update to 20200225git
5 years ago
Leigh Scott 8a89cf8257 Rebuild for x265
5 years ago
Leigh Scott 7180ed627b Enable vulkan
5 years ago
leigh123linux 56058bf484 Disable opencl on ppc64le
5 years ago
leigh123linux 02dd402ab5 Update to 20200222git
5 years ago

6
.gitignore vendored

@ -1,6 +1,4 @@
ffmpeg-*.tar.xz ffmpeg-*.tar.xz
ffmpeg-*.rpm ffmpeg-*.rpm
/ffmpeg-20180116.tar.bz2 ffmpeg-*.tar.bz2
/ffmpeg-20180211.tar.bz2 ffmpeg-*.tar.xz.asc
/ffmpeg-20180305.tar.bz2
/ffmpeg-20180419.tar.bz2

@ -0,0 +1,46 @@
From 4464ecf750bb9440e2571a8d810627cdec85ae02 Mon Sep 17 00:00:00 2001
From: Frank Liberato <liberato@chromium.org>
Date: Wed, 7 Jul 2021 19:01:22 -0700
Subject: [PATCH] Add av_stream_get_first_dts for Chromium
---
libavformat/avformat.h | 4 ++++
libavformat/utils.c | 7 +++++++
2 files changed, 11 insertions(+)
diff --git a/libavformat/avformat.h b/libavformat/avformat.h
index f12fa7d904..0b9fd1f061 100644
--- a/libavformat/avformat.h
+++ b/libavformat/avformat.h
@@ -1128,6 +1128,10 @@ struct AVCodecParserContext *av_stream_get_parser(const AVStream *s);
*/
int64_t av_stream_get_end_pts(const AVStream *st);
+// Chromium: We use the internal field first_dts vvv
+int64_t av_stream_get_first_dts(const AVStream *st);
+// Chromium: We use the internal field first_dts ^^^
+
#define AV_PROGRAM_RUNNING 1
/**
diff --git a/libavformat/utils.c b/libavformat/utils.c
index cf4d68bff9..7d750abf88 100644
--- a/libavformat/utils.c
+++ b/libavformat/utils.c
@@ -55,6 +55,13 @@ int ff_unlock_avformat(void)
return ff_mutex_unlock(&avformat_mutex) ? -1 : 0;
}
+// Chromium: We use the internal field first_dts vvv
+int64_t av_stream_get_first_dts(const AVStream *st)
+{
+ return cffstream(st)->first_dts;
+}
+// Chromium: We use the internal field first_dts ^^^
+
/* an arbitrarily chosen "sane" max packet size -- 50M */
#define SANE_CHUNK_SIZE (50000000)
--
2.41.0

@ -0,0 +1,30 @@
-----BEGIN PGP PUBLIC KEY BLOCK-----
mQENBE22rV0BCAC3DzRmA2XlhrqYv9HKoEvNHHf+PzosmCTHmYhWHDqvBxPkSvCl
ipkbvJ4pBnVvcX6mW5QyKhspHm5j1X5ibe9Bt9/chS/obnIobmvF8shSUgjQ0qRW
9c1aWOjvT26SxYQ1y9TmYCFwixeydGFHYKjAim+evGUccni5KMlfPoT3VTPtim78
ufkr3E9Nco/Mobn/8APO0NmLEGWAM6ln/8J/c9h6a1QKnQyBqWfT0YnAaebafFaZ
YwOtRdDG54VbJ4xwcHbCj5cKhTABk/QtBzDvnW4bG+uSpqdHbFZEY2JpURDuj/T3
NudKQGzn0bYNpY1XY2l0pqs/btKHnBW0fVMjABEBAAG0NEZGbXBlZyByZWxlYXNl
IHNpZ25pbmcga2V5IDxmZm1wZWctZGV2ZWxAZmZtcGVnLm9yZz6JATgEEwECACIF
Ak22rV0CGwMGCwkIBwMCBhUIAgkKCwQWAgMBAh4BAheAAAoJELQyLwTWdljYKxUH
/1fqzl7SKie2g4t4PJbqUbkLuMsC+CP6gp0dcVZOHkuUYAoD3PM3iVxpLBVyKIXI
g7wMSTAtlIcYnzhWIpnoCBes6/O2Mrq6xHgGeTp6CDcm3LmmSYR1f5KdD8KUaA+l
c/M/1fEnwrSs/UGDk6R6iUmbqwxPsbozlOvmUHOLbDZBnKrk9XfAJdUhAuFACrSA
T+KF1jniz0OfNGd23SaHWRCphoRW9pXDc5FfkdaueBUvBvGv19ZNcDhcxT3/u6z2
DaUFC0rLWqk8obo951jVvi/zOhB94Pw6u1SLvcTq3V1q5URWJtgSbpih9VRqxUbQ
NbXduKGzbHz6Vwpkupz4JRe5AQ0ETbatXQEIANjYrygJi/fn1nlSg5Mz0l9KHDm4
yfWtaOrXUjJcyiGe4G0XXJLGh45qxJ0DOKzi9id+9W4jby+kKuzG9O6Vn0iDeODO
aOGnz4ua7Vu6d0AbYfNXZPWge/GCodo/ZD/qri1tPkLmRtT/sniahwy6LruPNHfF
SRoNIjwbcD/IL+EbY1pL1/IFSzEAA1ZZamgmHgB7o9pwDIkK6HuvHMR/Y5MsoMfV
fWV3ZGtA6v9z51CvnHsHPsADRSnUp7aYtR412SiAO4XodMLTA92L3LxgYhI4ma7D
XZ8jgKg4JkKO+DXmoU63HtRdq/HZjeXJKk1JGJF3zCvP3DyIzZ8LWIjN8t0AEQEA
AYkBHwQYAQIACQUCTbatXQIbDAAKCRC0Mi8E1nZY2LS8B/0bMoUAl4X9D0WQbL4l
U0czCIOKOsvbHpIxivjCnOQxU23+PV5WZdoCCpSuAHGv+2OHzhNrij++P9BNTJeQ
skxdS9FH4MZwy1IRSPrxegSxbCUpBI1rd0Zf7qb9BNPrHPTueWFV1uExOSB2Apsv
WrKo2D8mR0uZAPYfYl2ToFVoa5PR7/+ii9WiJr/flF6qm7hoLpI5Bm4VcZh2GPsJ
9Vo/8x/qOGwtdWHqBykYloKsrwD4U69rjn+d9feLoPBRgoVroXWQttt0sUnyoudz
+x8ETJgPoNK3kQoDagApj4qAt83Ayac3HzNIuEJ7LdvfINIOprujnJ9vH4n04XLg
I4EZ
=Rjbw
-----END PGP PUBLIC KEY BLOCK-----

@ -15,7 +15,9 @@ pwd=$(pwd)
date=$(date +%Y%m%d) date=$(date +%Y%m%d)
pushd "$tmp" pushd "$tmp"
git clone git://git.videolan.org/ffmpeg.git git clone git://git.ffmpeg.org/ffmpeg.git
cd ffmpeg cd ffmpeg
git archive --prefix="ffmpeg-${date}/" --format=tar master | bzip2 > "$pwd"/ffmpeg-${date}.tar.bz2 git checkout release/5.0
git rev-parse HEAD
git archive --prefix="ffmpeg-${date}/" --format=tar release/5.0 | bzip2 > "$pwd"/ffmpeg-${date}.tar.bz2
popd popd

@ -1,26 +1,54 @@
# TODO: add make test to %%check section # TODO: add make test to %%check section
#global branch oldabi- #global branch oldabi-
#global date 20180419 #global date 20220104
#global rel rc1 #global commit 311ea9c529117fb8e38abd6ca7e81782b6b21257
#global rel %(c=%{commit}; echo ${c:0:7})
%if (0%{?fedora} >= 37 || 0%{?rhel} >= 9) && 0%{!?_with_cuda:0}
%bcond_without libavcodec_freeworld
%else
%bcond_with libavcodec_freeworld
%endif
%undefine _package_note_file
%ifarch %{ix86}
# Fails due to asm issue
%global _lto_cflags %{nil}
%endif
# Cuda and others are only available on some arches # Cuda and others are only available on some arches
%global cuda_arches x86_64 %global cuda_arches x86_64
%if 0%{?el7} # Disable because of gcc issue
%global _without_aom 1 %global _without_lensfun 1
%global _without_dav1d 1 %if 0%{?fedora}
%global _without_frei0r 1 %global _with_placebo 1
%global _without_mfx 1 %ifnarch i686
%global _without_opus 1 %global _with_bs2b 1
%global _without_vpx 1 %global _with_chromaprint 1
%global _with_ilbc 1
%global _with_openh264 1
%global _with_rav1e 1
%global _with_smb 1
%global _with_snappy 1
%global _with_tesseract 1
%global _with_twolame 1
%global _with_wavpack 1
%global _with_webp 1
%global _with_zmq 1
%else
%global _without_rubberband 1
%global _without_vulkan 1
%endif
%endif %endif
%if 0%{?fedora} || 0%{?rhel} > 7
%ifarch x86_64 %ifarch x86_64
%global _with_mfx 1
%global _with_svtav1 1
%global _with_vapoursynth 1
%global _with_vmaf 1 %global _with_vmaf 1
%endif %endif
%endif
# flavor nonfree # flavor nonfree
%if 0%{?_with_cuda:1} %if 0%{?_with_cuda:1}
@ -36,20 +64,22 @@
%global _without_cdio 1 %global _without_cdio 1
%global _without_frei0r 1 %global _without_frei0r 1
%global _without_gpl 1 %global _without_gpl 1
%global _without_rubberband 1
%global _without_vidstab 1 %global _without_vidstab 1
%global _without_x264 1 %global _without_x264 1
%global _without_x265 1 %global _without_x265 1
%global _without_xvid 1 %global _without_xvid 1
%undefine _with_smb
%endif %endif
# Disable nvenc when not relevant # Disable nvenc when not relevant
%ifnarch %{cuda_arches} %ifnarch %{cuda_arches} aarch64
%global _without_nvenc 1 %global _without_nvenc 1
%endif %endif
# extras flags # extras flags
%if 0%{!?_cuda_version:1} %if 0%{!?_cuda_version:1}
%global _cuda_version 10.1 %global _cuda_version 11.2
%endif %endif
%global _cuda_version_rpm %(echo %{_cuda_version} | sed -e 's/\\./-/') %global _cuda_version_rpm %(echo %{_cuda_version} | sed -e 's/\\./-/')
%global _cuda_bindir %{_cuda_prefix}/bin %global _cuda_bindir %{_cuda_prefix}/bin
@ -74,7 +104,7 @@ ExclusiveArch: armv7hnl
%global lesser L %global lesser L
%endif %endif
%if 0%{!?_without_amr} || 0%{?_with_gmp} || 0%{?_with_smb} %if 0%{!?_without_amr} || 0%{?_with_gmp} || 0%{?_with_smb} || 0%{?_with_vmaf}
%global ffmpeg_license %{?lesser}GPLv3+ %global ffmpeg_license %{?lesser}GPLv3+
%else %else
%global ffmpeg_license %{?lesser}GPLv2+ %global ffmpeg_license %{?lesser}GPLv2+
@ -82,20 +112,26 @@ ExclusiveArch: armv7hnl
Summary: Digital VCR and streaming server Summary: Digital VCR and streaming server
Name: ffmpeg%{?flavor} Name: ffmpeg%{?flavor}
Version: 4.2.2 Version: 5.1.6
Release: 2%{?date}%{?date:git}%{?rel}%{?dist} Release: 1%{?dist}
License: %{ffmpeg_license} License: %{ffmpeg_license}
URL: http://ffmpeg.org/ URL: https://ffmpeg.org/
%if 0%{?date} %if 0%{?date}
Source0: ffmpeg-%{?branch}%{date}.tar.bz2 Source0: ffmpeg-%{?branch}%{date}.tar.bz2
%else %else
Source0: http://ffmpeg.org/releases/ffmpeg-%{version}.tar.xz Source0: https://ffmpeg.org/releases/ffmpeg-%{version}.tar.xz
Source1: https://ffmpeg.org/releases/ffmpeg-%{version}.tar.xz.asc
Source2: https://ffmpeg.org/ffmpeg-devel.asc
%endif %endif
Patch0: fix_ppc_build.patch # We don't endorse adding this patch but fedora insists on breaking the ffmpeg ABI
Patch0: ffmpeg-chromium.patch
Conflicts: %{name}-free
Requires: %{name}-libs%{?_isa} = %{version}-%{release} Requires: %{name}-libs%{?_isa} = %{version}-%{release}
%{?_with_cuda:BuildRequires: cuda-minimal-build-%{_cuda_version_rpm} cuda-drivers-devel} %{?_with_cuda:BuildRequires: cuda-minimal-build-%{_cuda_version_rpm} cuda-drivers-devel}
%{?_with_cuda:%{?!_with_cuda_nvcc:BuildRequires: clang}}
%{?_with_libnpp:BuildRequires: pkgconfig(nppc-%{_cuda_version})} %{?_with_libnpp:BuildRequires: pkgconfig(nppc-%{_cuda_version})}
BuildRequires: alsa-lib-devel BuildRequires: alsa-lib-devel
BuildRequires: AMF-devel
BuildRequires: bzip2-devel BuildRequires: bzip2-devel
%{?_with_faac:BuildRequires: faac-devel} %{?_with_faac:BuildRequires: faac-devel}
%{?_with_fdk_aac:BuildRequires: fdk-aac-devel} %{?_with_fdk_aac:BuildRequires: fdk-aac-devel}
@ -105,14 +141,16 @@ BuildRequires: freetype-devel
BuildRequires: fribidi-devel BuildRequires: fribidi-devel
%{!?_without_frei0r:BuildRequires: frei0r-devel} %{!?_without_frei0r:BuildRequires: frei0r-devel}
%{?_with_gme:BuildRequires: game-music-emu-devel} %{?_with_gme:BuildRequires: game-music-emu-devel}
BuildRequires: gnupg2
BuildRequires: gnutls-devel BuildRequires: gnutls-devel
BuildRequires: gsm-devel BuildRequires: gsm-devel
%{?_with_ilbc:BuildRequires: ilbc-devel} %{?_with_ilbc:BuildRequires: ilbc-devel}
BuildRequires: lame-devel >= 3.98.3 BuildRequires: lame-devel >= 3.98.3
%{!?_without_jack:BuildRequires: jack-audio-connection-kit-devel} %{!?_without_jack:BuildRequires: jack-audio-connection-kit-devel}
%{!?_without_jxl:BuildRequires: libjxl-devel}
%{!?_without_ladspa:BuildRequires: ladspa-devel} %{!?_without_ladspa:BuildRequires: ladspa-devel}
%{!?_without_aom:BuildRequires: libaom-devel} %{!?_without_aom:BuildRequires: libaom-devel}
%{!?_without_dav1d:BuildRequires: libdav1d-devel >= 0.2.1} %{!?_without_dav1d:BuildRequires: libdav1d-devel}
%{!?_without_ass:BuildRequires: libass-devel} %{!?_without_ass:BuildRequires: libass-devel}
%{!?_without_bluray:BuildRequires: libbluray-devel} %{!?_without_bluray:BuildRequires: libbluray-devel}
%{?_with_bs2b:BuildRequires: libbs2b-devel} %{?_with_bs2b:BuildRequires: libbs2b-devel}
@ -120,6 +158,7 @@ BuildRequires: lame-devel >= 3.98.3
%{!?_without_cdio:BuildRequires: libcdio-paranoia-devel} %{!?_without_cdio:BuildRequires: libcdio-paranoia-devel}
%{?_with_chromaprint:BuildRequires: libchromaprint-devel} %{?_with_chromaprint:BuildRequires: libchromaprint-devel}
%{?_with_crystalhd:BuildRequires: libcrystalhd-devel} %{?_with_crystalhd:BuildRequires: libcrystalhd-devel}
%{!?_without_lensfun:BuildRequires: lensfun-devel}
%if 0%{?_with_ieee1394} %if 0%{?_with_ieee1394}
BuildRequires: libavc1394-devel BuildRequires: libavc1394-devel
BuildRequires: libdc1394-devel BuildRequires: libdc1394-devel
@ -129,7 +168,12 @@ BuildRequires: libdrm-devel
BuildRequires: libgcrypt-devel BuildRequires: libgcrypt-devel
BuildRequires: libGL-devel BuildRequires: libGL-devel
BuildRequires: libmodplug-devel BuildRequires: libmodplug-devel
BuildRequires: libmysofa-devel
%{?_with_openh264:BuildRequires: openh264-devel}
BuildRequires: libopenmpt-devel
%{?_with_placebo:BuildRequires: libplacebo-devel}
BuildRequires: librsvg2-devel BuildRequires: librsvg2-devel
# Disable rtmp because of rfbz: 6441 & 2399
%{?_with_rtmp:BuildRequires: librtmp-devel} %{?_with_rtmp:BuildRequires: librtmp-devel}
%{?_with_smb:BuildRequires: libsmbclient-devel} %{?_with_smb:BuildRequires: libsmbclient-devel}
BuildRequires: libssh-devel BuildRequires: libssh-devel
@ -138,9 +182,10 @@ BuildRequires: libv4l-devel
%{?!_without_vaapi:BuildRequires: libva-devel >= 0.31.0} %{?!_without_vaapi:BuildRequires: libva-devel >= 0.31.0}
BuildRequires: libvdpau-devel BuildRequires: libvdpau-devel
BuildRequires: libvorbis-devel BuildRequires: libvorbis-devel
%{?_with_vapoursynth:BuildRequires: vapoursynth-devel}
%{?!_without_vpx:BuildRequires: libvpx-devel >= 1.4.0} %{?!_without_vpx:BuildRequires: libvpx-devel >= 1.4.0}
%{?_with_mfx:BuildRequires: pkgconfig(libmfx) >= 1.23-1}
%ifarch %{ix86} x86_64 %ifarch %{ix86} x86_64
%{!?_without_mfx:BuildRequires: pkgconfig(libmfx) >= 1.23-1}
BuildRequires: nasm BuildRequires: nasm
%endif %endif
%{?_with_webp:BuildRequires: libwebp-devel} %{?_with_webp:BuildRequires: libwebp-devel}
@ -150,6 +195,8 @@ BuildRequires: nasm
%{!?_without_amr:BuildRequires: opencore-amr-devel vo-amrwbenc-devel} %{!?_without_amr:BuildRequires: opencore-amr-devel vo-amrwbenc-devel}
%{?_with_omx:BuildRequires: libomxil-bellagio-devel} %{?_with_omx:BuildRequires: libomxil-bellagio-devel}
BuildRequires: libxcb-devel BuildRequires: libxcb-devel
BuildRequires: libxml2-devel
%{!?_without_lv2:BuildRequires: lilv-devel lv2-devel}
%{!?_without_openal:BuildRequires: openal-soft-devel} %{!?_without_openal:BuildRequires: openal-soft-devel}
%if 0%{!?_without_opencl:1} %if 0%{!?_without_opencl:1}
BuildRequires: opencl-headers ocl-icd-devel BuildRequires: opencl-headers ocl-icd-devel
@ -160,22 +207,26 @@ BuildRequires: openjpeg2-devel
%{!?_without_opus:BuildRequires: opus-devel >= 1.1.3} %{!?_without_opus:BuildRequires: opus-devel >= 1.1.3}
%{!?_without_pulse:BuildRequires: pulseaudio-libs-devel} %{!?_without_pulse:BuildRequires: pulseaudio-libs-devel}
BuildRequires: perl(Pod::Man) BuildRequires: perl(Pod::Man)
%{?_with_rubberband:BuildRequires: rubberband-devel} %{?_with_rav1e:BuildRequires: pkgconfig(rav1e)}
%{!?_without_rubberband:BuildRequires: rubberband-devel}
%{!?_without_tools:BuildRequires: SDL2-devel} %{!?_without_tools:BuildRequires: SDL2-devel}
%{?_with_snappy:BuildRequires: snappy-devel} %{?_with_snappy:BuildRequires: snappy-devel}
BuildRequires: soxr-devel BuildRequires: soxr-devel
BuildRequires: speex-devel BuildRequires: speex-devel
BuildRequires: pkgconfig(srt)
%{?_with_svtav1:BuildRequires: svt-av1-devel >= 0.9.0}
%{?_with_tesseract:BuildRequires: tesseract-devel} %{?_with_tesseract:BuildRequires: tesseract-devel}
#BuildRequires: texi2html #BuildRequires: texi2html
BuildRequires: texinfo BuildRequires: texinfo
%{?_with_twolame:BuildRequires: twolame-devel} %{?_with_twolame:BuildRequires: twolame-devel}
%{?_with_vmaf:BuildRequires: libvmaf-devel} %{?_with_vmaf:BuildRequires: libvmaf-devel >= 1.5.2}
%{?_with_wavpack:BuildRequires: wavpack-devel} %{?_with_wavpack:BuildRequires: wavpack-devel}
%{!?_without_vidstab:BuildRequires: vid.stab-devel} %{!?_without_vidstab:BuildRequires: vid.stab-devel}
%{!?_without_vulkan:BuildRequires: vulkan-loader-devel pkgconfig(shaderc)}
%{!?_without_x264:BuildRequires: x264-devel >= 0.0.0-0.31} %{!?_without_x264:BuildRequires: x264-devel >= 0.0.0-0.31}
%{!?_without_x265:BuildRequires: x265-devel} %{!?_without_x265:BuildRequires: x265-devel}
%{!?_without_xvid:BuildRequires: xvidcore-devel} %{!?_without_xvid:BuildRequires: xvidcore-devel}
BuildRequires: zimg-devel >= 2.7.0 %{!?_without_zimg:BuildRequires: zimg-devel >= 2.7.0}
BuildRequires: zlib-devel BuildRequires: zlib-devel
%{?_with_zmq:BuildRequires: zeromq-devel} %{?_with_zmq:BuildRequires: zeromq-devel}
%{!?_without_zvbi:BuildRequires: zvbi-devel} %{!?_without_zvbi:BuildRequires: zvbi-devel}
@ -188,6 +239,15 @@ and video, MPEG4, h263, ac3, asf, avi, real, mjpeg, and flash.
%package libs %package libs
Summary: Libraries for %{name} Summary: Libraries for %{name}
Conflicts: libavcodec-free
Conflicts: libavfilter-free
Conflicts: libavformat-free
Conflicts: libavutil-free
Conflicts: libpostproc-free
Conflicts: libswresample-free
Conflicts: libswscale-free
%{?_with_vmaf:Recommends: vmaf-models}
Provides: libavcodec-freeworld = %{version}-%{release}
%description libs %description libs
FFmpeg is a complete and free Internet live audio and video FFmpeg is a complete and free Internet live audio and video
@ -198,6 +258,7 @@ This package contains the libraries for %{name}
%package -n libavdevice%{?flavor} %package -n libavdevice%{?flavor}
Summary: Special devices muxing/demuxing library Summary: Special devices muxing/demuxing library
Conflicts: libavdevice-free
Requires: %{name}-libs%{_isa} = %{version}-%{release} Requires: %{name}-libs%{_isa} = %{version}-%{release}
%description -n libavdevice%{?flavor} %description -n libavdevice%{?flavor}
@ -207,6 +268,7 @@ devices, audio capture and playback etc.
%package devel %package devel
Summary: Development package for %{name} Summary: Development package for %{name}
Conflicts: %{name}-free-devel
Requires: %{name}-libs%{_isa} = %{version}-%{release} Requires: %{name}-libs%{_isa} = %{version}-%{release}
Requires: libavdevice%{?flavor}%{_isa} = %{version}-%{release} Requires: libavdevice%{?flavor}%{_isa} = %{version}-%{release}
Requires: pkgconfig Requires: pkgconfig
@ -218,6 +280,18 @@ VCR. It can encode in real time in many formats including MPEG1 audio
and video, MPEG4, h263, ac3, asf, avi, real, mjpeg, and flash. and video, MPEG4, h263, ac3, asf, avi, real, mjpeg, and flash.
This package contains development files for %{name} This package contains development files for %{name}
%if %{with libavcodec_freeworld}
%package -n libavcodec-freeworld
Summary: Freeworld libavcodec to complement the distro counterparts
# Supplements doesn't work well yet - we can rely on comps for now
#Supplements: libavcodec-free >= %%{version}
Conflicts: libavcodec-free < %{version}
%description -n libavcodec-freeworld
Freeworld libavcodec to complement the distro counterparts
%endif
# Don't use the %%configure macro as this is not an autotool script # Don't use the %%configure macro as this is not an autotool script
%global ff_configure \ %global ff_configure \
./configure \\\ ./configure \\\
@ -231,7 +305,7 @@ This package contains development files for %{name}
--arch=%{_target_cpu} \\\ --arch=%{_target_cpu} \\\
--optflags="%{optflags}" \\\ --optflags="%{optflags}" \\\
--extra-ldflags="%{?__global_ldflags} %{?cuda_ldflags} %{?libnpp_ldlags}" \\\ --extra-ldflags="%{?__global_ldflags} %{?cuda_ldflags} %{?libnpp_ldlags}" \\\
--extra-cflags="%{?cuda_cflags} %{?libnpp_cflags}" \\\ --extra-cflags="%{?cuda_cflags} %{?libnpp_cflags} -I%{_includedir}/rav1e" \\\
%{?flavor:--disable-manpages} \\\ %{?flavor:--disable-manpages} \\\
%{?progs_suffix:--progs-suffix=%{progs_suffix}} \\\ %{?progs_suffix:--progs-suffix=%{progs_suffix}} \\\
%{?build_suffix:--build-suffix=%{build_suffix}} \\\ %{?build_suffix:--build-suffix=%{build_suffix}} \\\
@ -251,7 +325,7 @@ This package contains development files for %{name}
%{!?_without_bluray:--enable-libbluray} \\\ %{!?_without_bluray:--enable-libbluray} \\\
%{?_with_bs2b:--enable-libbs2b} \\\ %{?_with_bs2b:--enable-libbs2b} \\\
%{?_with_caca:--enable-libcaca} \\\ %{?_with_caca:--enable-libcaca} \\\
%{?_with_cuda:--enable-cuda-sdk --enable-nonfree} \\\ %{?_with_cuda_nvcc:--enable-cuda-nvcc --enable-nonfree} \\\
%{?_with_cuvid:--enable-cuvid --enable-nonfree} \\\ %{?_with_cuvid:--enable-cuvid --enable-nonfree} \\\
%{!?_without_cdio:--enable-libcdio} \\\ %{!?_without_cdio:--enable-libcdio} \\\
%{?_with_ieee1394:--enable-libdc1394 --enable-libiec61883} \\\ %{?_with_ieee1394:--enable-libdc1394 --enable-libiec61883} \\\
@ -260,13 +334,16 @@ This package contains development files for %{name}
%{?_with_fdk_aac:--enable-libfdk-aac --enable-nonfree} \\\ %{?_with_fdk_aac:--enable-libfdk-aac --enable-nonfree} \\\
%{?_with_flite:--enable-libflite} \\\ %{?_with_flite:--enable-libflite} \\\
%{!?_without_jack:--enable-libjack} \\\ %{!?_without_jack:--enable-libjack} \\\
%{!?_without_jxl:--enable-libjxl} \\\
--enable-libfreetype \\\ --enable-libfreetype \\\
%{!?_without_fribidi:--enable-libfribidi} \\\ %{!?_without_fribidi:--enable-libfribidi} \\\
%{?_with_gme:--enable-libgme} \\\ %{?_with_gme:--enable-libgme} \\\
--enable-libgsm \\\ --enable-libgsm \\\
%{?_with_ilbc:--enable-libilbc} \\\ %{?_with_ilbc:--enable-libilbc} \\\
%{!?_without_lensfun:--enable-liblensfun} \\\
%{?_with_libnpp:--enable-libnpp --enable-nonfree} \\\ %{?_with_libnpp:--enable-libnpp --enable-nonfree} \\\
--enable-libmp3lame \\\ --enable-libmp3lame \\\
--enable-libmysofa \\\
%{?_with_netcdf:--enable-netcdf} \\\ %{?_with_netcdf:--enable-netcdf} \\\
%{?_with_mmal:--enable-mmal} \\\ %{?_with_mmal:--enable-mmal} \\\
%{!?_without_nvenc:--enable-nvenc} \\\ %{!?_without_nvenc:--enable-nvenc} \\\
@ -276,34 +353,44 @@ This package contains development files for %{name}
%{!?_without_opencl:--enable-opencl} \\\ %{!?_without_opencl:--enable-opencl} \\\
%{?_with_opencv:--enable-libopencv} \\\ %{?_with_opencv:--enable-libopencv} \\\
%{!?_without_opengl:--enable-opengl} \\\ %{!?_without_opengl:--enable-opengl} \\\
%{?_with_openh264:--enable-libopenh264} \\\
--enable-libopenjpeg \\\ --enable-libopenjpeg \\\
--enable-libopenmpt \\\
%{!?_without_opus:--enable-libopus} \\\ %{!?_without_opus:--enable-libopus} \\\
%{!?_without_pulse:--enable-libpulse} \\\ %{!?_without_pulse:--enable-libpulse} \\\
%{?_with_placebo:--enable-libplacebo} \\\
--enable-librsvg \\\ --enable-librsvg \\\
%{?_with_rav1e:--enable-librav1e} \\\
%{?_with_rtmp:--enable-librtmp} \\\ %{?_with_rtmp:--enable-librtmp} \\\
%{?_with_rubberband:--enable-librubberband} \\\ %{!?_without_rubberband:--enable-librubberband} \\\
%{?_with_smb:--enable-libsmbclient} \\\ %{?_with_smb:--enable-libsmbclient --enable-version3} \\\
%{?_with_snappy:--enable-libsnappy} \\\ %{?_with_snappy:--enable-libsnappy} \\\
--enable-libsoxr \\\ --enable-libsoxr \\\
--enable-libspeex \\\ --enable-libspeex \\\
--enable-libsrt \\\
--enable-libssh \\\ --enable-libssh \\\
%{?_with_svtav1:--enable-libsvtav1} \\\
%{?_with_tesseract:--enable-libtesseract} \\\ %{?_with_tesseract:--enable-libtesseract} \\\
--enable-libtheora \\\ --enable-libtheora \\\
%{?_with_twolame:--enable-libtwolame} \\\ %{?_with_twolame:--enable-libtwolame} \\\
--enable-libvorbis \\\ --enable-libvorbis \\\
--enable-libv4l2 \\\ --enable-libv4l2 \\\
%{!?_without_vidstab:--enable-libvidstab} \\\ %{!?_without_vidstab:--enable-libvidstab} \\\
%{?_with_vmaf:--enable-libvmaf} \\\ %{?_with_vmaf:--enable-libvmaf --enable-version3} \\\
%{?_with_vapoursynth:--enable-vapoursynth} \\\
%{!?_without_vpx:--enable-libvpx} \\\ %{!?_without_vpx:--enable-libvpx} \\\
%{!?_without_vulkan:--enable-vulkan --enable-libshaderc} \\\
%{?_with_webp:--enable-libwebp} \\\ %{?_with_webp:--enable-libwebp} \\\
%{!?_without_x264:--enable-libx264} \\\ %{!?_without_x264:--enable-libx264} \\\
%{!?_without_x265:--enable-libx265} \\\ %{!?_without_x265:--enable-libx265} \\\
%{!?_without_xvid:--enable-libxvid} \\\ %{!?_without_xvid:--enable-libxvid} \\\
--enable-libzimg \\\ --enable-libxml2 \\\
%{!?_without_zimg:--enable-libzimg} \\\
%{?_with_zmq:--enable-libzmq} \\\ %{?_with_zmq:--enable-libzmq} \\\
%{!?_without_zvbi:--enable-libzvbi} \\\ %{!?_without_zvbi:--enable-libzvbi} \\\
%{!?_without_lv2:--enable-lv2} \\\
--enable-avfilter \\\ --enable-avfilter \\\
--enable-avresample \\\ --enable-libmodplug \\\
--enable-postproc \\\ --enable-postproc \\\
--enable-pthreads \\\ --enable-pthreads \\\
--disable-static \\\ --disable-static \\\
@ -315,12 +402,12 @@ This package contains development files for %{name}
%prep %prep
%if 0%{?date} %if 0%{?date}
%setup -q -n ffmpeg-%{?branch}%{date} %autosetup -p1 -n ffmpeg-%{?branch}%{date}
echo "git-snapshot-%{?branch}%{date}-rpmfusion" > VERSION echo "git-snapshot-%{?branch}%{date}-rpmfusion" > VERSION
%else %else
%setup -q -n ffmpeg-%{version} %{gpgverify} --keyring='%{SOURCE2}' --signature='%{SOURCE1}' --data='%{SOURCE0}'
%autosetup -p1 -n ffmpeg-%{version}
%endif %endif
%patch0 -p1
# fix -O3 -g in host_cflags # fix -O3 -g in host_cflags
sed -i "s|check_host_cflags -O3|check_host_cflags %{optflags}|" configure sed -i "s|check_host_cflags -O3|check_host_cflags %{optflags}|" configure
mkdir -p _doc/examples mkdir -p _doc/examples
@ -334,12 +421,13 @@ cp -pr doc/examples/{*.c,Makefile,README} _doc/examples/
--disable-doc \ --disable-doc \
--disable-ffmpeg --disable-ffplay --disable-ffprobe \ --disable-ffmpeg --disable-ffplay --disable-ffprobe \
%endif %endif
%ifnarch %{ix86}
--enable-lto \
%endif
%ifarch %{ix86} %ifarch %{ix86}
--cpu=%{_target_cpu} \ --cpu=%{_target_cpu} \
%endif %endif
%ifarch %{ix86} x86_64 %{?_with_mfx:--enable-libmfx} \
%{!?_without_mfx:--enable-libmfx} \
%endif
%ifarch %{ix86} x86_64 %{power64} %ifarch %{ix86} x86_64 %{power64}
--enable-runtime-cpudetect \ --enable-runtime-cpudetect \
%endif %endif
@ -387,6 +475,17 @@ rm -r %{buildroot}%{_datadir}/%{name}/examples
install -pm755 tools/qt-faststart %{buildroot}%{_bindir} install -pm755 tools/qt-faststart %{buildroot}%{_bindir}
%endif %endif
%if %{with libavcodec_freeworld}
# Install the libavcodec freeworld counterpart
mkdir -p %{buildroot}%{_sysconfdir}/ld.so.conf.d/
mkdir -p %{buildroot}%{_libdir}/%{name}
echo -e "%{_libdir}/%{name}\n" > %{buildroot}%{_sysconfdir}/ld.so.conf.d/%{name}-%{_lib}.conf
cp -pa %{buildroot}%{_libdir}/libavcodec.so.* \
%{buildroot}%{_libdir}/%{name}
# Strip to prevent debuginfo duplication
strip %{buildroot}%{_libdir}/%{name}/libavcodec.so.*
%endif
%ldconfig_scriptlets libs %ldconfig_scriptlets libs
%ldconfig_scriptlets -n libavdevice%{?flavor} %ldconfig_scriptlets -n libavdevice%{?flavor}
@ -420,13 +519,322 @@ install -pm755 tools/qt-faststart %{buildroot}%{_bindir}
%files devel %files devel
%doc MAINTAINERS doc/APIchanges doc/*.txt %doc MAINTAINERS doc/APIchanges doc/*.txt
%doc _doc/examples %doc _doc/examples
%doc %{_docdir}/%{name}/*.html %doc %{_docdir}/%{name}/*.{css,html}
%{_includedir}/%{name} %{_includedir}/%{name}
%{_libdir}/pkgconfig/lib*.pc %{_libdir}/pkgconfig/lib*.pc
%{_libdir}/lib*.so %{_libdir}/lib*.so
%if %{with libavcodec_freeworld}
%files -n libavcodec-freeworld
%{_sysconfdir}/ld.so.conf.d/%{name}-%{_lib}.conf
%{_libdir}/%{name}/libavcodec.so.*
%endif
%changelog %changelog
* Mon Aug 05 2024 Leigh Scott <leigh123linux@gmail.com> - 5.1.6-1
- Update to 5.1.6
* Sun Jun 16 2024 Leigh Scott <leigh123linux@gmail.com> - 5.1.5-1
- Update to 5.1.5
* Wed Nov 15 2023 Nicolas Chauvet <kwizart@gmail.com> - 5.1.4-1
- Update to 5.1.4
* Sun May 14 2023 Leigh Scott <leigh123linux@gmail.com> - 5.1.3-3
- fedora cisco repo isn't multiarch
* Fri May 12 2023 Leigh Scott <leigh123linux@gmail.com> - 5.1.3-2
- Enable openh264 for fedora
* Fri Mar 31 2023 Leigh Scott <leigh123linux@gmail.com> - 5.1.3-1
- Update to 5.1.3 release
- verify upstream source signature
* Sun Jan 08 2023 Leigh Scott <leigh123linux@gmail.com> - 5.1.2-9
- Enable libplacebo (rfbz#6549)
* Fri Dec 23 2022 Nicolas Chauvet <kwizart@gmail.com> - 5.1.2-8
- rebuild
* Mon Nov 21 2022 Nicolas Chauvet <kwizart@gmail.com> - 5.1.2-6
- Enable libjxl
- Enable svt-av1 on el9 x86_64
* Thu Nov 17 2022 Nicolas Chauvet <kwizart@gmail.com> - 5.1.2-5
- Rework el9 cases
* Mon Oct 17 2022 Leigh Scott <leigh123linux@gmail.com> - 5.1.2-3
- Disable rtmp because of rfbz: 6441 & 2399
* Wed Sep 28 2022 Nicolas Chauvet <kwizart@gmail.com> - 5.1.2-2
- Implement libavcodec-freeworld
* Sun Sep 25 2022 Leigh Scott <leigh123linux@gmail.com> - 5.1.2-1
- Update to 5.1.2 release
* Mon Sep 05 2022 Leigh Scott <leigh123linux@gmail.com> - 5.1.1-3
- Switch from glslang to shaderc
* Sun Sep 04 2022 Leigh Scott <leigh123linux@gmail.com> - 5.1.1-2
- move libs to a subdirectory to allow parallel installation with ffmpeg-free
* Thu Sep 01 2022 Leigh Scott <leigh123linux@gmail.com> - 5.1.1-1
- Update to 5.1.1 release
* Sun Aug 07 2022 RPM Fusion Release Engineering <sergiomb@rpmfusion.org> - 5.1-2
- Rebuilt for https://fedoraproject.org/wiki/Fedora_37_Mass_Rebuild and ffmpeg
5.1
* Fri Jul 22 2022 Leigh Scott <leigh123linux@gmail.com> - 5.1-1
- Update to 5.1 release
* Mon Jul 11 2022 Leigh Scott <leigh123linux@gmail.com> - 5.0.1-10
- rebuilt
* Thu Jun 23 2022 Robert-André Mauchin <zebob.m@gmail.com> - 5.0.1-9
- Rebuilt for new AOM, dav1d, rav1e and svt-av1
* Fri Jun 17 2022 Nicolas Chauvet <kwizart@gmail.com> - 5.0.1-8
- Rebuilt
* Sun Jun 12 2022 Sérgio Basto <sergio@serjux.com> - 5.0.1-7
- unbootstrap
* Sun Jun 12 2022 Sérgio Basto <sergio@serjux.com> - 5.0.1-6
- Mass rebuild for x264-0.164
- Bootstrap build without chromaprint
* Fri May 27 2022 Leigh Scott <leigh123linux@gmail.com> - 5.0.1-5
- rebuilt
* Fri May 27 2022 Leigh Scott <leigh123linux@gmail.com> - 5.0.1-4
- rebuilt
* Fri Apr 29 2022 Leigh Scott <leigh123linux@gmail.com> - 5.0.1-3
- Fix zimg
* Tue Apr 05 2022 Leigh Scott <leigh123linux@gmail.com> - 5.0.1-2
- Add conflicts
* Tue Apr 05 2022 Leigh Scott <leigh123linux@gmail.com> - 5.0.1-1
- Update to 5.0.1 release
* Sun Mar 13 2022 Leigh Scott <leigh123linux@gmail.com> - 5.0-7
- Rebuilt
* Fri Mar 11 2022 Leigh Scott <leigh123linux@gmail.com> - 5.0-6
- Enable AMF support
* Thu Mar 03 2022 Leigh Scott <leigh123linux@gmail.com> - 5.0-5
- Rebuild
* Sat Feb 26 2022 Leigh Scott <leigh123linux@gmail.com> - 5.0-4
- Drop patch for chrome
* Fri Feb 11 2022 Leigh Scott <leigh123linux@gmail.com> - 5.0-3
- Add patch for chrome
* Fri Feb 04 2022 Leigh Scott <leigh123linux@gmail.com> - 5.0-2
- rebuilt
* Sat Jan 15 2022 Leigh Scott <leigh123linux@gmail.com> - 5.0-1
- Update to 5.0 release
* Tue Jan 04 2022 Leigh Scott <leigh123linux@gmail.com> - 5.0-0.1.20220104git311ea9c
- Update to 5.0-0.1.20220104git311ea9c
* Sun Dec 19 2021 Leigh Scott <leigh123linux@gmail.com> - 4.5-0.3.20211108git45dc668
- rebuilt
* Thu Dec 16 2021 Nicolas Chauvet <kwizart@gmail.com> - 4.5-0.2.20211108git45dc668
- Rebuilt
* Mon Nov 08 2021 Leigh Scott <leigh123linux@gmail.com> - 4.5-0.1.20211108git45dc668
- Update to 4.5-0.1.20211108git45dc668
* Mon Oct 25 2021 Leigh Scott <leigh123linux@gmail.com> - 4.4.1-1
- Update to 4.4.1 release
* Mon Aug 02 2021 RPM Fusion Release Engineering <leigh123linux@gmail.com> - 4.4-7
- Rebuilt for https://fedoraproject.org/wiki/Fedora_35_Mass_Rebuild
* Wed Jul 28 2021 Leigh Scott <leigh123linux@gmail.com> - 4.4-6
- Enable libwebp support
* Sat Jul 10 2021 Sérgio Basto <sergio@serjux.com> - 4.4-5
- Mass rebuild for x264-0.163
* Sun Jun 13 2021 Leigh Scott <leigh123linux@gmail.com> - 4.4-4
- Rebuild for aom bump
* Mon May 10 2021 Leigh Scott <leigh123linux@gmail.com> - 4.4-3
- rebuilt
* Wed Apr 14 2021 Leigh Scott <leigh123linux@gmail.com> - 4.4-2
- Rebuild for new x265
* Fri Apr 09 2021 Leigh Scott <leigh123linux@gmail.com> - 4.4-1
- Update to 4.4 release
* Thu Apr 08 2021 Leigh Scott <leigh123linux@gmail.com> - 4.4-0.8.20210408git25e794a
- Update to 4.4-0.8.20210408git25e794a
* Wed Mar 24 2021 Leigh Scott <leigh123linux@gmail.com> - 4.4-0.7.20210323git0be265e
- rebuilt
* Tue Mar 23 2021 Leigh Scott <leigh123linux@gmail.com> - 4.4-0.6.20210323git0be265e
- Update to 4.4-0.6.20210323git0be265e
- Switch to release/4.4 branch
* Fri Mar 12 2021 Leigh Scott <leigh123linux@gmail.com> - 4.4-0.5.20210312git5136726
- Update to 20210312git5136726
* Thu Feb 18 2021 Leigh Scott <leigh123linux@gmail.com> - 4.4-0.4.20210218gitc2bf1dc
- Update to 20210218gitc2bf1dc
* Wed Feb 03 2021 RPM Fusion Release Engineering <leigh123linux@gmail.com> - 4.4-0.3.20210125gitc7016e3
- Rebuilt for https://fedoraproject.org/wiki/Fedora_34_Mass_Rebuild
* Mon Jan 25 2021 Leigh Scott <leigh123linux@gmail.com> - 4.4-0.2.20210125gitc7016e3
- Update to 20210125gitc7016e3
* Thu Dec 31 2020 Leigh Scott <leigh123linux@gmail.com> - 4.4-0.1.20201231git477dd2d
- Update to 20201231git477dd2d
* Thu Dec 24 2020 Leigh Scott <leigh123linux@gmail.com> - 4.3.1-15
- Enable dash demuxer (rfbz#5876)
- Enable lv2 support (rfbz#5863)
* Mon Dec 14 2020 Leigh Scott <leigh123linux@gmail.com> - 4.3.1-14
- Actually do the dav1d rebuild
* Mon Dec 14 2020 Robert-André Mauchin <zebob.m@gmail.com> - 4.3.1-13
- Rebuild for dav1d SONAME bump
* Fri Nov 27 2020 Sérgio Basto <sergio@serjux.com> - 4.3.1-12
- Mass rebuild for x264-0.161
* Sat Oct 10 2020 Leigh Scott <leigh123linux@gmail.com> - 4.3.1-11
- Revert last commit
* Sat Oct 10 2020 Leigh Scott <leigh123linux@gmail.com> - 4.3.1-10
- Add VP9 10/12 Bit support for VDPAU
* Tue Aug 18 2020 Leigh Scott <leigh123linux@gmail.com> - 4.3.1-9
- Disable vulkan on i686
* Mon Aug 17 2020 RPM Fusion Release Engineering <leigh123linux@gmail.com> - 4.3.1-8
- Rebuilt for https://fedoraproject.org/wiki/Fedora_33_Mass_Rebuild
* Sun Aug 16 2020 Leigh Scott <leigh123linux@gmail.com> - 4.3.1-7
- Disable rav1e support as rust packaging is rawhide only
* Sun Aug 09 2020 Leigh Scott <leigh123linux@gmail.com> - 4.3.1-6
- Enable LTO for x86
- Add glslang patches and bump version for build requires
- Add upstream patches to suppress asm warnings
* Mon Aug 03 2020 Leigh Scott <leigh123linux@gmail.com> - 4.3.1-5
- Disable LTO for x86
* Mon Aug 03 2020 Leigh Scott <leigh123linux@gmail.com> - 4.3.1-4
- Add patch to fix x86_64 LTO build issue
* Wed Jul 15 2020 Leigh Scott <leigh123linux@gmail.com> - 4.3.1-3
- Enabled libopenmpt
* Tue Jul 14 2020 Leigh Scott <leigh123linux@gmail.com> - 4.3.1-2
- Enable libmysofa
* Sat Jul 11 2020 Leigh Scott <leigh123linux@gmail.com> - 4.3.1-1
- Update to 4.3.1 release
* Wed Jul 08 2020 Leigh Scott <leigh123linux@gmail.com> - 4.3-5
- Rebuilt
* Tue Jul 07 2020 Sérgio Basto <sergio@serjux.com> - 4.3-4
- Mass rebuild for x264
* Wed Jul 01 2020 Leigh Scott <leigh123linux@gmail.com> - 4.3-3
- Rebuilt
* Wed Jun 24 2020 Leigh Scott <leigh123linux@gmail.com> - 4.3-2
- Enable vapoursynth
* Mon Jun 15 2020 Leigh Scott <leigh123linux@gmail.com> - 4.3-1
- Update to 4.3 release
* Sat Jun 06 2020 Leigh Scott <leigh123linux@gmail.com> - 4.3-0.23.20200606git
- Update to 20200606git
* Sun May 31 2020 Leigh Scott <leigh123linux@gmail.com> - 4.3-0.22.20200531git
- Update to 20200531git
* Mon May 25 2020 Leigh Scott <leigh123linux@gmail.com> - 4.3-0.21.20200524git
- Enable lensfun
* Sun May 24 2020 Leigh Scott <leigh123linux@gmail.com> - 4.3-0.20.20200524git
- Rebuild for dav1d SONAME bump
* Sat May 23 2020 Leigh Scott <leigh123linux@gmail.com> - 4.3-0.19.20200523git
- Update to 20200523git
* Sat May 16 2020 Leigh Scott <leigh123linux@gmail.com> - 4.3-0.18.20200516git
- Update to 20200516git
* Fri May 08 2020 Leigh Scott <leigh123linux@gmail.com> - 4.3-0.17.20200508git
- Update to 20200508git
* Fri May 01 2020 Leigh Scott <leigh123linux@gmail.com> - 4.3-0.16.20200501git
- Update to 20200501git
* Thu Apr 23 2020 Leigh Scott <leigh123linux@gmail.com> - 4.3-0.15.20200423git
- Update to 20200423git
- Enable nvdec for aarch64
* Sun Apr 19 2020 Leigh Scott <leigh123linux@gmail.com> - 4.3-0.14.20200419git
- Update to 20200419git
* Sun Apr 12 2020 Leigh Scott <leigh123linux@gmail.com> - 4.3-0.13.20200412git
- Update to 20200412git
* Wed Apr 08 2020 Nicolas Chauvet <kwizart@gmail.com> - 4.3-0.12.20200401git
- Enable srt
* Wed Apr 01 2020 Leigh Scott <leigh123linux@gmail.com> - 4.3-0.11.20200401git
- Update snapshot, fixes rfbz#5537
* Wed Apr 01 2020 leigh123linux <leigh123linux@googlemail.com> - 4.3-0.10.20200401git
- Update to 20200401git
* Sat Mar 21 2020 Leigh Scott <leigh123linux@gmail.com> - 4.3-0.9.20200321git
- Update to 20200321git
* Fri Mar 13 2020 leigh123linux <leigh123linux@googlemail.com> - 4.3-0.8.20200313git
- Update to 20200313git
* Wed Mar 11 2020 Leigh Scott <leigh123linux@gmail.com> - 4.3-0.7.20200305git
- Rebuilt for i686
* Mon Mar 09 2020 leigh123linux <leigh123linux@googlemail.com> - 4.3-0.6.20200305git
- Enable rav1e support
* Thu Mar 05 2020 Leigh Scott <leigh123linux@gmail.com> - 4.3-0.5.20200305git
- Update to 20200305git
* Tue Feb 25 2020 Leigh Scott <leigh123linux@gmail.com> - 4.3-0.4.20200225git
- Update to 20200225git
* Sun Feb 23 2020 Leigh Scott <leigh123linux@gmail.com> - 4.3-0.3.20200222git
- Rebuild for x265
* Sun Feb 23 2020 Leigh Scott <leigh123linux@gmail.com> - 4.3-0.2.20200222git
- Enable vulkan support
* Sat Feb 22 2020 Leigh Scott <leigh123linux@googlemail.com> - 4.3-0.1.20200222git
- Update to 20200222git
* Tue Feb 04 2020 RPM Fusion Release Engineering <leigh123linux@gmail.com> - 4.2.2-2 * Tue Feb 04 2020 RPM Fusion Release Engineering <leigh123linux@gmail.com> - 4.2.2-2
- Rebuilt for https://fedoraproject.org/wiki/Fedora_32_Mass_Rebuild - Rebuilt for https://fedoraproject.org/wiki/Fedora_32_Mass_Rebuild

@ -1,21 +0,0 @@
--- a/libswscale/ppc/swscale_vsx.c
+++ b/libswscale/ppc/swscale_vsx.c
@@ -154,7 +154,7 @@
}
}
-static void yuv2plane1_nbps_vsx(const int16_t *src, uint16_t *dest, int dstW,
+static av_always_inline void yuv2plane1_nbps_vsx(const int16_t *src, uint16_t *dest, int dstW,
int big_endian, int output_bits)
{
const int dst_u = -(uintptr_t)dest & 7;
@@ -273,7 +273,7 @@
}
}
-static void yuv2plane1_16_vsx(const int32_t *src, uint16_t *dest, int dstW,
+static av_always_inline void yuv2plane1_16_vsx(const int32_t *src, uint16_t *dest, int dstW,
int big_endian, int output_bits)
{
const int dst_u = -(uintptr_t)dest & 7;

@ -1 +1,2 @@
SHA512 (ffmpeg-4.2.2.tar.xz) = 381cd6732fa699eb89000621cf34256920596ed1f9de3c2194dbad35fdf2165269eb7d3a147a0eb75dc18fbb6d601382b5801750e09fc63547766842f84208e3 SHA512 (ffmpeg-5.1.6.tar.xz) = bae42c4ff1e779da02f3ccc21b8361f6dbe7e0b6e4fdd4aa0253c47a14d44fa25e8a850b21e7e3c5a95712432e6c93ad430621c167134afb8dd98be1e78979bb
SHA512 (ffmpeg-5.1.6.tar.xz.asc) = 954111aeea2da012548279b124c6fc17776edc4b61a6c3153f7279ce5f0fe9346d91ac538c59dac9c4b1b059f26594ff2eb6f775ad87dbe9c347c0188e201399

Loading…
Cancel
Save