Hello everyone
I need help for compiling tvheadend with nvenc support. I have installed nvidia 381.22 driver on my ubuntu x64 box and i have tried to compile tvheadend with following parameters : ./configure --enable-nvenc --enable-zlib --enable-nonfree ; and here are the last lines of the output :
checking for cmake ... ok
checking for cc -lstdc++ ... ok
checking for cc nvEncodeAPI.h ... fail
ERROR: NVENC library (
https://developer.nvidia.com/nvidia-video-codec-sdk) not found
I have nvEncodeAPI.h header in /usr/src/ffmpeg/ffmpeg-3.3.3/compat/nvenc/nvEncodeAPI.h but not sure if i can pass this header. Also my ffmpeg has been compiled to suppoed nvenc acceleration and it's located in /usr/local/bin/ffmpeg how can i use this instead of the one which tvheadend try to install during the install process .
Thank you