Created attachment 520150 [details] ffmpeg failing, ffmpeg working, and emerge --info Hello, Found this issue as I tried using ffmpeg with nvenc encoder. In file ffmpeg-fails.txt is whole output of ffmpeg compiled with nvenc USE flag and trying to use h264_nvenc encoder. In file ffmpeg-works.txt is same thing, just after installing of nvidia-cuda-toolkit, and then it works. It seems that h264_nvenc depends on CUDA. From ffmpeg-fails.txt: [h264_nvenc @ 0x558dd805a700] Cannot init CUDA I think as nvenc USE flag is enabled, it should pull dev-util/nvidia-cuda-toolkit as only then nvenc works.
The bug has been closed via the following commit(s): https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=72efc6ce0847d20ebaa7e2f4ceb042d36e97e244 commit 72efc6ce0847d20ebaa7e2f4ceb042d36e97e244 Author: Alexis Ballier <aballier@gentoo.org> AuthorDate: 2018-04-22 10:52:34 +0000 Commit: Alexis Ballier <aballier@gentoo.org> CommitDate: 2018-04-22 11:21:30 +0000 media-video/ffmpeg: rework nvidia codec support Closes: https://bugs.gentoo.org/653378 Closes: https://bugs.gentoo.org/648170 Package-Manager: Portage-2.3.31, Repoman-2.3.9 media-video/ffmpeg/ffmpeg-4.0.ebuild | 6 +++--- media-video/ffmpeg/ffmpeg-9999.ebuild | 6 +++--- 2 files changed, 6 insertions(+), 6 deletions(-)
please re-open. not working for me: * abi_x86_64.amd64: running multilib-minimal_abi_src_configure ... ERROR: ffnvcodec requested but not found
here is why; config script checks here: check_pkg_config ffnvcodec 'ffnvcodec >= 8.1.24.2' ffnvcodec.pc says: Name: ffnvcodec Description: FFmpeg version of Nvidia Codec SDK headers Version: 8.1.24.1 so 8.1.24.2 must be a dep for ffmpeg-9999, at least.