From a7795a0dabc56999afe819a3c1e617f3d3d258f5 Mon Sep 17 00:00:00 2001 From: hashirama Date: Mon, 23 Sep 2024 11:57:56 -0400 Subject: [PATCH] add vvdec as standalone encoder --- ajatt/packages/video.scm | 40 ++++++++++++++++++++++++++++++++++++---- 1 file changed, 36 insertions(+), 4 deletions(-) diff --git a/ajatt/packages/video.scm b/ajatt/packages/video.scm index 34225a0..dfc856b 100644 --- a/ajatt/packages/video.scm +++ b/ajatt/packages/video.scm @@ -151,9 +151,9 @@ #:use-module ((guix licenses) #:prefix license:)) -(define-public vvdec +(define-public vvdec-lib (package - (name "vvdec") + (name "vvdec-lib") (version "2.3.1") (source (origin @@ -171,7 +171,7 @@ #~(list "-DBUILD_SHARED_LIBS=1") #:cmake cmake #:tests? #f )) - (synopsis "VVdeC, the Fraunhofer Versatile Video Decoder.") + (synopsis "(Library) VVdeC, the Fraunhofer Versatile Video Decoder.") (description "VVdeC, the Fraunhofer Versatile Video Decoder, is a fast software H.266/VVC decoder implementation supporting all features of the VVC Main10 profile.") (home-page "https://www.hhi.fraunhofer.de/en/departments/vca/technologies-and-solutions/h266-vvc.html") @@ -180,6 +180,37 @@ +(define-public vvdec-app + (package + (name "vvdec-app") + (version "2.3.1") + (source + (origin + (method git-fetch) + (uri + (git-reference + (url "https://github.com/fraunhoferhhi/vvdec.git") + (commit "a1996a8c12593c5ce116243bed7a65dd59489a8d"))) + (sha256 + (base32 "0ka74689s0hmw68gnm6vi8fah43ppabmbc9fjbv7bfjd728vnnv0")))) + (build-system cmake-build-system) + (arguments + (list + #:configure-flags + #~(list "-DCMAKE_BUILD_TYPE=Release" + "-DVVENC_INSTALL_FULLFEATURE_APP=ON") + #:cmake cmake + #:tests? #f )) + (synopsis "(Standalone Encoder) VVdeC, the Fraunhofer Versatile Video Decoder.") + (description + "VVdeC, the Fraunhofer Versatile Video Decoder, is a fast software H.266/VVC decoder implementation supporting all features of the VVC Main10 profile.") + (home-page "https://www.hhi.fraunhofer.de/en/departments/vca/technologies-and-solutions/h266-vvc.html") + (license + (list license:bsd-3)))) + + + + (define-public ffmpeg-vvdec (package @@ -457,4 +488,5 @@ audio/video codec library.") (list license:lgpl2.1)))) -uvg266 + +vvdec-app