FreeBSD Bugzilla – Attachment 236269 Details for
Bug 264027
multimedia/ffmpeg: add NVENC option
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
Remember
[x]
|
Forgot Password
Login:
[x]
[patch]
nvenc support
nvenc-option-v2.patch (text/plain), 2.07 KB, created by
Alex S
on 2022-08-31 19:47:29 UTC
(
hide
)
Description:
nvenc support
Filename:
MIME Type:
Creator:
Alex S
Created:
2022-08-31 19:47:29 UTC
Size:
2.07 KB
patch
obsolete
>diff --git a/multimedia/ffmpeg/Makefile b/multimedia/ffmpeg/Makefile >index bb12c8b4f4bc..c2de865d40c1 100644 >--- a/multimedia/ffmpeg/Makefile >+++ b/multimedia/ffmpeg/Makefile >@@ -36,7 +36,7 @@ OPTIONS_DEFINE= ALSA AMR_NB AMR_WB AOM ARIBB24 ASM ASS BS2B CACA CDIO \ > CODEC2 DAV1D DAVS2 DC1394 DEBUG DOCS DRM FDK_AAC FLITE \ > FONTCONFIG FREETYPE FREI0R FRIBIDI GLSLANG GME GSM ICONV ILBC \ > JACK KLVANC KVAZAAR LADSPA LAME LENSFUN LIBBLURAY LIBRSVG2 \ >- LIBXML2 LTO LV2 MODPLUG MYSOFA OPENAL OPENCL OPENGL \ >+ LIBXML2 LTO LV2 MODPLUG MYSOFA NVENC OPENAL OPENCL OPENGL \ > OPENH264 OPENJPEG OPENMPT OPENVINO OPTIMIZED_CFLAGS OPUS POCKETSPHINX \ > PULSEAUDIO RAV1E RABBITMQ RIST RTCPU RUBBERBAND SDL SMB SNAPPY \ > SNDIO SOXR SPEEX SRT SSH SVTAV1 SVTHEVC SVTVP9 TENSORFLOW \ >@@ -111,6 +111,7 @@ LV2_DESC= LV2 audio filtering > MFX_DESC= Intel MediaSDK (aka Quick Sync Video) > MYSOFA_DESC= SOFAlizer binaural filter > NONFREE_DESC= Allow use of nonfree code >+NVENC_DESC= NVENC support > OPENMPT_DESC= Decoding tracked files via libopenmpt > OPENH264_DESC= H.264 video codec support via OpenH264 > OPENVINO_DESC= OpenVINO as a DNN module backend for DNN based filters like dnn_processing >@@ -344,6 +345,10 @@ MODPLUG_CONFIGURE_ENABLE= libmodplug > MYSOFA_LIB_DEPENDS= libmysofa.so:audio/libmysofa > MYSOFA_CONFIGURE_ENABLE= libmysofa > >+# NVENC >+NVENC_BUILD_DEPENDS= ${LOCALBASE}/include/ffnvcodec/nvEncodeAPI.h:multimedia/ffnvcodec-headers >+NVENC_CONFIGURE_ENABLE= nvenc >+ > # OpenAL > OPENAL_LIB_DEPENDS= libopenal.so:audio/openal-soft > OPENAL_CONFIGURE_ENABLE= openal >diff --git a/multimedia/ffmpeg/files/patch-configure b/multimedia/ffmpeg/files/patch-configure >index c801515bbac4..146b8d0aefe2 100644 >--- a/multimedia/ffmpeg/files/patch-configure >+++ b/multimedia/ffmpeg/files/patch-configure >@@ -15,3 +15,12 @@ > cpu="generic" > intrinsics="none" > >+@@ -6751,7 +6751,7 @@ >+ >+ if enabled x86; then >+ case $target_os in >+- mingw32*|mingw64*|win32|win64|linux|cygwin*) >++ freebsd|mingw32*|mingw64*|win32|win64|linux|cygwin*) >+ ;; >+ *) >+ disable ffnvcodec cuvid nvdec nvenc
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
Attachments on
bug 264027
:
233972
| 236269