🌐
NVIDIA Developer
developer.nvidia.com › video-codec-sdk › download
Video Codec SDK - Get Started | NVIDIA Developer
You can now use FFmpeg to accelerate video encoding and decoding using NVENC and NVDEC, respectively. ... Multi-view HEVC (ME-HEVC) 420 8b/10b support. Ultra-high quality (UHQ) mode for AV1. Double H.264 decode throughput per NVDEC compared to previous generation. Decode memory optimizations. ... For convenience, NVDECODE API documentation and sample applications are also included in the CUDA Toolkit, in addition to the Video Codec SDK download package.
🌐
NVIDIA
nvidia.com › en-us › geforce › guides › broadcasting-guide
NVIDIA NVENC Obs Guide | GeForce News | NVIDIA
Download or update to the latest OBS. ... If you want to customize all settings, here are our in-depth recommendations. ... Output Mode: Advanced. This gives you access to all the settings. Let’s start! ... For Twitch, select Hardware (NVENC, H.264).
Discussions

How do i get NVIDIA NVENC H.264 (new)
assuming you have an Nvidia gpu, it's the default h.264 nvenc encoder, at so.e point they removed the old one and renamed NVIDIA NVENC H.264 (new) to Nvidia nvenc h.264 More on reddit.com
🌐 r/obs
8
1
November 9, 2023
nvenc h.264 | OBS Forums
Hi! We are talking about NVENC H.264. I noticed that when selecting the P6 and P7 Tune HQ presets, the look-ahead and adaptive b-frames are enabled, whether look-ahead is enabled or not. This happens not only in OBS, but in FFmpeg, I checked it. Looks like it's provided by Nvidia. More on obsproject.com
🌐 obsproject.com
Encoder: h264 vs. NVENC?
X.264 is better quality butbuses cpu H.264 if ur cpu cant handle it Nvenc is just nvidias version More on reddit.com
🌐 r/obs
12
3
December 20, 2018
Help with NVENC H.264
:OBS: Community Support More on reddit.com
🌐 r/obs
8
1
April 8, 2018
🌐
Free Codecs
free-codecs.com › nvenc 9.19
NVEnc 9.19 Download - Free NVIDIA GPU Video Encoder
5 days ago - Download NVEnc 9.19 free for Windows. Encode H.264, HEVC, and AV1 videos using NVIDIA GPU hardware acceleration. Faster than CPU encoding with low system load.
🌐
VideoHelp
videohelp.com › software › video encoders › nvenc
NVEnc 9.19 Download Free - VideoHelp
6 days ago - NVEncC Download NVEnc Portable download from the Download links under Download and Download other versions! Notify me when software updated or report software · Email me when it has been updated Report this software (dead link/new version)
🌐
Bandicam
bandicam.com › bandicut-video-cutter › support › nvidia-nvenc
Hardware accelerated HEVC/H.264 (NVIDIA NVENC) encoder
If you cannot see the "HEVC/H.264 ... the "H264 (Nvidia® NVENC)" menu will not be shown. Download the latest Nvidia video card driver from https://www.geforce.com/drivers...
🌐
Bandicam
bandicam.com › how-to-use-nvidia-nvenc-encoder
Nvidia NVENC Encoder for Screen recording (H264, AV1, HEVC)
(Recording time: 1 minute, Video resolution: 1920x1080, FPS: 30, Quality: 80) » Comparison of video codecs · To use the Nvidia NVENC encoder, please follow the steps below: Go to https://www.geforce.com, and download/install the ...
🌐
Softpedia
softpedia.com › windows › multimedia › video › encoders/converter/divx related › nvenc
NVEnc - Download - Softpedia
2 weeks ago - Download NVEnc 9.19 - A command-line utility that can asses the image quality and the performance of the HW encoder of NVIDIA, providing a plethora of options you can experiment with
🌐
SoftRadar
softradar.com › nvenc
Download NVEnc for Windows 11, 10, 7, 8/8.1 (64 bit/32 bit)
NVEnc, free download. NVIDIA NVENC is a hardware-accelerated video encoder that enables high-quality video encoding for faster and more efficient video processing.
Find elsewhere
🌐
Reddit
reddit.com › r/obs › how do i get nvidia nvenc h.264 (new)
r/obs on Reddit: How do i get NVIDIA NVENC H.264 (new)
November 9, 2023 - On the AMD side, the video encoder ... AMD HW H.264, and there's also the H.265 and AV1 implementations. ... The "NVENC (new)" encoder in OBS is only a software thing. It has nothing to do with the hardware. It's just a new implementation of how OBS works with NVidia's API to use NVENC. ... I installed latest NVIDIA drivers! ... Staying on NVIDIA driver 566.36 because I've faced problems from every other version. ... Just downloaded latest nvidia ...
🌐
ManyCam
help.manycam.com › knowledge-base › how-to-enable-nvidia-nvenc-encoder
How to enable Nvidia® NVENC encoder – ManyCam Help and Support
October 6, 2020 - This guide will show you how to enable Nvidia® NVENC encoder. Find your graphics card on the List of Nvidia® Graphics processing units · You can tell if your card supports NVENC by its Code name. Cards with Code names starting with GK, GM or GP do support NVENC technology. ... Some low-end graphics cards might not support NVENC encoder despite the Code name indicates otherwise. Download and install the latest drivers for your graphics card at http://www.geforce.com
🌐
NVIDIA
docs.nvidia.com › video-technologies › video-codec-sdk › 13.0 › nvenc-application-note › index.html
NVENC Application Note
H.264 and HEVC encoding fps for Volta GPU can be obtained by multiplying the Pascal fps in the above table by ratio of the clocks, as reported by nvidia-smi. Software: Windows 11, Video Codec SDK v13.0; Thor GPU performance is measured on NVIDIA® Jetson™ Linux · CBR: Constant bitrate rate control mode, VBR: Variable bitrate rate control mode, LL : Low latency tuning info, HQ: High quality tuning info · The NVENCODE API provides access to the video encoding features of NVENC described in the previous chapters and provides control over encoding parameters.
🌐
PyTorch
docs.pytorch.org › audio › 0.13.0 › hw_acceleration_tutorial.html
Hardware-Accelerated Video Decoding and Encoding — Torchaudio 0.13.0 documentation
V..... libx264 libx264 H.264 / ... NVIDIA NVENC H.264 encoder (codec h264) The following command fetches video from remote server, decode with NVDEC (cuvid) and re-encode with NVENC. If this command does not work, then there is an issue with FFmpeg installation, and TorchAudio would not be able to use them either. ... !ffmpeg -hide_banner -y -vsync 0 -hwaccel cuvid -hwaccel_output_format cuda -c:v h264_cuvid -resize 360x240 -i "https://download.pytorch.o...
🌐
NVIDIA
docs.nvidia.com › video-technologies › video-codec-sdk › 13.0 › nvenc-video-encoder-api-prog-guide › index.html
NVENC Video Encoder API Programming Guide
This document provides information on how to program the NVENC using the NVENCODE APIs exposed in the SDK. The NVENCODE APIs expose encoding capabilities on Windows (Windows 10 and above), Linux and NVIDIA Jetson Linux. It is expected that developers should understand H.264/HEVC/AV1 video codecs and be familiar with Windows and/or Linux development environments.
🌐
OBS
obsproject.com › home › tags
nvenc h.264 | OBS Forums
Hi! I have finally a good GPU. So I decided to make videos on youtube. I downloaded OBS, because it was free. I chose NVENC H 264 because it was supported. And the recording worked like normal. BUT, one DAY there was an update avaliable, so I downloaded it.
🌐
Streamshark
streamshark.io › obs-guide › enabling-hardware-encoding
How to Enable Hardware Encoding (NVENC) in OBS (Open Broadcaster Software)
Hardware encoding has been available on Nvidia cards since early 2012, so if you have a modern Nvidia GPU, you can likely enable it. Go to ‘settings’, then select ‘output’ from the side menu. Under the ‘encoder’ drop down select ‘NVENC H.264’. This will enable hardware encoding on your Nvidia graphics card.
🌐
Wikipedia
en.wikipedia.org › wiki › NVENC
NVENC - Wikipedia
1 week ago - The maximum NVENC HEVC coding tree unit (CU) size is 32 (the HEVC standard allows a maximum of 64), and its minimum CU size is 8. HEVC encoding also lacks Sample Adaptive Offset (SAO). Adaptive quantization, look-ahead rate control, adaptive B-frames (H.264 only) and adaptive GOP features were added with the release of Nvidia Video Codec SDK 7.
Top answer
1 of 3
30

As always with FFmpeg continuing development shifts the goal posts many times and this is certainly true of nvenc and FFmpeg. There have been 3 phases:

  1. Roll your own: Pre August 27th 2016 it was necessary to track down your own headers to build nvenc. Arduous and more than a little confusing.
  2. Built into the source: August 27th 2016 saw the required headers incorporated as part of the FFmpeg source, nothing required but the ability to compile the FFmpeg source from git, or use a 'release' version cut from git at this time.
  3. Use nv-codec-headers: On February 26th 2018 the NVidia headers were removed from the FFmpeg source. A separate git repository was created to hold continuing work with these headers. At the moment these headers must be installed as well as FFmpeg from git to get access to nvenc and friends.

Two steps are required:

1. Install the nv-codec-headers package:

Something like the following Terminal commands should suffice:

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

If for some reason you change your mind and wish to completely remove the installed files as well as the build directory simply run the following two Terminal commands:

sudo rm -v /usr/local/{lib/pkgconfig/ffnvcodec.pc,include/ffnvcodec/*.h}
rm -rfv $HOME/nv-codec-headers_build

And your system has been cleaned. If however you wish to continue use the following step:

2. Compile FFmpeg:

Use this very well tested guide:

  • Compile FFmpeg on Ubuntu, Debian, or Mint
    https://trac.ffmpeg.org/wiki/CompilationGuide/Ubuntu

The nv-codec-headers will be automagically recognised (no extra ./configure options are needed) and nvenc will be successfully built.

Testing:

I have tested this on Bionic Beaver LTS and the results are:

andrew@ilium:~$ ffmpeg -encoders 2>/dev/null | grep nvenc
 V..... h264_nvenc           NVIDIA NVENC H.264 encoder (codec h264)
 V..... nvenc                NVIDIA NVENC H.264 encoder (codec h264)
 V..... nvenc_h264           NVIDIA NVENC H.264 encoder (codec h264)
 V..... nvenc_hevc           NVIDIA NVENC hevc encoder (codec hevc)
 V..... hevc_nvenc           NVIDIA NVENC hevc encoder (codec hevc)
andrew@ilium:~$

And if you see a similar picture as above, and you have a supported graphics card, you are right to go :)

Notes:

  • The latest version corresponds to Video Codec SDK version 11.0.10 and requires NVidia drivers version 455.28 or newer.
  • Older versions: There is now an automated github copy of the nv-codec-headers which also creates tarballs perfect for using an older version of the headers. Great if you want the headers to sync with an older version of the NVidia drivers that you are unable or unwilling to update.
  • Hardware Acceleration Guide for FFmpeg: FFmpeg Wiki guide for hardware acceleration in general with FFmpeg, a canonical section for compiling and using nvenc...
2 of 3
7

Looks like that according to Focal's changelog that nv-codec-headers are now included.

ffmpeg (7:4.2.2-1ubuntu1) focal; urgency=medium

  • Build with external nv-codec-headers for NVENC accelerated video encoding. (LP: #1810649)

    • debian/control:
      • Add B-D libffmpeg-nvenc-dev
    • debian/rules:
      • Add --enable-nvenc for amd64 only

    -- Martin Wimpress Sat, 07 Mar 2020 08:39:35 +0000

🌐
MainConcept
mainconcept.com › hardware-encoding-iqsv-nvenc
HEVC/H.265 & AVC/H.264 Encoder SDK for IQSV/NVENC: MainConcept
Hardware-based HEVC/H.265 & AVC/H.264 encoding compliant with Intel 3rd-gen Intel Core Processors and newer and NVENC through the MainConcept API