Comment 4 for bug 1810649

Revision history for this message
PaJoe (flhtcu) wrote : Re: ffmpeg 4 requires external headers for NVENC

Is there a detailed work around for this?

I tried adding and recompiling ffmpeg worked ok 18.10 but doing the same after upgrading to 19.04 did not work for me, not sure if I did something wrong.

sudo apt-get install make git
mkdir $HOME/nv-codec-headers_build && cd $HOME/nv-codec-headers_build
git clone https://git.videolan.org/git/ffmpeg/nv-codec-headers.git
cd nv-codec-headers
make && sudo make install

ffmpeg:

https://trac.ffmpeg.org/wiki/CompilationGuide/Ubuntu

original help:

https://askubuntu.com/questions/778100/how-to-install-compile-nvenc-in-ubuntu