From 6cdbde2f0d0cc6b22b1fff9e6d3f3c63aecab171 Mon Sep 17 00:00:00 2001 From: Michael Weiss Date: Wed, 13 Jan 2021 18:10:31 +0100 Subject: [PATCH] ffmpeg-full: disable rav1e by default (in favor of svt-av1) Since c378a3370599 we have a patch to add svt-av1 support to ffmpeg-full. The default AV1 encoder is still libaom but svt-av1 has a higher priority than rav1e (see libavcodec/allcodecs.c). And since svt-av1 is much faster than rav1e (which in turn should be faster than libaom) we don't really need rav1e support by default anymore (I guess it can be useful but overall svt-av1 should currently be the best option). And because rav1e's build did break a few times in the past and needs a lot of Rust dependencies (including cargo-c to make it C-ABI compatible) it might be best to simply disable it for now. Benchmarks (though it is difficult to compare them that way): - https://openbenchmarking.org/test/pts/svt-av1 - https://openbenchmarking.org/test/pts/rav1e - https://openbenchmarking.org/test/pts/aom-av1 --- pkgs/top-level/all-packages.nix | 1 + 1 file changed, 1 insertion(+) diff --git a/pkgs/top-level/all-packages.nix b/pkgs/top-level/all-packages.nix index 3158d657fab..52d22c494d5 100644 --- a/pkgs/top-level/all-packages.nix +++ b/pkgs/top-level/all-packages.nix @@ -13158,6 +13158,7 @@ in ffmpeg-full = callPackage ../development/libraries/ffmpeg-full { svt-av1 = if stdenv.isAarch64 then null else svt-av1; + rav1e = null; # We already have SVT-AV1 for faster encoding # The following need to be fixed on Darwin libjack2 = if stdenv.isDarwin then null else libjack2; libmodplug = if stdenv.isDarwin then null else libmodplug;