How to install NVEncC
June 15, 2021 ยท View on GitHub
- Windows 10
- Linux
- Linux (Ubuntu 20.04)
- Linux (Ubuntu 18.04)
- Other Linux OS
For other Linux OS, building from source will be needed. Please check the build instrcutions.
Windows 10
1. Install NVIDIA Graphics driver
2. Download Windows binary
Windows binary can be found from this link. NVEncC_x.xx_Win32.7z contains 32bit exe file, NVEncC_x.xx_x64.7z contains 64bit exe file.
NVEncC could be run directly from the extracted directory.
Linux (Ubuntu 20.04)
1. Install NVIDIA Graphics driver
Select "Linux 64bit" and download "run" file. A install file named like "NVIDIA-Linux-x86_64-xxx.xx.run" shall be downloaded, which can be run to install the driver.
chmod u+x NVIDIA-Linux-x86_64-xxx.xx.run
sudo ./NVIDIA-Linux-x86_64-xxx.xx.run
2. Install nvencc
Download deb package from this link, and install running the following command line. Please note "x.xx" should be replaced to the target version name.
sudo apt install ./nvencc_x.xx_Ubuntu20.04_amd64.deb
3. Addtional Tools
There are some features which require additional installations.
| Feature | Requirements |
|---|---|
| --vpp-colorspace | CUDA Toolkit (libnvrtc.so is required) |
| avs reader | AvisynthPlus |
| vpy reader | VapourSynth |
Linux (Ubuntu 18.04)
1. Install NVIDIA Graphics driver
Select "Linux 64bit" and download "run" file. A install file named like "NVIDIA-Linux-x86_64-xxx.xx.run" shall be downloaded, which can be run to install the driver.
chmod u+x NVIDIA-Linux-x86_64-xxx.xx.run
sudo ./NVIDIA-Linux-x86_64-xxx.xx.run
2. Install nvencc
Download deb package from this link, and install running the following command line. Please note "x.xx" should be replaced to the target version name.
# for ffmpeg 4.xx
sudo add-apt-repository ppa:jonathonf/ffmpeg-4
sudo apt update
# Install nvencc
sudo apt install ./nvencc_x.xx_Ubuntu18.04_amd64.deb
3. Addtional Tools
There are some features which require additional installations.
| Feature | Requirements |
|---|---|
| --vpp-colorspace | CUDA Toolkit (libnvrtc.so is required) |
| avs reader | AvisynthPlus |
| vpy reader | VapourSynth |