[FFmpeg-user] [ffmpeg-user]ERROR: cuda requested, but not all dependencies are satisfied: ffnvcodec

cavelier jean-jacques.cavelier2 at wanadoo.fr
Sun May 9 20:20:52 EEST 2021


Hi, 
Problem in compilation with ffmpeg ver N-102461-g8649f5dca6 (git).
./configure fails with ERROR: cuda requested, not
all dependencies are satisfied: ffnvcodec
The command was:
./configure  --prefix=/usr/local --enable-linux-perf
--enable-libmp3lame --enable-libxvid --enable-libvorbis --enable-gpl
--enable-libtheora --enable-zlib --enable-libx264 --enable-nonfree
--enable-version3 --enable-avfilter --enable-libspeex
--enable-libopenjpeg --enable-libgsm --enable-postproc
--enable-pthreads --enable-libopencore-amrnb --enable-libopencore-amrwb
--enable-ffplay --enable-nonfree --enable-runtime-cpudetect
--enable-bzlib --enable-libdc1394 --enable-libvpx --enable-libx264
--enable-libx265 --enable-vdpau --enable-libass --enable-libfribidi
--enable-libfreetype --enable-libfontconfig --enable-nvenc
--enable-cuda --enable-cuvid --enable-gray --enable-libbluray
--enable-libfdk-aac --enable-libvpx --enable-libkvazaar 

But: i have ffnvcodec
 [root at tux nv-codec-headers-master]# make install
sed 's#@@PREFIX@@#/usr/local#' ffnvcodec.pc.in > ffnvcodec.pc
install -m 0755 -d '/usr/local/include/ffnvcodec'
install -m 0644 include/ffnvcodec/*.h '/usr/local/include/ffnvcodec'
install -m 0755 -d '/usr/local/lib/pkgconfig'
install -m 0644 ffnvcodec.pc '/usr/local/lib/pkgconfig'
Then
[cavelier2 at tux ffmpeg]$ ls /usr/local/include/ffnvcodec/
dynlink_cuda.h  dynlink_cuviddec.h  dynlink_loader.h  dynlink_nvcuvid.h
 nvEncodeAPI.h
and 
[cavelier2 at tux ffmpeg]$ find /usr -name '*ffnvcodec*.*'
/usr/local/lib/pkgconfig/ffnvcodec.pc

The problem stays the same after 
]$ export PKG_CONFIG_PATH=/usr/local/lib/pkgconfig:/$PKG_CONFIG_PATH
followed by ./configure/ of course.

No problem with ffmpeg version 4.2.3 

-- 
cordialement jean-jacques. 
Ce message a été écrit sur un système libre mageia
"Tant que l'homme sera mortel, il ne pourra pas être totalement
décontracté..." Woody Allen.


More information about the ffmpeg-user mailing list