Reference · Video hardware

Hardware video decoding and encoding explained

How fixed-function media engines differ from CPU and shader processing, and how to check codec, profile and chroma support.

Decode, post-processing and encoding are separate stages; unsupported profiles may use CPU fallback.
Decode, post-processing and encoding are separate stages; unsupported profiles may use CPU fallback.

Separate engines for different jobs

Modern GPUs and processors often contain dedicated hardware for video decoding and encoding. Decoding reconstructs frames from an existing bitstream; encoding creates a new compressed stream. Hardware video engines can reduce CPU workload and energy use, but their codec support is determined by the silicon, driver and application. A powerful 3D graphics card is not necessarily a more capable video decoder.

A decode engine may support H.264, HEVC or AV1 with different profile, level, resolution, chroma and bit-depth constraints. The encode engine can have a different set of capabilities. For example, AV1 decode support does not establish AV1 encoding support.

Major platforms

VendorTypical hardware / interface
NVIDIANVDEC / NVENC; Video Codec SDK
IntelQuick Sync media engines; oneVPL and platform APIs
AMDVCN media engines; AMF and platform APIs
AppleMedia engines accessed through platform frameworks

On Windows, applications may use D3D11 video decoding or another acceleration interface. The driver chooses a supported hardware profile; unsupported streams may fall back to software. Video decoding, post-processing, scaling, tone mapping and display presentation remain separate operations even if several are GPU-accelerated.

How to diagnose playback

Use the media inspector to identify the video codec, profile, bit depth, chroma format and resolution. Consult the exact GPU or processor support table, not just the brand or product generation. Check the player’s active decoder and GPU video-decode activity. A low CPU load can be suggestive but does not prove which stage is accelerated.

A file may play slowly because of software fallback, insufficient memory bandwidth, expensive subtitles or HDR tone mapping rather than the codec alone. Test an ordinary 8-bit 4:2:0 sample and then the problematic profile. If the software path works, investigate driver and profile support before converting the source.

Encoding is a different quality decision

Hardware encoders offer throughput and predictable resource usage. At a given bitrate, quality depends on encoder generation, preset, rate control, content and settings. Compare actual output rather than assuming that hardware encoding is either always inferior or always equivalent to software. Preserve the original and choose an access encode for the intended target device.

Sources and further reading

From original format to modern software

Modern GPUs may omit legacy formats even though maintained CPU decoders can handle them. For old AVI or QuickTime files, a failed hardware path does not prove that software decoding is impossible; inspect codec and profile first.

Continue with Play older files · Reader, decoder and renderer · Legacy compatibility.