[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
01/13: gnu: Add ffmpeg-progress-yield.
From: |
guix-commits |
Subject: |
01/13: gnu: Add ffmpeg-progress-yield. |
Date: |
Mon, 30 Oct 2023 07:19:53 -0400 (EDT) |
cbaines pushed a commit to branch master
in repository guix.
commit 0fcbca272122cca47f3cc6caff2bf1aa4d71118c
Author: Vinicius Monego <monego@posteo.net>
AuthorDate: Sat Sep 30 03:08:22 2023 +0000
gnu: Add ffmpeg-progress-yield.
* gnu/packages/video.scm (ffmpeg-progress-yield): New variable.
Signed-off-by: Christopher Baines <mail@cbaines.net>
---
gnu/packages/video.scm | 33 +++++++++++++++++++++++++++++++++
1 file changed, 33 insertions(+)
diff --git a/gnu/packages/video.scm b/gnu/packages/video.scm
index b4dd7c27ae..420fc502bd 100644
--- a/gnu/packages/video.scm
+++ b/gnu/packages/video.scm
@@ -1940,6 +1940,39 @@ thumbnailer uses ffmpeg to decode frames from the video
files, so supported
videoformats depend on the configuration flags of ffmpeg.")
(license license:gpl2+)))
+(define-public ffmpeg-progress-yield
+ (package
+ (name "ffmpeg-progress-yield")
+ (version "0.7.8")
+ (source (origin
+ (method url-fetch)
+ (uri (pypi-uri "ffmpeg-progress-yield" version))
+ (sha256
+ (base32
+ "07j6m8p8z8ybl75h0d4xzjl1pvkfzr0i73siysqcgrrahdgsxrls"))))
+ (build-system pyproject-build-system)
+ (arguments
+ ;; Not sure if the test file actually does anything.
+ (list #:phases #~(modify-phases %standard-phases
+ (replace 'check
+ (lambda* (#:key tests? #:allow-other-keys)
+ (when tests?
+ (invoke "python" "test/test.py"))))
+ (add-after 'wrap 'wrap-program
+ ;; Wrap ffmpeg on the executable.
+ (lambda* (#:key inputs outputs #:allow-other-keys)
+ (let ((fpy "bin/ffmpeg-progress-yield")
+ (ffm "bin/ffmpeg"))
+ (wrap-program (search-input-file outputs fpy)
+ `("PATH" ":" prefix
+ (,(search-input-file inputs ffm))))))))))
+ (inputs (list bash-minimal ffmpeg))
+ (home-page "https://github.com/slhck/ffmpeg-progress-yield")
+ (synopsis "Run an ffmpeg command with progress")
+ (description "This package allows an ffmpeg command to run with progress.
+It is usually a complement to @code{ffmpeg-normalize}.")
+ (license license:expat)))
+
(define-public vlc
(package
(name "vlc")
- branch master updated (5d79012073 -> 5746d043a6), guix-commits, 2023/10/30
- 02/13: gnu: Add ffmpeg-normalize., guix-commits, 2023/10/30
- 05/13: gnu: Add python-online-judge-api-client., guix-commits, 2023/10/30
- 04/13: gnu: Add aerich., guix-commits, 2023/10/30
- 03/13: gnu: Add python-ddlparse., guix-commits, 2023/10/30
- 01/13: gnu: Add ffmpeg-progress-yield.,
guix-commits <=
- 09/13: gnu: Remove python-resolvelib@0.5., guix-commits, 2023/10/30
- 06/13: gnu: Add online-judge-tools., guix-commits, 2023/10/30
- 07/13: gnu: Add r-consort., guix-commits, 2023/10/30
- 08/13: gnu: ansible-core: Update to 2.15.5 and fix tests., guix-commits, 2023/10/30
- 11/13: gnu: labwc: Update to 0.6.5., guix-commits, 2023/10/30
- 12/13: gnu: cockatrice: Update to 2.9.0., guix-commits, 2023/10/30
- 10/13: gnu: ansible: Update to 8.5.0., guix-commits, 2023/10/30
- 13/13: gnu: transmission: Update to 4.0.4., guix-commits, 2023/10/30