Merge pull request #321832 from jopejoe1/ffmpeg/feature/twolame
ffmpeg: add twolame option
This commit is contained in:
@@ -107,6 +107,7 @@
|
||||
, withSvtav1 ? withHeadlessDeps && !stdenv.isAarch64 && !stdenv.hostPlatform.isMinGW # AV1 encoder/decoder (focused on speed and correctness)
|
||||
, withTensorflow ? false # Tensorflow dnn backend support (Increases closure size by ~390 MiB)
|
||||
, withTheora ? withHeadlessDeps # Theora encoder
|
||||
, withTwolame ? withFullDeps # MP2 encoding
|
||||
, withV4l2 ? withHeadlessDeps && stdenv.isLinux # Video 4 Linux support
|
||||
, withV4l2M2m ? withV4l2
|
||||
, withVaapi ? withHeadlessDeps && (with stdenv; isLinux || isFreeBSD) # Vaapi hardware acceleration
|
||||
@@ -289,6 +290,7 @@
|
||||
, quirc
|
||||
, rav1e
|
||||
, rtmpdump
|
||||
, twolame
|
||||
, samba
|
||||
, SDL2
|
||||
, shaderc
|
||||
@@ -684,6 +686,7 @@ stdenv.mkDerivation (finalAttrs: {
|
||||
(enableFeature withSvtav1 "libsvtav1")
|
||||
(enableFeature withTensorflow "libtensorflow")
|
||||
(enableFeature withTheora "libtheora")
|
||||
(enableFeature withTwolame "libtwolame")
|
||||
(enableFeature withV4l2 "libv4l2")
|
||||
(enableFeature withV4l2M2m "v4l2-m2m")
|
||||
(enableFeature withVaapi "vaapi")
|
||||
@@ -819,6 +822,7 @@ stdenv.mkDerivation (finalAttrs: {
|
||||
++ optionals withSvtav1 [ svt-av1 ]
|
||||
++ optionals withTensorflow [ libtensorflow ]
|
||||
++ optionals withTheora [ libtheora ]
|
||||
++ optionals withTwolame [ twolame ]
|
||||
++ optionals withV4l2 [ libv4l ]
|
||||
++ optionals withVaapi [ (if withSmallDeps then libva else libva-minimal) ]
|
||||
++ optionals withVdpau [ libvdpau ]
|
||||
|
||||
Reference in New Issue
Block a user