diff options
Diffstat (limited to 'contrib/ffmpeg')
-rw-r--r-- | contrib/ffmpeg/module.defs | 12 |
1 files changed, 11 insertions, 1 deletions
diff --git a/contrib/ffmpeg/module.defs b/contrib/ffmpeg/module.defs index 63924ad96..e24a897b9 100644 --- a/contrib/ffmpeg/module.defs +++ b/contrib/ffmpeg/module.defs @@ -5,6 +5,9 @@ endif ifeq (1,$(FEATURE.vce)) __deps__ += AMF endif +ifeq (1,$(FEATURE.nvenc)) +__deps__ += NVENC +endif $(eval $(call import.MODULE.defs,FFMPEG,ffmpeg,$(__deps__))) $(eval $(call import.CONTRIB.defs,FFMPEG)) @@ -107,7 +110,14 @@ ifeq (1,$(FEATURE.qsv)) endif ifeq (1,$(FEATURE.vce)) - FFMPEG.CONFIGURE.extra += --enable-amf --enable-encoder=h264_amf --enable-encoder=hevc_amf + FFMPEG.CONFIGURE.extra += --enable-amf --enable-encoder=h264_amf --enable-encoder=hevc_amf +endif + +ifeq (1,$(FEATURE.nvenc)) +FFMPEG.CONFIGURE.extra += \ + --enable-nvenc \ + --enable-encoder=h264_nvenc \ + --enable-encoder=hevc_nvenc endif ## enable compile verbosity |