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

View File

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