From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from lists.gentoo.org (pigeon.gentoo.org [208.92.234.80]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by finch.gentoo.org (Postfix) with ESMTPS id DEF0C138334 for ; Mon, 19 Aug 2019 16:41:20 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id DFACBE0880; Mon, 19 Aug 2019 16:41:19 +0000 (UTC) Received: from smtp.gentoo.org (woodpecker.gentoo.org [IPv6:2001:470:ea4a:1:5054:ff:fec7:86e4]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id BBCF2E0880 for ; Mon, 19 Aug 2019 16:41:19 +0000 (UTC) Received: from oystercatcher.gentoo.org (oystercatcher.gentoo.org [148.251.78.52]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id 72C8D349E60 for ; Mon, 19 Aug 2019 16:41:18 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id 5DD3A76F for ; Mon, 19 Aug 2019 16:41:16 +0000 (UTC) From: "Alexis Ballier" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Alexis Ballier" Message-ID: <1566232859.655e4810e32870dbcc50b2e11f300fdc49ea5d30.aballier@gentoo> Subject: [gentoo-commits] repo/gentoo:master commit in: media-video/ffmpeg/ X-VCS-Repository: repo/gentoo X-VCS-Files: media-video/ffmpeg/ffmpeg-9999.ebuild media-video/ffmpeg/metadata.xml X-VCS-Directories: media-video/ffmpeg/ X-VCS-Committer: aballier X-VCS-Committer-Name: Alexis Ballier X-VCS-Revision: 655e4810e32870dbcc50b2e11f300fdc49ea5d30 X-VCS-Branch: master Date: Mon, 19 Aug 2019 16:41:16 +0000 (UTC) Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-commits@lists.gentoo.org X-Auto-Response-Suppress: DR, RN, NRN, OOF, AutoReply X-Archives-Salt: 6ad54f43-10ee-4017-8b83-76ba11489348 X-Archives-Hash: 0f7ba00340bdae5a8569316dd71ccc31 commit: 655e4810e32870dbcc50b2e11f300fdc49ea5d30 Author: Alexis Ballier gentoo org> AuthorDate: Mon Aug 19 14:51:19 2019 +0000 Commit: Alexis Ballier gentoo org> CommitDate: Mon Aug 19 16:40:59 2019 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=655e4810 media-video/ffmpeg: add cuda useflag. Based on a patch by Timo Rothenpieler. Closes: https://bugs.gentoo.org/595450 Package-Manager: Portage-2.3.71, Repoman-2.3.17 Signed-off-by: Alexis Ballier gentoo.org> media-video/ffmpeg/ffmpeg-9999.ebuild | 6 ++++-- media-video/ffmpeg/metadata.xml | 1 + 2 files changed, 5 insertions(+), 2 deletions(-) diff --git a/media-video/ffmpeg/ffmpeg-9999.ebuild b/media-video/ffmpeg/ffmpeg-9999.ebuild index 75bc08762ec..ac797b13647 100644 --- a/media-video/ffmpeg/ffmpeg-9999.ebuild +++ b/media-video/ffmpeg/ffmpeg-9999.ebuild @@ -80,7 +80,7 @@ FFMPEG_FLAG_MAP=( vorbis:libvorbis vpx:libvpx zvbi:libzvbi # libavfilter options appkit - bs2b:libbs2b chromaprint flite:libflite frei0r + bs2b:libbs2b chromaprint cuda:cuda-llvm flite:libflite frei0r fribidi:libfribidi fontconfig ladspa libass lv2 truetype:libfreetype vidstab:libvidstab rubberband:librubberband zeromq:libzmq zimg:libzimg # libswresample options @@ -278,9 +278,10 @@ DEPEND="${RDEPEND} " BDEPEND=" >=sys-devel/make-3.81 - doc? ( sys-apps/texinfo ) >=virtual/pkgconfig-0-r1[${MULTILIB_USEDEP}] cpu_flags_x86_mmx? ( || ( >=dev-lang/nasm-2.13 >=dev-lang/yasm-1.3 ) ) + cuda? ( >=sys-devel/clang-7[llvm_targets_NVPTX] ) + doc? ( sys-apps/texinfo ) test? ( net-misc/wget sys-devel/bc ) " @@ -298,6 +299,7 @@ GPL_REQUIRED_USE=" ) " REQUIRED_USE=" + cuda? ( video_cards_nvidia ) libv4l? ( v4l ) fftools_cws2fws? ( zlib ) test? ( encode ) diff --git a/media-video/ffmpeg/metadata.xml b/media-video/ffmpeg/metadata.xml index 556156808d6..fbc47af1d13 100644 --- a/media-video/ffmpeg/metadata.xml +++ b/media-video/ffmpeg/metadata.xml @@ -19,6 +19,7 @@ Builds libffmpeg.so to enable media playback in Chromium-based browsers like Opera and Vivaldi. Enables codec2 low bit rate speech codec support via media-libs/codec2. Enables runtime CPU detection (useful for bindist, compatibility on other CPUs) + Enables CUDA-based acceleration. Mostly used for specific filters. Enables AV1 decoding viamedia-libs/dav1d. Enables EBU R128 loudness normalization filter via media-libs/libebur128 Use external fdk-aac library for AAC encoding