media-video/ffmpeg already uses it and latest media-libs/avidemux-core now supports it.
Package-Manager: Portage-2.3.6, Repoman-2.3.2
# Multiple licenses because of all the bundled stuff.
LICENSE="GPL-1 GPL-2 MIT PSF-2 public-domain"
-IUSE="debug nls sdl system-ffmpeg vaapi vdpau video_cards_fglrx xv"
+IUSE="debug nls nvenc sdl system-ffmpeg vaapi vdpau video_cards_fglrx xv"
KEYWORDS="~amd64 ~x86"
MY_PN="${PN/-core/}"
$(cmake-utils_use vdpau VDPAU)
$(cmake-utils_use video_cards_fglrx XVBA)
$(cmake-utils_use xv XVIDEO)
+ $(cmake-utils_use nvenc NVENC)
)
if use debug ; then
<name>Gentoo Video project</name>
</maintainer>
<use>
+ <flag name="nvenc">Adds support for NVIDIA Encoder (NVENC) API for hardware accelerated encoding on NVIDIA cards.</flag>
<flag name="system-ffmpeg">Use the ffmpeg provided by the system.</flag>
</use>
<upstream>