Skip to content

Commit

Permalink
media-video/obs-studio: Support NVENC encoding.
Browse files Browse the repository at this point in the history
This commit adds support for the NVENC encoding for nVidia video cards
by compiling media-video/ffmpeg with the respective USE flag.

Closes: gentoo#7516
  • Loading branch information
Anth0rx authored and monsieurp committed Mar 25, 2018
1 parent 1e6c86d commit fd9ba51
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 1 deletion.
1 change: 1 addition & 0 deletions media-video/obs-studio/metadata.xml
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,7 @@
<use>
<flag name="fdk">Enable libfdk support for AAC encoding.</flag>
<flag name="imagemagick">Use ImageMagick for image loading instead of FFmpeg.</flag>
<flag name="nvenc">Enable NVENC encoding for nVidia video cards</flag>
</use>
<upstream>
<remote-id type="github">jp9000/obs-studio</remote-id>
Expand Down
3 changes: 2 additions & 1 deletion media-video/obs-studio/obs-studio-21.0.2.ebuild
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand All @@ -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
Expand Down

0 comments on commit fd9ba51

Please sign in to comment.