nvenc - Unable to compile ffmpeg to support NVIDIA hardware acceleration -
i trying compile ffmpeg support nvidia hardware acceleration. getting following errors:
libavcodec/cuvid.c: in function ‘check_cu’: libavcodec/cuvid.c:83:5: error: implicit declaration of function ‘cugeterrorname’ [-werror=implicit-function-declaration] cugeterrorname(err, &err_name); ^ libavcodec/cuvid.c:84:5: error: implicit declaration of function ‘cugeterrorstring’ [-werror=implicit-function-declaration] cugeterrorstring(err, &err_string);
i have installed cuda following instruction on nvidia developer forum. configuration used is:
./configure --enable-nonfree --enable-nvenc --enable-cuda --enable-cuvid --enable-libx264 --enable-gpl
the gpu on laptop nvidia corporation gm108m [geforce 840m].
try install cuda utility:
$ wget http://developer.download.nvidia.com/compute/redist/ffmpeg/1511-patch/cudautils.zip $ unzip cudautils.zip $ cd cudautils $ make
and add in configuration: --extra-cflags=-i../cudautils --extra-ldflags=-l../cudautils
in case this manual better.
Comments
Post a Comment