kmsgrab works like x11grab but accesses the DRM render node directly. The tradeoff is less features in exchange for being much more hardware encode friendly. I guess this would go behind a new USE=drm?
The bug has been closed via the following commit(s): https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=7aeedc6bbd30477bcc1bf87500bb810f7b04b579 commit 7aeedc6bbd30477bcc1bf87500bb810f7b04b579 Author: Alexis Ballier <aballier@gentoo.org> AuthorDate: 2018-02-13 13:33:12 +0000 Commit: Alexis Ballier <aballier@gentoo.org> CommitDate: 2018-02-13 13:33:21 +0000 media-video/ffmpeg: Add libdrm useflag. Closes: https://bugs.gentoo.org/647046 Unlike suggested in the bug, I find drm being confusing in ffmpeg case as this can be mistaken for Digital Right Management support. Since we do not have a drm/libdrm global useflag, I went for libdrm. Package-Manager: Portage-2.3.24, Repoman-2.3.6 media-video/ffmpeg/ffmpeg-3.4.2.ebuild | 3 ++- media-video/ffmpeg/ffmpeg-9999.ebuild | 3 ++- media-video/ffmpeg/metadata.xml | 1 + 3 files changed, 5 insertions(+), 2 deletions(-)