Nvidia NVENC

From Wikipedia, the free encyclopedia
Jump to navigation Jump to search

Nvidia NVENC is a feature in Nvidia graphics cards that performs video encoding, offloading this compute-intensive task from the CPU to the GPU. It was introduced with the Kepler-based GeForce 600 series in March 2012.[1][2]

The encoder is supported in many streaming and recording programs, such as Wirecast, Open Broadcaster Software (OBS) and Bandicam, and also works with Share game capture, which is included in Nvidia's GeForce Experience software.[3][4][5]

Consumer targeted GeForce graphics cards officially support no more than 2 simultaneously encoding video streams, regardless of the count of the cards installed, but this restriction can be circumvented on Linux and Windows systems by applying an unofficial patch to the drivers.[6] Professional cards support between 2 and 21 simultaneous streams per card, depending on card model and compression quality.[1]

It is accompanied by NVDEC for video decoding in Nvidia's Video Codec SDK.[1]


NVENC has undergone several hardware revisions since its introduction with the first Kepler GPU (GK104).[7]

NVENC Summary[8]
GPU Support H264 H265
Max number


Supported Resolution Supported Resolution
First Gen. GK107 Yes 1080p No -
Second Gen. GM107
GM108 No -
Third Gen. GM206 Yes 4K60 Yes 4K60
GM204 2
Fourth Gen. GP107 2
Fifth Gen. GV10x 3
Sixth Gen.[9] TU106 1 8K30 8K30
TU104 1
TU102 1
TU100 ?

First generation, Kepler GK1xx[edit]

The first generation of NVENC, which is shared by all Kepler-based GPUs, supports H.264 high-profile (YUV420, I/P/B frames, CAVLC/CABAC), H.264 SVC Temporal Encode VCE, and Display Encode Mode (DEM).

NVidia's documentation states a peak encoder throughput of 8× realtime at a resolution of 1920×1080 (where the baseline "1×" equals 30 Hz). Actual throughput varies on the selected preset, user-controlled parameters and settings, and the GPU/memory clock frequencies. The published 8× rating is achievable with the NVENC high-performance preset, which sacrifices compression efficiency and quality for encoder throughput. The high-quality preset is considerably slower but produces fewer compression artifacts.

Second generation, Maxwell GM107[edit]

Introduced with the first-generation Maxwell architecture, second generation NVENC adds support for the high-performance HP444 profile (YUV4:4:4, predictive lossless encoding), and increases encoder throughput up to 16× realtime, which corresponds to about 1080p @ 480 Hz with the high-performance preset.)

Maxwell GM108 does not have NVENC hardware encoder support.

Third generation, Maxwell GM20x[edit]

Introduced with the second-generation Maxwell architecture, third generation NVENC implements the video compression algorithm High Efficiency Video Coding (a.k.a. HEVC, H.265) and also increases the H.264 encoder's throughput to cover 4K-resolution at 60 Hz (2160p60). However, it does not support B-frames for HEVC encoding (just I and P frames). 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. [10] These features rely on CUDA cores for hardware acceleration.

SDK 7 supports two forms of adaptive quantization; Spatial AQ (H.264 and HEVC) and Temporal AQ (H.264 only).

Nvidia's consumer-grade (GeForce) cards and some of its lower-end professional Quadro cards are restricted to three simultaneous encoding jobs. Its higher-end Quadro cards do not have this restriction.

Fourth generation, Pascal GP10x[edit]

Fourth generation NVENC implements HEVC Main10 10-bit hardware encoding. It also doubles the encoding performance of 4K H.264 & HEVC when compared to previous generation NVENC. It supports HEVC 8K, 4:4:4 chroma subsampling, lossless encoding, and sample adaptive offset (SAO).

Nvidia Video Codec SDK 8 added Pascal exclusive Weighted Prediction feature (CUDA based). Weighted prediction is not supported if the encode session is configured with B frames (H.264).

There is no B-Frame support for HEVC encoding, and the maximum CU size is 32×32.

The NVIDIA GT 1030 and the Mobile Quadro P500 are GP108 chips that don't support the NVENC encoder. [1]

In laptop graphics, NVIDIA MX Graphics do not include NVENC as they are based on a Maxwell-generation GM108 or a Pascal-generation GP108 chip. [11] The GeForce MX350 is a GP107 chip whose NVENC encoder is disabled during manufacture.

Fifth generation, Volta GV10x/Turing TU117[edit]

Volta NVENC has similar performance as Pascal's NVENC. [2]

It does not offer support for HEVC B-Frames.

Sixth generation, Turing TU10x/TU116[edit]

Sixth generation NVENC implements HEVC 8K encoding at 30FPS, HEVC B-Frames support and provides up to 25% bitrate savings for HEVC and up to 15% bitrate savings for H.264. The Nvidia GeForce GTX 1650 is exempt from this generation however, as it uses Volta NVENC instead of Turing. The GTX 1650 Super however uses the Turing NVENC engine as it is based on the TU116 rather than the TU117 used in the regular GTX 1650. [12]

Operating system support[edit]

The Nvidia NVENC SIP core needs to be supported by the device driver. The driver provides one or more interfaces, (e.g. OpenMAX IL) to NVENC. The NVENC SIP core can only be accessed through the proprietary NVENC API (as opposed to the open-source VDPAU API).

It is bundled with Nvidia's GeForce driver.

NVENC is available for Windows and Linux operating systems.[1] The free and open-source nouveau device driver does not support Nvidia NVENC.[13]

Application software support[edit]

See also[edit]


  1. ^ a b c d "NVIDIA VIDEO CODEC SDK". NVIDIA Developer. Nvidia. Retrieved 2017-11-12.
  2. ^ "Maxwell's Feature Set: Kepler Refined". AnandTech. 2014-02-18.
  3. ^ "System Requirements for NVIDIA GeForce Experience | GeForce | GeForce". www.geforce.com. Retrieved 2016-08-17.
  4. ^ "Wirecast Tech Specs". telestream.net. Retrieved 2017-12-19.
  5. ^ "Open Broadcaster Software - Index". obsproject.com. Archived from the original on 2019-03-23. Retrieved 2016-08-17.
  6. ^ "nvidia-patch". GitHub.
  7. ^ "S5613 - High-Performance Video Encoding Using NVIDIA GPUs". Nvidia.
  8. ^ "Video Encode and Decode GPU Support Matrix". NVIDIA Developer. 2016-11-09. Retrieved 2020-03-11.
  9. ^ "Video Encode and Decode GPU Support Matrix". NVIDIA Developer. 2016-11-09. Retrieved 2020-03-16.
  10. ^ http://on-demand.gputechconf.com/gtc/2016/presentation/s6226-abhijit-patait-high-performance-video.pdf
  11. ^ [NVIDIA GeForce MX250 and MX230 – two "new" graphics for laptops: https://newsbeezer.com/polandeng/nvidia-geforce-mx250-and-mx230-two-new-graphics-for-laptops/]
  12. ^ https://www.pcgamer.com/nvidia-geforce-gtx-1650-super-review/
  13. ^ "Nouveau Feature Matrix". Freedesktop.org.
  14. ^ Cut to the Video: Adobe Premiere Pro Helps Content Creators Work Faster with GPU-Accelerated Exports
  15. ^ "nvenc.c H.264 hardware encoding using nvidia nvenc".
  17. ^ HandBrake 1.2.0 released
  18. ^ AVIDemux Changelog

External links[edit]