[FFmpeg-user] issues in ffmpeg installation

Moritz Barsnick barsnick at gmx.net
Fri Apr 22 16:26:17 EEST 2022


On Fri, Apr 22, 2022 at 05:37:46 +0000, FFmpeg user discussions wrote:
> ./configure --enable-cuda --enable-cuvid --enable-nvdec --enable-nvenc --enable-nonfree --enable-libnpp --extra-cflags=-I/usr/local/cuda/include --extra-ldflags=-L/usr/local/cuda/lib64 --disable-x86asm
>
> below is the error i have got ,can u please help us in fixing the issue.i have attached the config file log for reference as well
> [root at localhost FFmpeg]# ./configure --enable-nonfree --enable-cuda-nvcc --enable-libnpp --extra-cflags=-I/usr/local/cuda/include --extra-ldflags=-L/usr/local/cuda/lib64 --disable-static --enable-shared --disable-x86asm
> ERROR: failed checking for nvcc.

Your log file says:
> nvcc -gencode arch=compute_35,code=sm_35 -O2 -std=c++11 -m64 -ptx -c -o /tmp/ffconf.jxP0ew2J/test.o /tmp/ffconf.jxP0ew2J/test.cu
> ./configure: line 991: nvcc: command not found
> ERROR: failed checking for nvcc.

Did you install the nvidia-cuda-toolkit and nv-codec-headers?

Moritz


More information about the ffmpeg-user mailing list