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:
- -d / --dest : Destination path for FFmpeg / OBS
- -o / --obs : Build OBS Studio
- -h / --help : Usage
- Add support for multiple distributions (currently only tested on Ubuntu 16.04)
If you find this script useful, you can consider supporting Linux GameCast and Lutris.