This script will compile FFmpeg with Nvidia NVENC support enabled. It can also build OBS Studio or Simple Screen Recorder using that FFmpeg build thus providing NVENC for OBS.
It is brought to you by Linux GameCast and Lutris #lgccares
Clone the repo then use the build.sh
script to compile the binaries
git clone https://github.com/lutris/ffmpeg-nvenc.git
cd ffmpeg-nvenc
./build.sh --dest $HOME/apps/ffmpeg-nvenc
The following command line options are available:
If you find this script useful, you can consider supporting Linux GameCast and Lutris.