summaryrefslogtreecommitdiff
Commit message (Collapse)AuthorAgeFilesLines
* media-video/ffmpeg: backport (more) svt-av1 fixesSam James2023-06-071-0/+67
| | | | | | | | Thanks to Kostadin for reporting & bisecting and thanks to BtbN for backporting the fix upstream for us on the 5.1 branch. Closes: https://bugs.gentoo.org/907953 Signed-off-by: Sam James <sam@gentoo.org>
* media-video/ffmpeg: fix build w/ svt-av1-1.5.0Sam James2023-05-312-0/+125
| | | | | | Closes: https://bugs.gentoo.org/907478 Closes: https://bugs.gentoo.org/907493 Signed-off-by: Sam James <sam@gentoo.org>
* media-video/ffmpeg: fix -Wint-conversion for 4.4.4Sam James2023-04-231-0/+30
| | | | | Closes: https://bugs.gentoo.org/903752 Signed-off-by: Sam James <sam@gentoo.org>
* media-video/ffmpeg: fix build on register-starved x86Sam James2023-03-152-0/+49
| | | | | | | | | | | | | | | | | | | | | | Newer compilers may optimise such that < 7 registers are free on 32-bit x86 and then we get an "invalid asm" error. This is https://bugs.gentoo.org/901099 and https://trac.ffmpeg.org/ticket/8903. Making matters worse, GCC sometimes hangs on invalid asm, so this also mitigates a hang with e.g. -O3 -march=znver1. See https://bugs.gentoo.org/900937 and https://gcc.gnu.org/bugzilla/show_bug.cgi?id=109137. In future, we may want to adjust the definition of HAVE_7REGS to just exclude 32-bit x86, but that's a big sledgehammer, so let's avoid it for now until we have a reply on the upstream ffmpeg bug. Thanks to Ninpo. Bug: https://trac.ffmpeg.org/ticket/8903 Bug: https://gcc.gnu.org/bugzilla/show_bug.cgi?id=109137 Bug: https://bugs.gentoo.org/900937 Closes: https://bugs.gentoo.org/901099 Signed-off-by: Sam James <sam@gentoo.org>
* media-video/ffmpeg: Fix build failureCraig Andrews2023-03-141-0/+29
| | | | | | | | DECLARE_ALIGNED has been moved to mem_internal.h. Bug: https://trac.ffmpeg.org/ticket/10225 Closes: https://bugs.gentoo.org/900951 Signed-off-by: Craig Andrews <candrews@gentoo.org>
* media-video/ffmpeg: fix build when USE=vulkanCraig Andrews2023-02-131-0/+33
| | | | | | | Closes: https://bugs.gentoo.org/894122 Signed-off-by: Craig Andrews <candrews@gentoo.org> Closes: https://github.com/gentoo/gentoo/pull/29571 Signed-off-by: Craig Andrews <candrews@gentoo.org>
* media-video/ffmpeg: remove unused patchMichael Mair-Keimberger2022-12-261-25/+0
| | | | | | Signed-off-by: Michael Mair-Keimberger <mmk@levelnine.at> Closes: https://github.com/gentoo/gentoo/pull/28810 Signed-off-by: Sam James <sam@gentoo.org>
* media-video/ffmpeg: remove unused patchMichael Mair-Keimberger2022-10-151-25/+0
| | | | | | Signed-off-by: Michael Mair-Keimberger <mmk@levelnine.at> Closes: https://github.com/gentoo/gentoo/pull/27791 Signed-off-by: Conrad Kostecki <conikost@gentoo.org>
* media-video/ffmpeg: add 4.4.3Sam James2022-10-101-0/+46
| | | | | | | | | | | | | * Drop -latomic workaround added for bug 782811, bug 790590. Fixed upstream in https://git.ffmpeg.org/gitweb/ffmpeg.git/commit/78062c6d71324fa89708211213b4267d2a57b806. * Fix UB in ff_seek_frame_binary-crash causing a crash with >= Clang 14. Might be the issue hit in bug 858806 (seems very likely). Bug: https://bugs.gentoo.org/782811 Bug: https://bugs.gentoo.org/790590 Closes: https://bugs.gentoo.org/858806 Signed-off-by: Sam James <sam@gentoo.org>
* media-video/ffmpeg: add 4.2.7Sam James2022-09-031-0/+26
| | | | | | | | | | | Fixes a bunch of CVEs that we've had fixed in newer versions for a while, but until we can clean up 4.2.x, we may as well bump to the latest in that series... Bug: https://bugs.gentoo.org/842267 Bug: https://bugs.gentoo.org/795696 Bug: https://bugs.gentoo.org/781146 Signed-off-by: Sam James <sam@gentoo.org>
* media-video/ffmpeg: fix configure with >=media-libs/libsdl2-2.24.0Sam James2022-08-212-0/+50
| | | | | | ffmpeg needed adaptation to the new libsdl2 versioning scheme. Signed-off-by: Sam James <sam@gentoo.org>
* media-video/ffmpeg: Drop old versionsMatt Turner2022-07-202-45/+0
| | | | Signed-off-by: Matt Turner <mattst88@gentoo.org>
* Revert "media-video/ffmpeg: Drop old versions"Matt Turner2022-07-202-0/+45
| | | | | | This reverts commit eeca71e786b6fdc384121c61019a13ff77be8f0f. Signed-off-by: Matt Turner <mattst88@gentoo.org>
* media-video/ffmpeg: Drop old versionsMatt Turner2022-07-202-45/+0
| | | | Signed-off-by: Matt Turner <mattst88@gentoo.org>
* media-video/ffmpeg: drop 4.3.1-r1, 4.4-r1, 5.0-r3Sam James2022-04-171-52/+0
| | | | Signed-off-by: Sam James <sam@gentoo.org>
* media-video/ffmpeg: amf: add media-video/amdgpu-pro-amf as rdepAdel KARA SLIMANE2022-03-261-0/+1
| | | | | | | | | And change VK_ICD_FILENAMES env var so amf can be used more easily Closes: https://bugs.gentoo.org/834974 Signed-off-by: Adel KARA SLIMANE <adel.ks@zegrapher.com> Signed-off-by: Joonas Niilola <juippis@gentoo.org>
* media-video/ffmpeg: enable vmaf use flagAdel KARA SLIMANE2022-03-161-0/+13
| | | | | | | | To use Netflix' vmaf scoring algorithm Signed-off-by: Adel KARA SLIMANE <adel.ks@zegrapher.com> Closes: https://github.com/gentoo/gentoo/pull/23412 Signed-off-by: Sam James <sam@gentoo.org>
* media-video/ffmpeg: backport small GNU ranlib hardcoding fixAdrian Ratiu2022-03-161-0/+59
| | | | | | | | | | | | | | | | I've landed this fix in ffmpeg upstream and would like to backport it to Gentoo so the --ranlib="$(tc-getRANLIB) option set in the ebuilds has an effect, to be able to use the LLVM tool which is currently ignored. Because this is a small fix not impacting the majority of users who don't care about mixed LLVM/GNU tools usage, I don't think we nede to bump the ebuild revisons to cause rebuilds. Closes: https://bugs.gentoo.org/835419 Signed-off-by: Adrian Ratiu <adrian.ratiu@collabora.com> Closes: https://github.com/gentoo/gentoo/pull/24602 Signed-off-by: Sam James <sam@gentoo.org>
* media-video/ffmpeg: fix USE=srt with >=net-libs/srt-1.4.2Sam James2020-12-251-0/+52
| | | | | | Closes: https://bugs.gentoo.org/756859 Package-Manager: Portage-3.0.9, Repoman-3.0.2 Signed-off-by: Sam James <sam@gentoo.org>
* media-video/ffmpeg: fix ppc build for 4.3.1Sam James2020-10-071-0/+23
| | | | | | See: https://trac.ffmpeg.org/ticket/8750 Package-Manager: Portage-3.0.4, Repoman-3.0.1 Signed-off-by: Sam James <sam@gentoo.org>
* media-video/ffmpeg: security cleanup (drop <4.2.4)John Helmert III2020-07-272-110/+0
| | | | | | | | | | Bug: https://bugs.gentoo.org/711144 Bug: https://bugs.gentoo.org/718012 Bug: https://bugs.gentoo.org/719940 Bug: https://bugs.gentoo.org/727450 Package-Manager: Portage-3.0.0, Repoman-2.3.23 Signed-off-by: John Helmert III <jchelmert3@posteo.net> Signed-off-by: Sam James <sam@gentoo.org>
* media-video/ffmpeg: fix building without SSSE3Thomas Deutschmann2020-06-171-0/+22
| | | | | | Closes: https://bugs.gentoo.org/728566 Package-Manager: Portage-2.3.101, Repoman-2.3.22 Signed-off-by: Thomas Deutschmann <whissi@gentoo.org>
* media-video/ffmpeg: remove oldAlexis Ballier2019-09-023-321/+0
| | | | | Package-Manager: Portage-2.3.73, Repoman-2.3.17 Signed-off-by: Alexis Ballier <aballier@gentoo.org>
* media-video/ffmpeg: fix building with >=media-libs/fdk-aac-2Thomas Deutschmann2019-07-071-0/+74
| | | | | | Closes: https://bugs.gentoo.org/682890 Package-Manager: Portage-2.3.68, Repoman-2.3.16 Signed-off-by: Thomas Deutschmann <whissi@gentoo.org>
* media-video/ffmpeg: Remove oldAlexis Ballier2019-02-131-27/+0
| | | | | Package-Manager: Portage-2.3.60, Repoman-2.3.12 Signed-off-by: Alexis Ballier <aballier@gentoo.org>
* media-video/ffmpeg: Fix chromium-r1.patch to not link every timeJames Le Cuirot2018-12-021-6/+12
| | | | | Package-Manager: Portage-2.3.52, Repoman-2.3.12 Signed-off-by: James Le Cuirot <chewi@gentoo.org>
* media-video/ffmpeg: Fix building tools with vaapiCraig Andrews2018-11-151-0/+27
| | | | | | | | Patch from ffmpeg git master Closes: https://bugs.gentoo.org/670712 Package-Manager: Portage-2.3.51, Repoman-2.3.12 Signed-off-by: Craig Andrews <candrews@gentoo.org>
* media-video/ffmpeg: bump to 3.4.4Alexis Ballier2018-07-191-29/+0
| | | | Package-Manager: Portage-2.3.43, Repoman-2.3.10
* media-video/ffmpeg: bp us patch to fix mpv crash regressionAlexis Ballier2018-07-171-0/+29
| | | | | Closes: https://bugs.gentoo.org/661220 Package-Manager: Portage-2.3.43, Repoman-2.3.10
* media-video/ffmpeg: Revert chromium.patch change and add -r1 for 9999James Le Cuirot2018-01-182-1/+37
| | | | | | | | | | My change to fix 9999 in 31be70b4de8dc1f3627765a4a35a4b5cf90a170f broke all versions when ffmpeg is not already installed. I have reverted this change for earlier versions and introduced a new patch with a different approach for 9999. Closes: https://bugs.gentoo.org/643750 Package-Manager: Portage-2.3.19, Repoman-2.3.6
* media-video/ffmpeg: Fix chromium build in 9999James Le Cuirot2017-12-191-1/+1
| | | | | | | | Some libraries were missing from the final link. This just involved referencing FF_EXTRALIBS instead of FFEXTRALIBS. Also tested with 3.3.3. Package-Manager: Portage-2.3.19, Repoman-2.3.6
* media-video/ffmpeg: backport upstream patch to build with openjpeg 2.3; by ↵Alexis Ballier2017-10-081-0/+109
| | | | | | | Andreas Sturmlechner. Close: https://bugs.gentoo.org/633576 Package-Manager: Portage-2.3.11, Repoman-2.3.3
* media-video/ffmpeg: Add chromium include manually for easier patchingJames Le Cuirot2017-08-271-12/+3
| | | | | | | This makes the patch apply against any version. The include line will work just as well at the end of the Makefile. Package-Manager: Portage-2.3.8, Repoman-2.3.2
* media-video/ffmpeg: Allow building libffmpeg for Chromium via USE flagJames Le Cuirot2017-08-271-0/+45
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Chromium is built from source and therefore can be built against the system ffmpeg. Google Chrome already ships with support for proprietary codecs and has libffmpeg.so built in. Opera and Vivaldi, on the other hand, do not support proprietary codecs and actively encourage you to replace the libffmpeg.so they provide. Official instructions involve downloading the huge Chromium tarball and building tons of baggage that you don't actually need, despite the fact that libffmpeg.so is really just the main ffmpeg libraries combined. In order to build this, I felt it was worthwhile leveraging our existing feature-rich ffmpeg package rather than duplicating it or creating some poor imitation. This commit shows what little extra code is required. It would be possible to link to the regular libraries directly instead of buildling additional copies if it weren't for the fact that these browsers are usually built with -DFF_API_CONVERGENCE_DURATION=0, making the ABI incompatible, at least until libavcodec hits 59. That aside, all Chromium versions between 59 and 61 (maybe earlier?) use the 55.57.57 ffmpeg ABI found in the 3.x series. Having these browsers optionally RDEPEND on ffmpeg:0/55.57.57[chromium] should therefore not be a problem for the time being. They simply need to provide a symlink. I have tested this with current versions of vivaldi, vivaldi-snapshot, opera, opera-beta, and opera-developer. None were able to play videos on news.bbc.co.uk without Flash until swapping in this library. It has been noted that Vivaldi could potentially be built from source. I may explore this possibility but I believe this change is still useful, especially as some lack sufficient hardware to build these browsers from source. Package-Manager: Portage-2.3.6, Repoman-2.3.2
* media-video/ffmpeg: Backport upstream patches to build with openjpeg 2.2, ↵Alexis Ballier2017-08-262-0/+212
| | | | | | bugs #628302 and #627562 Package-Manager: Portage-2.3.8, Repoman-2.3.3
* media-video/ffmpeg: Bump to 3.2.3Alexis Ballier2017-02-071-24/+0
| | | | Package-Manager: Portage-2.3.3, Repoman-2.3.1
* media-video/ffmpeg: backport upstream patch to build with chromaprint 1.4.Alexis Ballier2016-12-241-0/+24
| | | | Package-Manager: Portage-2.3.3, Repoman-2.3.1
* media-video/ffmpeg: bump to 3.1.5Alexis Ballier2016-10-241-39/+0
| | | | Package-Manager: portage-2.3.2
* media-video/ffmpeg: add patch to build with latest openjpeg, bug #595318Alexis Ballier2016-09-291-0/+39
| | | | Package-Manager: portage-2.3.1
* media-video/ffmpeg: remove oldAlexis Ballier2016-02-011-36/+0
| | | | | Package-Manager: portage-2.2.27 Signed-off-by: Alexis Ballier <aballier@gentoo.org>
* media-video/ffmpeg: bump to 2.8.2 and backport upstream fix to build with ↵Alexis Ballier2015-11-121-0/+36
libvpx 1.5 Package-Manager: portage-2.2.24 Signed-off-by: Alexis Ballier <aballier@gentoo.org>