NVIDIA NVENC H.264 vs HEVC: When HEVC Pays Off in Transcoding Pipelines

NVIDIA NVENC H.264 vs HEVC: when the bitrate saving repays encode cost and a second ladder, by content, GPU generation, device reach and measured quality.

NVIDIA NVENC H.264 vs HEVC: When HEVC Pays Off in Transcoding Pipelines
Written by TechnoLynx Published on 11 Jul 2026

The content has to compress well enough for the saving to matter, your devices have to decode HEVC, and you have to deliver enough hours to pay for running a second ladder. An independent 2015 subjective test of commercial encoders on 1080p scenes found that HEVC can match H.264 at roughly half the bitrate, but that content type can break this factor-of-two rule. Measured gains for tuned encoders on real ladders are smaller than that headline. HEVC is not optional for 4K or HDR distribution, because that is the format those devices expect.

Where an H.265 Encoder Finds Its Bitrate Savings

An H.265 (HEVC) encoder takes raw frames and turns them into a compliant compressed bitstream. It does this by removing redundancy within a frame (spatial) and between frames (temporal). NVIDIA describes the NVENC pipeline as taking YUV or RGB input and running motion estimation and mode decision, motion compensation and residual coding, and entropy coding to produce the bitstream. Software encoders such as x265 do the same work on the CPU.

Each frame is split into blocks. For each block the encoder predicts the content, either from neighbouring pixels in the same frame or from reference frames using motion vectors. It then transforms and quantises only the residual, meaning the part the prediction got wrong. The quantisation parameter (QP) decides how much of that residual survives. A higher QP means fewer bits and more distortion.

The bitrate saving over H.264 comes from giving the encoder more choices. HEVC allows larger and more flexible block partitions and transform sizes. x265’s documentation shows the trade-off clearly: larger maximum transform units compress the residual more efficiently but cost more computation. Exhaustive motion search is described as an order of magnitude slower than other methods and not much better than them.

The preset sets how much of that search you pay for, and so encode speed and size. The gains show up most at higher resolutions: the FFmpeg guide to libx265 puts its savings at around 25 to 50% over libx264, most pronounced at 1080p and above.

There is also a perceptual layer on top of pure rate-distortion. A plain distortion measure tends to favour blurred blocks over blocks with slightly wrong motion, while the human eye prefers the wrong motion. x265 therefore adds psycho-visual adjustments to its mode decisions. This matters later, because x265’s psy-rdoq improves perceived quality at the cost of lower metric scores.

Is an H.265 Encoder Better than H.264, and When Does Switching Pay Off?

HEVC is more efficient, but how much more depends on the content, the bitrate and how well each encoder is tuned. An independent subjective study of 1080p scenes found that HEVC at half the bitrate matched or beat H.264 in three of four comparisons. In the fourth, H.264 led by 2.75% of the rating scale. The same study found that at 4 Mbps, HEVC mean opinion scores spanned 38% of the subjective scale across scenes, which shows how much the choice of content swings the result. At low bitrates, earlier work it cites found the two codecs gave similar quality.

A tuned comparison of x264 and x265 narrows the headline further. For 1080p content, tuned x265 cut bandwidth by 16% to 27% against tuned x264, depending on where viewers sit on the ladder. It cost about 7.5 times more to encode. The test put optimised x264 at about $3.99 per hour of content and optimised x265 at about $29.77. That ratio is where the 7.5 comes from (29.77 ÷ 3.99 ≈ 7.5).

Ignoring royalties, the extra encode cost paid for itself after about 3,200 viewing hours for a top-heavy audience and about 10,000 for a mobile audience. x265 run without optimisation gained almost nothing (−0.59%) over optimised x264.

On NVENC the encode-cost side of that calculation shrinks, because the work runs on a fixed-function engine. The delivery side does not change with the encoder. HEVC device support and licensing make it a second ladder alongside H.264 for most services. One CDN vendor’s 2026 analysis notes that this doubles storage and halves cache efficiency per rendition. HEVC also competes with AV1, which offers similar compression quality under a free licence. If you are going to build a second ladder anyway, AV1 belongs in that conversation.

NVENC H.264 vs HEVC Decision Table

Situation Lean towards Why
4K or HDR distribution HEVC Devices that play 4K HDR expect HEVC, and H.264 is not a realistic alternative
Top-heavy audience on large screens, high viewing hours HEVC alongside H.264 Bandwidth savings are largest at the top rungs, and payback comes sooner
Mostly mobile audience, low rungs H.264, unless volume is very high Savings drop and payback takes roughly three times as many viewing hours
Very low bitrates (a few hundred kbps) H.264 Prior tests found similar quality for both codecs at these rates
Small catalogue or low viewing volume H.264 Payback needs thousands of viewing hours, and a second ladder doubles storage
Device population without HEVC decode H.264 (or evaluate AV1) Reach decides first; AV1 offers similar compression under a free licence

Our guide to what bitrate is and how it relates to quality and streaming cost covers how bitrate relates to quality and streaming cost.

Presets, Rate Control and GOP: What Each Setting Buys

Presets trade encode time for compression efficiency. Rate control decides how bits are spread across frames and how closely the output tracks a target. GOP structure decides how often the encoder pays for an expensive intra frame.

NVENC exposes four tuning modes: high quality, low latency, ultra-low latency and lossless. Each has seven presets from P1 (fastest) to P7 (slowest, highest quality), and each preset sets all the relevant parameters for its tuning mode. Video Codec SDK 12.2 added an ultra high quality (UHQ) tuning that combines lookahead and temporal filtering with fixed GOP structures and five B-frames.

Rate control on NVENC runs in firmware. These are the modes that matter for transcoding:

  • CBR keeps the bitrate steady. For live ingest it avoids throughput spikes when scene complexity changes. Twitch, for example, rejects ingest that is not CBR.
  • VBR with target quality holds roughly constant quality per frame on a 0 to 51 scale for H.264 and HEVC. The average bitrate can vary significantly with content, capped by a maximum bitrate.
  • Two-pass modes analyse frame complexity first and spend bits more evenly. They land closer to the target, especially for CBR, at lower throughput than one-pass.

On x265 the equivalent quality-first mode is CRF. It is the default rate control, runs from 0 to 51, defaults to 28 and makes no attempt to hit a particular bitrate. The FFmpeg guide says libx265 at CRF 28 should look about like libx264 at CRF 23, at about half the file size.

Measurements of the x265 presets show what they cost in practice. Moving from medium to slower added 2.16 VMAF points and 8.5 times the encoding time. Medium delivered 97.7% of veryslow’s VMAF in 6% of the time.

GOP length is cheaper to change than the preset. In the same tests a ten-second GOP improved 1080p VMAF by 0.79 points over two seconds, while a one-second GOP cost 1.31 points. The practical limit is the longest GOP your delivery system supports.

Two NVENC settings give HEVC gains at little or no performance cost. NVIDIA reports that converting 8-bit input to 10-bit output gives a 3 to 4% efficiency gain at negligible performance cost. Enabling B-frames as references improves quality with no performance impact, according to the programming guide.

NVENC HEVC or x265 Slow: Live Versus VOD Economics

For live HEVC, the GPU encoder wins on density and cost. For VOD, the slowest software presets still save bits, and the sources disagree on how many.

The reference we treat as neutral is an academic evaluation of GPU hardware encoders. It found that hardware encoders cannot match the best-quality software presets, but they reach the rate-distortion performance of the medium presets used for real-time encoding. They do it at significantly lower power, and they match the throughput of very fast software presets on high-end desktop CPUs.

NVIDIA’s own figures are more favourable to the GPU. NVIDIA says UHQ at P4 and P7 surpasses x265 Slow in bitrate savings at 3 to 4 times the frame rate. Its benchmarking on comparable cloud instances put GPU HEVC at 2 to 4 times cheaper than CPU x265 for low-latency and UHQ tunes.

A 2026 vendor analysis, partly built on stated estimates, takes the opposite side. It says x265 slow typically saves 15 to 25% against NVENC HEVC at equal VMAF for VOD. It estimates the break-even at about 400 views at $4 per TB of delivery and about 80 views at $20 per TB.

We give more weight to the independent evaluation than to either vendor. Even so, the honest reading is that the gap depends on the SDK version, the tuning and the content. It is the number to measure on your own titles before you commit a ladder.

The decision logic follows from that. Live channels, and long-tail VOD that few people watch, favour NVENC HEVC because encode cost dominates. Head-of-catalogue VOD with high view counts can justify the slow presets of MulticoreWare’s x265 encoder, because every view repays the encode. The HEVC hardware encoder piece covers fixed-function encoding in depth.

Does the NVENC Generation (Turing, Ampere, Ada) Change HEVC Quality or Density?

The generation changes engine count and features, while quality per bit barely moves. The arXiv evaluation tested NVENC across six architectures, from first-generation Maxwell to Ada Lovelace. It found negligible rate-distortion differences between hardware released over the past six years. The gains came from the new codecs that newer generations implement. Where quality did shift, it tracked a new feature. Turing’s support for B-frames in HEVC gave a slight bit saving over Pascal, which lacked it.

What does change by generation:

  • Engine count. Turing and Ampere had one encoder per chip, while Ada supports up to three, with the driver balancing load across them automatically. Some earlier variants (second-generation Maxwell, Pascal, Volta) also carried two or three engines.
  • Bit depth. 10-bit HEVC (Main 10) has been available since Pascal. 10-bit H.264 is supported starting with Blackwell. Ada was the first generation to support 10-bit 8K60 HEVC encoding.
  • SDK features. Reconstructed-frame output, encoded-frame statistics, iterative encoding and external lookahead have been available for HEVC on Turing and later since SDK 12.1.
  • Split-frame encoding. On Ada, split-frame encoding divides one frame across several NVENCs for speed. It requires two or more engines and a frame height of at least 2112 pixels for HEVC, and NVIDIA states that it degrades quality.

For transcoding economics, the engine count is the figure that counts. Extra engines raise the aggregate capacity of the GPU. That capacity only turns into lower cost per stream if the scheduler keeps every engine fed with parallel sessions. Our piece on the hidden cost of GPU underutilisation covers the cost of capacity left idle. Because NVENC capabilities vary by generation, NVIDIA recommends querying the encoder’s capabilities before relying on a feature.

How Do We Measure H.265 Encoder Quality at a Target Bitrate Across Device Classes?

Fix a quality target, encode each candidate until it reaches that target, and compare bitrate and encode cost at that point. Ozer anchored his tests on a quality level: each clip was tested at a custom bitrate that produced VMAF 93 with x265 slow. Netflix’s libvmaf reference implementation computes VMAF and also includes PSNR, SSIM, MS-SSIM and other metrics, so one tool covers VMAF, PSNR and SSIM.

Three pitfalls distort encoder comparisons:

  • Tuning that games or hurts the metric. NVIDIA notes that spatial adaptive quantisation improves perceived quality but usually lowers PSNR. x265’s psy-rdoq trades metric scores for perceived detail. The arXiv study disabled adaptive quantisation before measuring.
  • Trusting one objective metric too far. In the NTIA study, neither PSNR nor VQM correlated well with subjective results. SSIM saturates at high bitrates, while PSNR is unbounded.
  • Quoting a single BD-rate number. BD-rate figures depend on the metric, on whether the rate-distortion curves overlap, and on the curve-fitting implementation.

Across device classes, measure at the rungs each audience actually receives. Ozer’s savings ranged from 27% for a top-heavy audience to 16% for a mobile one on the same encodes. On NVENC, the reconstructed-frame output lets you score quality without decoding the stream again. This is where we would start any encoder switch: profile on your own content and audience mix before changing anything, because a benchmark from someone else’s clips describes their pipeline, not yours. Comparing devices for encode throughput across hardware is a measurement problem in its own right, and it belongs with benchmarking rather than encoder tuning.

Multi-View Content and the H.264/HEVC Family

How Does HEVC Encoder Choice Change When the Content Carries Several Correlated Views?

HEVC’s multi-layer extensions (Annex G of the specification, building on Annex F) let a single bitstream carry several related views or layers. MV-HEVC uses this to encode the left and right eye views of stereoscopic 3D as separate layers. Our parent guide on multiview coding and MV-HEVC decoder support covers inter-view prediction and decoder limits.

How Does an HEVC Encoder Relate to H.264 and to MVC?

HEVC was designed as the successor to H.264, with the aim of being roughly twice as efficient. MVC is the multiview extension of H.264/AVC. MV-HEVC carries the same idea into HEVC’s layered syntax. In NVENC both codecs run on the same hardware encoder but use separate codec-specific parameter structures. Temporal scalable coding as specified for H.264 is also supported, though not together with B-frames.

How Does Encode Quality Upstream Affect Model Triage in a Moderation Workflow?

If a moderation or analytics model in an AI media pipeline scores the delivery rendition rather than the source, the encoder settings become part of the model’s input distribution.

Where an HEVC Encoder Belongs in a Cost-Aware Transcoding Pipeline

An HEVC encoder earns its place on rungs where bandwidth dominates cost: high resolutions, 4K and HDR, and titles with enough viewing hours to repay the encode and the extra storage. It does not belong on very low-bitrate rungs of a few hundred kbps, where earlier tests found the codecs perform about the same, or in a catalogue whose viewing hours cannot repay a second ladder.

The tuned x265 tests also give a priority order worth carrying into the design. The ladder matters most, because it has to use HEVC’s advantage at higher resolutions. Presets come next, and they only make sense for content viewed thousands of times.

On the GPU, the encoder is not the only possible bottleneck. NVIDIA flags decode speed and the compute steps in between (scaling, pixel-format conversion, AI filters) as possible bottlenecks. With split-frame encoding, NVDEC can become the bottleneck.

TechnoLynx profiles this kind of pipeline for media and telecom teams. The work measures which H.265 encoder, preset and CPU or GPU path reaches the quality target at the lowest cost per stream before the encoding ladder is committed. Our AI engineering work for media, broadcast and telecom covers the pipelines around it.

What stays open for any team is the size of the NVENC-versus-x265 gap on its own content. The published figures point in opposite directions. Profiling your own content is what settles it.

FAQ

Are x265 and H.265 the Same?

No. H.265 is the standard, and x265 is one software encoder that produces H.265 bitstreams, available in FFmpeg as libx265.

What Is the Difference Between H.265 and H.265 10-Bit?

10-bit refers to the Main 10 profile’s higher bit depth, which NVIDIA GPUs have encoded since Pascal. NVIDIA reports that encoding 8-bit input as 10-bit improves efficiency by 3 to 4%.

Should I Use VBR or CBR?

Use CBR for live ingest, where a steady bitrate prevents buffering and frame drops. Use quality-targeted VBR or CRF for VOD, where the bitrate is allowed to follow the content.