diff --git a/ajatt/packages/video.scm b/ajatt/packages/video.scm index 4ed730f..f481826 100644 --- a/ajatt/packages/video.scm +++ b/ajatt/packages/video.scm @@ -170,7 +170,7 @@ #:configure-flags #~(list "-DBUILD_SHARED_LIBS=1") #:cmake cmake - #:tests? #f )) + #:tests? #f )) (synopsis "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.") @@ -401,13 +401,19 @@ audio/video codec library.") (uri (git-reference (url "https://github.com/ultravideo/uvg266.git") - (commit "c1b97048259140ff5d5a22a29c1724e60112da4f"))) + (commit "6999e4484143091067b0d631b624aea7554a46db") + (recursive? #t))) (sha256 - (base32 "0kwfhv3kvbc4sl0bingncmpn9i210vv02lszjiqi91fa84rlxisj")))) + (base32 "0z6qq0hchn7fb69f75y5ck25k1gb878snd9g5k2vrfq70m6rlhxg")))) (build-system cmake-build-system) (arguments (list #:cmake cmake ;; currently this is not enough - #:tests? #f )) ;; it's needed to use "make install" after the cmake stage + #:tests? #f + ;;#:configure-flags + ;; #~(list "-G 'Ninja'") + )) + ;; (native-inputs + ;; (list ninja));; it's needed to use "make install" after the cmake stage (synopsis "An open-source VVC encoder based on Kvazaar.") (description "An open-source VVC encoder licensed under 3-clause BSD.") @@ -415,4 +421,45 @@ audio/video codec library.") (license (list license:bsd-3)))) -uvg266 + +(define-public gpac + (package + (name "gpac") + (version "2.4") + (source + (origin + (method git-fetch) + (uri + (git-reference + (url "https://github.com/gpac/gpac.git") + (commit "ccc6a76a67e08814e20ca678b84899653102b1f5"))) + (sha256 + (base32 "03lzg7q0kc4wdwfrh7kbrlml4kmx8nsp3zh6dsmby7q53wdwa7c6")))) + (build-system gnu-build-system) + (inputs (append (list zlib pkg-config))) + (arguments + (list #:tests? #f + #:configure-flags #~(list "--static-bin" ) + #:phases + #~(modify-phases %standard-phases + ;; this is very weird, but absolutely needed. + (replace 'install + (lambda* (#:key outputs #:allow-other-keys) + (invoke "make" "install") + ))))) + (native-inputs + (list (list zlib "static") + (list zstd "lib") + pkg-config + cmake + yasm + )) + (synopsis "GPAC Ultramedia OSS for Video Streaming & Next-Gen Multimedia Transcoding, Packaging & Delivery.") + (description + "GPAC is an open-source multimedia framework focused on modularity and standards compliance. GPAC provides tools to process, inspect, package, stream, playback and interact with media content. Such content can be any combination of audio, video, subtitles, metadata, scalable graphics, encrypted media, 2D/3D graphics and ECMAScript. GPAC is best-known for its wide MP4/ISOBMFF capabilities and is popular among video enthusiasts, academic researchers, standardization bodies, and professional broadcasters.") + (home-page "https://gpac.io/") + (license + (list license:lgpl2.1)))) + + +gpac