Windows msys2编译ffmpeg之ERROR: cuvid requested, but not all dependencies are satisfied: cuda/ffnvcodec

17 篇文章 0 订阅

一、错误

Nvidia Cuda with drivers are installed. When I try to configure ffmpeg, it says:

ERROR: cuvid requested, but not all dependencies are satisfied: cuda

Newer ffmpeg will show a similar, re-worded message:

ERROR: cuda requested, but not all dependencies are satisfied: ffnvcodec

 

 二、在msys2 命令行输入

git clone https://git.videolan.org/git/ffmpeg/nv-codec-headers.git
cd nv-codec-headers
make
sudo make install

Now compile ffmpeg as usual. The headers should be autodetected. If not then declare the PKG_CONFIG_PATH pointing to the path where ffnvcodec.pc is located when running configure for FFmpeg. For example:

PKG_CONFIG_PATH="/path/to/lib/pkgconfig" ./configure 

原文链接:https://superuser.com/questions/1299064/error-cuvid-requested-but-not-all-dependencies-are-satisfied-cuda-ffnvcodec 

评论 2
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值