Project

General

Profile

stuck on compile tvheadend with nvenc support

Added by Daniel D over 7 years ago

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


Replies (3)

RE: stuck on compile tvheadend with nvenc support - Added by Daniel D over 7 years ago

Thanks for the reply
I have forgotten to mention my card is Nvidia GTX 960 .. I can transcode etc... with ffmpeg . If i could done all the transcoding through tvheadend it would be great.

RE: stuck on compile tvheadend with nvenc support - Added by Daniel D over 7 years ago

Just in case anyone else needs to compile tvheadend with nvenc support this is how i solved it
cp /path/to/nvEncodeAPI.h /usr/include/nvEncodeAPI.h in my case the header was in the ffmpeg folder.

    (1-3/3)