Commit graph

336 commits

Author SHA1 Message Date
Francesco Gazzetta f8311f3747
Merge pull request #242489 from fgaz/ffmpeg/riscv
ffmpeg: fix configure errors on native riscv
2023-08-01 14:14:57 +02:00
Felix Bühler 0a2745684e
Merge pull request #239624 from Stunkymonkey/use-optionalString-then
treewide: use optionalString instead of 'then ""'
2023-07-22 13:02:47 +02:00
Francesco Gazzetta 01693fd5e8 ffmpeg: fix configure errors on native riscv
Like #220327, this fixes the following errors:

ERROR: cuda requested, but not all dependencies are satisfied: ffnvcodec
ERROR: cuvid requested, but not all dependencies are satisfied: ffnvcodec
ERROR: nvenc requested, but not all dependencies are satisfied: ffnvcodec
2023-07-09 16:49:03 +02:00
Janik 8d716b0c36
Merge pull request #217087 from lopsided98/ffmpeg-cross-refs 2023-06-26 18:19:27 +02:00
Felix Buehler f3719756b5 treewide: use optionalString instead of 'then ""' 2023-06-24 20:19:19 +02:00
Atemu 82ce18ec64
Merge pull request #234635 from Atemu/ffmpeg-remove-withLTO
ffmpeg: remove withLTO option
2023-05-30 18:14:07 +02:00
Atemu c7b1d6b8d0 ffmpeg: remove withLTO option
It has been broken for a while, we shouldn't pretend that we support it.

Fixes https://github.com/NixOS/nixpkgs/issues/139168
2023-05-28 17:01:49 +02:00
Henri Rosten ea5c5d44db ffmpeg_4: 4.4.3 -> 4.4.4
Signed-off-by: Henri Rosten <henri.rosten@unikie.com>
2023-05-26 07:15:16 +03:00
Robert Scott 32f663d5f5 ffmpeg_4: add patch for svt-av1 1.5.0 compatibility 2023-05-01 19:09:11 +01:00
Robert Scott e03a6c1c1d ffmpeg_5: add patches for svt-av1 1.5.0 compatibility
from 6.0 branch
2023-05-01 19:09:11 +01:00
Atemu b332f78d35
Merge pull request #224730 from aviallon/feature/ffmpeg-add-tensorflow
ffmpeg: add tensorflow dnn backend support
2023-04-30 23:10:04 +02:00
Isabelle 4e7276cc60
ffmpeg: 5.1.2 -> 5.1.3 (#227846) 2023-04-26 17:53:27 +02:00
Antoine Viallon 43797d4b96
ffmpeg: don't enable tensorflow by default for full
Co-authored-by: Atemu <atemu.main@gmail.com>
2023-04-25 17:37:39 +02:00
Antoine Viallon e935fa1951
ffmpeg: add tensorflow dnn backend support 2023-04-05 00:26:36 +02:00
Justinas Stankevicius 59d2de73ed ffmpeg: add libplacebo 2023-04-02 17:58:40 +03:00
tilpner c6c2c7a293
ffmpeg_6: init at 6.0 2023-03-23 12:34:51 +01:00
Martin Weinelt da1a690688 Merge remote-tracking branch 'origin/master' into staging-next 2023-03-10 01:50:42 +01:00
misuzu d7867e8b8c ffmpeg: fix configure errors on native armv7l-linux
This fixes the following errors:

ERROR: cuda requested, but not all dependencies are satisfied: ffnvcodec
ERROR: cuvid requested, but not all dependencies are satisfied: ffnvcodec
ERROR: nvenc requested, but not all dependencies are satisfied: ffnvcodec
2023-03-09 17:05:53 +02:00
Vladimír Čunát 09768783f2
Merge #217044: ffmpeg: fix RUNPATH patching for OpenGL
...into staging
2023-03-02 09:02:57 +01:00
K900 2c1ff16299 ffmpeg-5: fix Vulkan builds
- add vulkan-headers as a dependency
- hack around ffmpeg using unstable VK_EXT names for extensions
- drive-by cleanup: remove unused inherit
2023-02-25 19:33:59 +03:00
Ben Wolsieffer 88e8156503 ffmpeg: remove references to build platform compiler
When cross-compiling, the build platform compiler ends up in the runtime
closure because it is included in the configure flags that get embedded in the
binaries. To fix this, add the compiler to the remove-references-to invocation.
2023-02-19 00:21:11 -05:00
GGG c83dc8d050 ffmpeg: fix RUNPATH patching
ffmpeg was having issues while trying to use the nvenc encodings due to
not finding libcuda.so.1

this was because addOpenGLRunpath was pointing to $out/lib instead of
using the placeholder path of the lib output

Co-authored-by: Mats <mats@mats.sh>
2023-02-18 21:23:16 -03:00
John Ericson 796313656c ffmpeg: Add meta.pkgConfigModules and test 2023-02-13 10:24:53 -05:00
Atemu e968d03321 ffmpeg_4: enable avresample again
As noted in
https://github.com/NixOS/nixpkgs/pull/211834#issuecomment-1417435991, removing
the deprecated avresample causes some packages to break. Keep avresample in
ffmpeg_4 only for now (it's removed in ffmpeg_5).
2023-02-07 13:47:29 +01:00
Atemu 4fc9f2e86b ffmpeg: merge with ffmpeg-full
A ton of cleanup and refactoring went into this. Too much to list.

Co-authored-by: Anderson Torres <torres.anderson.85@protonmail.com>
Co-authored-by: Martin Weinelt <mweinelt@users.noreply.github.com>
2023-01-27 18:19:18 +01:00
Isabelle 7180c66687 ffmpeg: 4.4.2 -> 4.4.3
https://github.com/FFmpeg/FFmpeg/blob/n4.4.3/Changelog
2022-12-09 10:39:57 +01:00
Artturin 22ec8cd807 ffmpeg: fix cross
pkg-config will be the next pkg-config so its targetPrefix will be wrong
2022-11-07 22:28:14 +02:00
github-actions[bot] f4c71b2f8c
Merge staging-next into staging 2022-10-23 18:02:19 +00:00
misuzu ba7f093cee ffmpeg: fix missing libpulse on armv7l-linux 2022-10-23 11:53:05 +03:00
Rick van Schijndel 390d78cc23 ffmpeg: use prefixed pkg-config if needed
Helpful for when we introduce an always prefixed pkg-config.
2022-10-19 20:38:28 +02:00
Sandro Jäckel 26a3bafb69
ffmpeg: remove 2.X and 3.X conditions 2022-09-29 11:33:40 +02:00
Sandro Jäckel 77e8784f4e
ffmpeg: remove 1.X conditions 2022-09-29 11:33:40 +02:00
Sandro Jäckel 8609c5598f
ffmpeg: remove 0.X conditions 2022-09-29 11:33:40 +02:00
Sandro Jäckel eb3fb81016
ffmpeg: inputs cleanup 2022-09-29 11:33:40 +02:00
Sandro Jäckel d369fa4ab8
ffmpeg: remove SDL1 support 2022-09-29 11:33:39 +02:00
Sandro Jäckel 7719968fb6
ffmpeg: cleanup and improve options, add vaapiSupport vpxSupport srtSupport 2022-09-29 11:33:39 +02:00
Sandro Jäckel 8d6cdd8aba
ffmpeg: cleanup darwin frameworks 2022-09-29 11:33:36 +02:00
Sandro Jäckel 8bbb3e7f23
ffmpeg: remove not necessary ? null 2022-09-29 11:32:36 +02:00
Frederik Rietdijk 63e480ba16 Merge staging-next into staging 2022-09-26 09:31:50 +02:00
zowoq 4177a5d748 ffmpeg_5: 5.1.1 -> 5.1.2
https://github.com/FFmpeg/FFmpeg/blob/n5.1.2/Changelog#L4
2022-09-26 10:29:10 +10:00
PedroHLC ☭ 0f39b3a85d
ffmpeg_4: patch for new SDL2 versioning scheme 2022-09-18 12:09:48 -03:00
zowoq 1a0bcbcb08 ffmpeg_5: 5.1 -> 5.1.1
1bad30dbe3:/Changelog#l4
2022-09-02 06:47:04 +10:00
Pierre Bourdon ece53aed8b
ffmpeg_5,ffmpeg_5-full: cherry-pick IPFS default gateway removal
ffmpeg 5.1 introduced ipfs:// and ipns:// streaming support as part of
libavformat. This new implementation falls back to fetching from an
untrusted 3rd party internet service in the (likely) case where a user
doesn't have a local IPFS gateway running on their computer. This puts
an unaudited 3rd party provider in a position where they can log and
alter any IPFS content being streamed by the ffmpeg library. No user
consent is collected at any point by the library.

ffmpeg developers are currently discussing [1] how to better implement
this feature. In the meantime, cherry-pick the proposed patch to disable
the default gateway until a better alternative is released.

[1] https://ffmpeg.org/pipermail/ffmpeg-devel/2022-August/299924.html
2022-08-13 00:16:28 +02:00
zowoq b29670fbf8 ffmpeg_5: 5.0.1 -> 5.1
90810bb37c:/Changelog#l9
2022-07-25 08:00:37 +10:00
zowoq af7d2aaa0d ffmpeg: add platforms 2022-07-21 12:43:08 +10:00
ajs124 fea398ab65 ffmpeg: 4.4.1 -> 4.4.2
d61977cbe4:/Changelog#l4

fixes CVE-2022-1475
2022-07-06 18:10:22 +02:00
zowoq fe871db088 ffmpeg_5: 5.0 -> 5.0.1
9687cae2b4:/Changelog#l4
2022-04-08 18:02:01 +10:00
Adam Joseph 8feed8e815
ffmpeg: honor pulseaudioSupport (#161017)
Co-authored-by: Sandro <sandro.jaeckel@gmail.com>
2022-03-27 17:01:58 +02:00
ajs124 8f390037eb ffmpeg_3: drop 2022-03-24 01:07:52 +01:00
github-actions[bot] bbbd0a92af
Merge master into staging-next 2022-01-25 00:02:13 +00:00