From 3078ef8fab1424f2c198f6ecad63e0db3665c57f Mon Sep 17 00:00:00 2001 From: Alexis Ballier Date: Sat, 24 Oct 2015 13:31:31 +0200 Subject: [PATCH] media-video/ffmpeg: Add nvenc useflag to live ebuild. Bug #542726. Package-Manager: portage-2.2.23 --- media-video/ffmpeg/ffmpeg-9999.ebuild | 9 +++++---- media-video/ffmpeg/metadata.xml | 1 + 2 files changed, 6 insertions(+), 4 deletions(-) diff --git a/media-video/ffmpeg/ffmpeg-9999.ebuild b/media-video/ffmpeg/ffmpeg-9999.ebuild index ebc82a42d665..7844b8ffe537 100644 --- a/media-video/ffmpeg/ffmpeg-9999.ebuild +++ b/media-video/ffmpeg/ffmpeg-9999.ebuild @@ -90,9 +90,9 @@ FFMPEG_FLAG_MAP=( # Same as above but for encoders, i.e. they do something only with USE=encode. FFMPEG_ENCODER_FLAG_MAP=( aac:libvo-aacenc amrenc:libvo-amrwbenc mp3:libmp3lame - aacplus:libaacplus faac:libfaac openh264:libopenh264 snappy:libsnappy - theora:libtheora twolame:libtwolame wavpack:libwavpack webp:libwebp - x264:libx264 x265:libx265 xvid:libxvid + aacplus:libaacplus faac:libfaac nvenc:nvenc openh264:libopenh264 + snappy:libsnappy theora:libtheora twolame:libtwolame wavpack:libwavpack + webp:libwebp x264:libx264 x265:libx265 xvid:libxvid ) IUSE=" @@ -165,6 +165,7 @@ RDEPEND=" amrenc? ( >=media-libs/vo-amrwbenc-0.1.2-r1[${MULTILIB_USEDEP}] ) faac? ( >=media-libs/faac-1.28-r3[${MULTILIB_USEDEP}] ) mp3? ( >=media-sound/lame-3.99.5-r1[${MULTILIB_USEDEP}] ) + nvenc? ( >=media-video/nvenc-5 ) openh264? ( >=media-libs/openh264-1.4.0-r1[${MULTILIB_USEDEP}] ) snappy? ( >=app-arch/snappy-1.1.2-r1[${MULTILIB_USEDEP}] ) theora? ( @@ -282,7 +283,7 @@ REQUIRED_USE=" ${GPL_REQUIRED_USE} ${CPU_REQUIRED_USE}" RESTRICT=" - encode? ( faac? ( bindist ) aacplus? ( bindist ) ) + encode? ( faac? ( bindist ) aacplus? ( bindist ) nvenc? ( bindist ) ) gpl? ( openssl? ( bindist ) fdk? ( bindist ) ) " diff --git a/media-video/ffmpeg/metadata.xml b/media-video/ffmpeg/metadata.xml index a987be4387e6..d9a078ddb6c6 100644 --- a/media-video/ffmpeg/metadata.xml +++ b/media-video/ffmpeg/metadata.xml @@ -34,6 +34,7 @@ Enables MIPS DSP ASE R2 optimizations. Enables floating point MIPS optimizations. Enables network streaming support + Adds support for NVIDIA Encoder (NVENC) API for hardware accelerated encoding on NVIDIA cards. Enables H.264 encoding suppoprt via media-libs/openh264. Enables dev-libs/openssl support. Adds support for encrypted network protocols (TLS/HTTPS). Adds (decoding) support for the Opus codec via media-libs/opus. -- 2.26.2