add gpac
MP4box and gpac are a amend for the usage of uvg266, which needs to be passed to a mp4 container after encode.
This commit is contained in:
parent
804ea51c6d
commit
5d40bc5eb7
|
@ -401,13 +401,19 @@ audio/video codec library.")
|
||||||
(uri
|
(uri
|
||||||
(git-reference
|
(git-reference
|
||||||
(url "https://github.com/ultravideo/uvg266.git")
|
(url "https://github.com/ultravideo/uvg266.git")
|
||||||
(commit "c1b97048259140ff5d5a22a29c1724e60112da4f")))
|
(commit "6999e4484143091067b0d631b624aea7554a46db")
|
||||||
|
(recursive? #t)))
|
||||||
(sha256
|
(sha256
|
||||||
(base32 "0kwfhv3kvbc4sl0bingncmpn9i210vv02lszjiqi91fa84rlxisj"))))
|
(base32 "0z6qq0hchn7fb69f75y5ck25k1gb878snd9g5k2vrfq70m6rlhxg"))))
|
||||||
(build-system cmake-build-system)
|
(build-system cmake-build-system)
|
||||||
(arguments
|
(arguments
|
||||||
(list #:cmake cmake ;; currently this is not enough
|
(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.")
|
(synopsis "An open-source VVC encoder based on Kvazaar.")
|
||||||
(description
|
(description
|
||||||
"An open-source VVC encoder licensed under 3-clause BSD.")
|
"An open-source VVC encoder licensed under 3-clause BSD.")
|
||||||
|
@ -415,4 +421,45 @@ audio/video codec library.")
|
||||||
(license
|
(license
|
||||||
(list license:bsd-3))))
|
(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
|
||||||
|
|
Loading…
Reference in a new issue