From fd9ba513cdfa290dbf3496594292434784670f88 Mon Sep 17 00:00:00 2001 From: Anth0rx Date: Mon, 19 Mar 2018 22:40:57 +0100 Subject: media-video/obs-studio: Support NVENC encoding. This commit adds support for the NVENC encoding for nVidia video cards by compiling media-video/ffmpeg with the respective USE flag. Closes: https://github.com/gentoo/gentoo/pull/7516 --- media-video/obs-studio/metadata.xml | 1 + media-video/obs-studio/obs-studio-21.0.2.ebuild | 3 ++- 2 files changed, 3 insertions(+), 1 deletion(-) (limited to 'media-video') diff --git a/media-video/obs-studio/metadata.xml b/media-video/obs-studio/metadata.xml index adf3bcb68204..27ed2bccb4cb 100644 --- a/media-video/obs-studio/metadata.xml +++ b/media-video/obs-studio/metadata.xml @@ -14,6 +14,7 @@ Enable libfdk support for AAC encoding. Use ImageMagick for image loading instead of FFmpeg. + Enable NVENC encoding for nVidia video cards jp9000/obs-studio diff --git a/media-video/obs-studio/obs-studio-21.0.2.ebuild b/media-video/obs-studio/obs-studio-21.0.2.ebuild index 5faf60232c12..db4647c07d16 100644 --- a/media-video/obs-studio/obs-studio-21.0.2.ebuild +++ b/media-video/obs-studio/obs-studio-21.0.2.ebuild @@ -21,7 +21,7 @@ HOMEPAGE="https://obsproject.com" LICENSE="GPL-2" SLOT="0" -IUSE="+alsa fdk imagemagick jack pulseaudio truetype v4l" +IUSE="+alsa fdk imagemagick jack nvenc pulseaudio truetype v4l" COMMON_DEPEND=" >=dev-libs/jansson-2.5 @@ -36,6 +36,7 @@ COMMON_DEPEND=" dev-qt/qtwidgets:5 dev-qt/qtx11extras:5 media-video/ffmpeg:=[x264] + nvenc? ( media-video/ffmpeg:=[nvenc] ) net-misc/curl x11-libs/libXcomposite x11-libs/libXinerama -- cgit v1.2.3-65-gdbad