guix-commits
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

branch master updated: gnu: Add SVT-AV1.


From: guix-commits
Subject: branch master updated: gnu: Add SVT-AV1.
Date: Sat, 14 Mar 2020 01:02:51 -0400

This is an automated email from the git hooks/post-receive script.

lfam pushed a commit to branch master
in repository guix.

The following commit(s) were added to refs/heads/master by this push:
     new 554f5b6  gnu: Add SVT-AV1.
554f5b6 is described below

commit 554f5b62805b900a9e4e320cbbbb800c13557b7e
Author: Leo Famulari <address@hidden>
AuthorDate: Tue Feb 18 14:57:38 2020 -0500

    gnu: Add SVT-AV1.
    
    * gnu/packages/video.scm (svt-av1): New variable.
---
 gnu/packages/video.scm | 39 ++++++++++++++++++++++++++++++++++++++-
 1 file changed, 38 insertions(+), 1 deletion(-)

diff --git a/gnu/packages/video.scm b/gnu/packages/video.scm
index 0e428f3..074a123 100644
--- a/gnu/packages/video.scm
+++ b/gnu/packages/video.scm
@@ -25,7 +25,7 @@
 ;;; Copyright © 2018 Roel Janssen <address@hidden>
 ;;; Copyright © 2018, 2019, 2020 Marius Bakke <address@hidden>
 ;;; Copyright © 2018, 2019 Pierre Neidhardt <address@hidden>
-;;; Copyright © 2018, 2019 Leo Famulari <address@hidden>
+;;; Copyright © 2018, 2019, 2020 Leo Famulari <address@hidden>
 ;;; Copyright © 2018 Brendan Tildesley <address@hidden>
 ;;; Copyright © 2018 Arun Isaac <address@hidden>
 ;;; Copyright © 2018 Björn Höfling <address@hidden>
@@ -3793,3 +3793,40 @@ Theora videos.  Theorafile was written to be used for 
FNA's VideoPlayer.")
 DVD using @command{libdvdcss}, but does @strong{not} demux, remux,
 transcode or reformat the videos in any way, producing perfect backups.")
     (license license:gpl3+)))
+
+(define-public svt-av1
+  (package
+    (name "svt-av1")
+    (version "0.8.1")
+    (source (origin
+              (method git-fetch)
+              (uri (git-reference
+                     (url "https://github.com/OpenVisualCloud/SVT-AV1.git";)
+                     (commit (string-append "v" version))))
+              (file-name (git-file-name name version))
+              (sha256
+               (base32
+                "08sx9zhhks8wzq05f67jqmc1zqmmi7hqkgg2gyjpcsan5qc5476w"))))
+    (build-system cmake-build-system)
+    ;; SVT-AV1 only supports Intel-compatible CPUs.
+    (supported-systems '("x86_64-linux" "i686-linux"))
+    (arguments
+      ;; The test suite tries to download test data and git clone a 3rd-party
+      ;; fork of libaom.  Skip it.
+     `(#:tests? #f
+       #:phases
+       (modify-phases %standard-phases
+         (add-after 'install 'install-documentation
+           (lambda* (#:key outputs #:allow-other-keys)
+             (let* ((out (assoc-ref %outputs "out"))
+                    (doc (string-append out "/share/doc/svt-av1-" ,version)))
+               (copy-recursively "../source/Docs" doc)
+               #t))))))
+    (native-inputs
+     `(("yasm" ,yasm)))
+    (synopsis "AV1 video codec")
+    (description "SVT-AV1 is an AV1 codec implementation.  The encoder is a
+work-in-progress, aiming to support video-on-demand and live streaming
+applications.  It only supports Intel-compatible CPUs (x86).")
+    (home-page "https://github.com/OpenVisualCloud/SVT-AV1";)
+    (license license:bsd-2)))



reply via email to

[Prev in Thread] Current Thread [Next in Thread]