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

0 Answers0