diff options
author | Ricardo Wurmus <rekado@elephly.net> | 2025-05-15 08:28:19 +0200 |
---|---|---|
committer | Ricardo Wurmus <rekado@elephly.net> | 2025-05-15 10:28:01 +0200 |
commit | f353896b104bc921f4e67c5509550d85f373e1c3 (patch) | |
tree | a3dd3aa222f6074ab981d89ce9b2f7f4dc1c5228 | |
parent | 90d39a1a7e35445dd363f857d40cc2461f892932 (diff) |
gnu: Add ffmpeg-for-friction.
* gnu/packages/video.scm (ffmpeg-for-friction): New variable.
Change-Id: I11b5a7b8df325ccb16d9e8e3d19817624c8b17d0
-rw-r--r-- | gnu/packages/video.scm | 28 |
1 files changed, 27 insertions, 1 deletions
diff --git a/gnu/packages/video.scm b/gnu/packages/video.scm index 5af4a0e50c..6400eb19c5 100644 --- a/gnu/packages/video.scm +++ b/gnu/packages/video.scm @@ -5,7 +5,7 @@ ;;; Copyright © 2015 Taylan Ulrich Bayırlı/Kammer <taylanbayirli@gmail.com> ;;; Copyright © 2015-2024 Efraim Flashner <efraim@flashner.co.il> ;;; Copyright © 2015, 2016 Andy Patterson <ajpatter@uwaterloo.ca> -;;; Copyright © 2015, 2018, 2019, 2020, 2021, 2023 Ricardo Wurmus <rekado@elephly.net> +;;; Copyright © 2015, 2018, 2019, 2020, 2021, 2023, 2025 Ricardo Wurmus <rekado@elephly.net> ;;; Copyright © 2015, 2016, 2017, 2018, 2019 Alex Vong <alexvong1995@gmail.com> ;;; Copyright © 2016, 2017 Alex Griffin <a@ajgrf.com> ;;; Copyright © 2016 Kei Kebreau <kkebreau@posteo.net> @@ -1951,6 +1951,32 @@ audio/video codec library.") "--enable-static")))) (inputs '())))) +(define-public ffmpeg-for-friction + (package + (inherit ffmpeg-4) + (version "4.2.10") + (source (origin + (method url-fetch) + (uri (string-append "https://ffmpeg.org/releases/ffmpeg-" + version ".tar.xz")) + (sha256 + (base32 + "01jc8ygbazk37wbb7qj24zi9sbfrxrvzhyk527bbas19gxpdrk64")))) + (arguments + (substitute-keyword-arguments (package-arguments ffmpeg-4) + ((#:modules modules %default-gnu-modules) + `((srfi srfi-1) ,@modules)) + ((#:configure-flags flags ''()) + #~(fold delete #$flags + '("--enable-avresample" + "--enable-libaom" + "--enable-libdav1d" + "--enable-librav1e" + "--enable-libsrt" + "--enable-libsvtav1"))))) + (inputs (modify-inputs (package-inputs ffmpeg-4) + (delete "dav1d" "libaom" "rav1e" "srt"))))) + ;;; Custom ffmpeg package used by Jami, which incorporates custom patches. (define-public ffmpeg-jami (package |