博客
关于我
强烈建议你试试无所不能的chatGPT,快点击我
ffmpeg安装ERROR: cuvid requested, but not all dependencies are satisfied: ffnvcodec
阅读量:5936 次
发布时间:2019-06-19

本文共 1384 字,大约阅读时间需要 4 分钟。

hot3.png

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

If you think configure made a mistake, make sure you are using the latest

version from Git.  If the latest version fails, report the problem to the
ffmpeg-user@ffmpeg.org mailing list or IRC #ffmpeg on irc.freenode.net.
Include the log file "ffbuild/config.log" produced by configure as this will help
solve the problem.

 

解决方法:安装NVIDIA headers

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

然后重新configure:

 PKG_CONFIG_PATH=/usr/local/lib/pkgconfig ./configure --extra-cflags='-I/home/wuxiaofeng/vendor/x264-snapshot-20181101-2245-stable -I/usr/local/cuda/include' --extra-ldflags='-L/home/wuxiaofeng/vendor/x264-snapshot-20181101-2245-stable -L/usr/local/cuda/lib64 -ldl ' --pkg-config-flags=--static --prefix=/home/wuxiaofeng/vendor/ffmpeg_4.0.2/ --enable-gpl --enable-libx264 --enable-cuvid --enable-nvenc --enable-nonfree --enable-debug=gdb3 --cc=/usr/bin/gcc --cxx=/usr/bin/g++ --nvcc=/usr/local/cuda-9.0/bin/nvcc --disable-encoders --enable-encoder=h264_nvenc,nvenc_h264,aac,libx264 --disable-decoders --enable-decoder=aac,h264,h264_cuvid,png --disable-muxers --enable-muxer=flv --disable-demuxers --enable-demuxer=flv,image2 --disable-filters --enable-filter=overlay,amix,scale,pad,aformat,crop,aresample,crop,asplit

 

转载于:https://my.oschina.net/beyondwxf/blog/2413892

你可能感兴趣的文章
rtmp流媒体协议播放遇到的坑
查看>>
Go 之旅四: 方法与接口篇
查看>>
Flask - cookies
查看>>
获取系统主题颜色
查看>>
P3041 [USACO12JAN]视频游戏的连击Video Game Combos
查看>>
CF1012C Hills
查看>>
男士必须收藏:男士健身方案
查看>>
03python面向对象编程2
查看>>
表格式布局让每个列高度等于该行最大高度
查看>>
Redis常用命令【字符串】
查看>>
ABP官方文档翻译 10.1 ABP Nuget包
查看>>
CentOS7 防火墙
查看>>
DataTable
查看>>
POJ 2226 Muddy Fields 二分图(难点在于建图)
查看>>
STM32软件仿真的一个注意点
查看>>
[LeetCode]题解(python):119-Pascal's Triangle II
查看>>
[LeetCode]题解(python):121-Best Time to Buy and Sell Stock
查看>>
Selenium-ActionChainsApi--鼠标连贯操作
查看>>
android基于MBR的bootkit病毒学习笔记
查看>>
Flask学习
查看>>