0

I'm compiling ffmpeg on Centos7, Nvidia driver 384.81, CUDA 9.0. I'm using a Tesla P4.

Here is my config line:

./configure --enable-cuda --enable-cuvid --enable-nvenc --enable-nonfree --enable-libnpp --extra-cflags=-I/usr/local/cuda/include --extra-ldflags=-L/usr/local/cuda/lib64

I get this error:

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

I found some recent info on this issue at: click here

so I did this:

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

output looks like this:

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 I try to configure ffmpeg again and I get the same error.

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

Is this header fix only for cuda 8.0 or should it work with 9.0 also? Does anyone have a way to resolve this?

flyfishtom
  • 9
  • 1
  • 2
  • Try it without `--extra-cflags=-I/usr/local/cuda/include --extra-ldflags=-L/usr/local/cuda/lib64`. – llogan Mar 05 '18 at 20:31
  • Thanks. I just tried that and got: ERROR: libnpp not found – flyfishtom Mar 05 '18 at 22:36
  • I tried removing --enable-libnpp and got the original error again: `ERROR: cuvid requested, but not all dependencies are satisfied: cuda` – flyfishtom Mar 05 '18 at 22:43
  • I got this working. I followed the newly update info here: (https://superuser.com/questions/1299064/error-cuvid-requested-but-not-all-dependencies-are-satisfied-cuda) – flyfishtom Mar 10 '18 at 18:33
  • Ok. Good to hear it worked (I can't actually test it fully as I don't have the proper hardware). Will mark as a duplicate. – llogan Mar 10 '18 at 18:46

0 Answers0