ffmpeg: add MPEG-5 EVC en/decoding

This commit is contained in:
jopejoe1 2024-04-11 16:51:12 +02:00
parent 3189bf160b
commit 08d90fa65e
1 changed files with 10 additions and 0 deletions

View File

@ -112,6 +112,8 @@
, withXcbShape ? withFullDeps # X11 grabbing shape rendering
, withXcbShm ? withFullDeps # X11 grabbing shm communication
, withXcbxfixes ? withFullDeps # X11 grabbing mouse rendering
, withXevd ? withFullDeps && lib.versionAtLeast version "7" && stdenv.hostPlatform.isx86 # MPEG-5 EVC decoding
, withXeve ? withFullDeps && lib.versionAtLeast version "7" && stdenv.hostPlatform.isx86 # MPEG-5 EVC encoding
, withXlib ? withFullDeps # Xlib support
, withXml2 ? withFullDeps # libxml2 support, for IMF and DASH demuxers
, withXvid ? withHeadlessDeps && withGPL # Xvid encoder, native encoder exists
@ -279,6 +281,8 @@
, x264
, x265
, xavs
, xevd
, xeve
, xvidcore
, xz
, zeromq4
@ -587,6 +591,10 @@ stdenv.mkDerivation (finalAttrs: {
(enableFeature withXcbShape "libxcb-shape")
(enableFeature withXcbShm "libxcb-shm")
(enableFeature withXcbxfixes "libxcb-xfixes")
] ++ optionals (versionAtLeast version "7") [
(enableFeature withXevd "libxevd")
(enableFeature withXeve "libxeve")
] ++ [
(enableFeature withXlib "xlib")
(enableFeature withXml2 "libxml2")
(enableFeature withXvid "libxvid")
@ -696,6 +704,8 @@ stdenv.mkDerivation (finalAttrs: {
++ optionals withX265 [ x265 ]
++ optionals withXavs [ xavs ]
++ optionals withXcb [ libxcb ]
++ optionals withXevd [ xevd ]
++ optionals withXeve [ xeve ]
++ optionals withXlib [ libX11 libXv libXext ]
++ optionals withXml2 [ libxml2 ]
++ optionals withXvid [ xvidcore ]