Commit Graph

104 Commits

Author SHA1 Message Date
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
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
Adam Joseph
8feed8e815
ffmpeg: honor pulseaudioSupport (#161017)
Co-authored-by: Sandro <sandro.jaeckel@gmail.com>
2022-03-27 17:01:58 +02:00
github-actions[bot]
bbbd0a92af
Merge master into staging-next 2022-01-25 00:02:13 +00:00
Zane van Iperen
7976f70bae ffmpeg_5: init at 5.0 2022-01-24 15:31:51 -08:00
André Silva
e474360664
ffmpeg: enable libzimg
this is needed for the zscale video filter (http://underpop.online.fr/f/ffmpeg/help/zscale.htm.gz)
2021-12-31 15:52:04 +00:00
Luke Granger-Brown
f355e8a060
Merge pull request #134726 from risicle/ris-ffmpeg-tests
ffmpeg, ffmpeg-full: enable basic tests
2021-08-21 03:42:11 +01:00
Sandro
f45fa31ab2
Merge pull request #120577 from MatthewCroughan/ffmpeg-srt 2021-08-20 13:00:18 +02:00
Robert Scott
649f0ed1a8 ffmpeg: enable basic tests 2021-08-18 23:52:00 +01:00
MatthewCroughan
065a8102c9
Update pkgs/development/libraries/ffmpeg/generic.nix
Co-authored-by: Michal Sojka <michal.sojka@cvut.cz>
2021-08-03 13:02:23 +01:00
AndersonTorres
e9e5f5f84d Change all alsaLib references to alsa-lib 2021-06-10 01:12:49 -03:00
github-actions[bot]
c63e69cd89
Merge staging-next into staging 2021-05-06 12:23:32 +00:00
Robert Schütz
900fd5d09f ffmpeg_2: mark as insecure 2021-05-01 20:52:27 +02:00
matthewcroughan
47586a182d ffmpeg: add support for libsrt
based upon 47801afc3d
2021-04-24 22:14:04 +01:00
TredwellGit
72354f8ec1 ffmpeg: 4.3.2 -> 4.4
https://github.com/FFmpeg/FFmpeg/blob/n4.4/Changelog
2021-04-10 08:30:54 +00:00
Sandro Jäckel
3453b89f4b
lzma: deprecate alias 2021-04-04 19:49:52 +02:00
volth
bc0d605cf1 treewide: fix double quoted strings in meta.description
Signed-off-by: Ben Siraphob <bensiraphob@gmail.com>
2021-01-24 19:56:59 +07:00
Ben Siraphob
66e44425c6 pkgs/development/libraries: stdenv.lib -> lib 2021-01-21 19:11:02 -08:00
Jonathan Ringer
9bb3fccb5b treewide: pkgs.pkgconfig -> pkgs.pkg-config, move pkgconfig to alias.nix
continuation of #109595

pkgconfig was aliased in 2018, however, it remained in
all-packages.nix due to its wide usage. This cleans
up the remaining references to pkgs.pkgsconfig and
moves the entry to aliases.nix.

python3Packages.pkgconfig remained unchanged because
it's the canonical name of the upstream package
on pypi.
2021-01-19 01:16:25 -08:00
David Guibert
1b54b2aa0d ffmpeg: set explicit --enable-libass
needed for subtitles filter.
2020-08-15 08:54:01 +02:00
Orivej Desh
aa44ca368a ffmpeg: add libaom to build inputs only if enabled 2020-05-23 19:56:22 +00:00
Florian Klink
a42e33612a
Merge pull request #87968 from elohmeier/ffmpeg-addOpenGLRunpath2
ffmpeg: extend addOpenGLRunpath to handle libcuda referencing libraries
2020-05-16 21:51:25 +02:00
Enno Lohmeier
78987e2af0 ffmpeg: extend addOpenGLRunpath to handle libcuda referencing libraries 2020-05-16 21:48:59 +02:00
John Ericson
ee8cfe4bf3 treewide: pkg-config has targetPrefix 2020-05-16 00:21:21 +00:00
Michael Reilly
84cf00f980
treewide: Per RFC45, remove all unquoted URLs 2020-04-10 17:54:53 +01:00
Andrew Childs
4ac6c244cc ffmpeg: fix vdpauSupport=false 2020-02-09 09:23:57 +01:00
Jörg Thalheim
1a931f1f60
Revert "Revert "ffmpeg: fix cross compilation""
This reverts commit 7d46f7363c.

This change was accidentally commit to master. To avoid a mass-rebuild we
actually apply this change on staging first.
2020-01-04 08:26:03 +00:00
Jörg Thalheim
7d46f7363c
Revert "ffmpeg: fix cross compilation"
This reverts commit f6f8f0b75a.

avoid mass-rebuild on master; move to staging instead.
2020-01-04 08:25:54 +00:00
Daniel Fullmer
1b591acf6b
ffmpeg: fix cross compilation 2020-01-04 08:25:51 +00:00
Robin Gloster
4a8de55be0
ffmpeg: fix for structured attrs 2019-12-31 01:26:02 +01:00
Mateusz Kowalczyk
1451a52a38 Remove myself (fuuzetsu) from maintainer lists
I haven't been doing any maintenance for a long time now and not only
do I get notified, it also creates a fake impression that all these
packages had at least one maintainer when in practice they had none.
2019-12-05 16:29:48 +09:00
adisbladis
c9d8624ccd
treewide: Get rid of libGLU_combined 2019-11-18 20:10:43 +00:00
Timothy DeHerrera
30e428c96c ffmpeg: add options for QuickSync and libaom AV1
Allow users to optionally compile with support for Intel's QuickSync
hardware accelerated encoding, and libaom AV1 encoding. Set to false by
default.
2019-11-12 14:42:58 +01:00
Ivan Kozik
46cbb8453a mpv, ffmpeg: use addOpenGLRunpath to fix CUDA-accelerated playback
This fixes #67780.

Currently, using `mpv --hwdec=nvdec --msg-level=vd=debug` on NVIDIA results in:

```
[vd] Opening decoder hevc
[vd] Looking at hwdec hevc-nvdec...
Cannot load libcuda.so.1
[vd] Could not create device.
[vd] No hardware decoding available for this codec.
```

With just mpv patched, ffmpeg cannot load libnvcuvid.so.1:

```
[vd] Opening decoder hevc
[vd] Looking at hwdec hevc-nvdec...
[vd] Trying hardware decoding via hevc-nvdec.
[vd] Selected codec: hevc (HEVC (High Efficiency Video Coding))
[vd] Pixel formats supported by decoder: vaapi_vld cuda yuv420p10le
[vd] Codec profile: Main 10 (0x2)
[vd] Requesting pixfmt 'cuda' from decoder.
[ffmpeg/video] hevc: Cannot load libnvcuvid.so.1
[ffmpeg/video] hevc: Failed loading nvcuvid.
[ffmpeg/video] hevc: Failed setup for format cuda: hwaccel initialisation returned error.
```

With both mpv and ffmpeg patched, it works:

```
[vd] Opening decoder hevc
[vd] Looking at hwdec hevc-nvdec...
[vd] Trying hardware decoding via hevc-nvdec.
[vd] Selected codec: hevc (HEVC (High Efficiency Video Coding))
[vd] Pixel formats supported by decoder: vaapi_vld cuda yuv420p10le
[vd] Codec profile: Main 10 (0x2)
[vd] Requesting pixfmt 'cuda' from decoder.
Using hardware decoding (nvdec).
[vd] Decoder format: 3840x2160 cuda[p010] bt.2020-ncl/bt.2020/pq/limited/auto SP=10.000000 CL=unknown (auto 0.000000/0.000000/0.000000)
```
2019-09-06 23:18:26 +00:00
Niklas Hambüchen
9e78f76ade treewide: Remove unnecessary --disable-static (#66759)
* freetype: Remove unnecessary `--disable-static`.

The true-by-default `dontDisableStatic` already takes care of it.

Fixes freetype not being overridable to have static libs.

* treewide: Remove unnecessary `--disable-static`.

The true-by-default `dontDisableStatic` already takes care of it.

Fixes these packages not being overridable to have static libs.
2019-08-31 08:10:53 -04:00
Michael Weiss
aed9694829
ffmpeg_4: Enable support for AV1 decoding via dav1d by default
This is e.g. required for mpv (depends on ffmpeg_4) to play AV1 videos.
Fixes #54990.

But since dav1d is only a AV1 decoder this doesn't support AV1 encoding
as well (that would require an additional dependency on libaom).
The dependency on dav1d can be disabled by overriding it to null.
2019-08-25 21:40:10 +02:00
volth
46420bbaa3 treewide: name -> pname (easy cases) (#66585)
treewide replacement of

stdenv.mkDerivation rec {
  name = "*-${version}";
  version = "*";

to pname
2019-08-15 13:41:18 +01:00
Ivan Kozik
de8f760fbd ffmpeg, mpv: enable hardware-accelerated decoding with CUDA
NVIDIA users can now use `mpv --hwdec=nvdec` to play videos that the
software decoders cannot keep up with.
2019-02-11 00:32:43 +00:00