H.264

H.264, also known as Advanced Video Coding (AVC), is a codec for compressing high-definition video. H.264-encoded video is used for multiple applications like streaming movies and television programs, video conferencing, and storing video on Blu-Ray discs. It requires roughly half the bitrate of an MPEG-2-compressed video at the same level of quality, offering HD (1920 x 1080) video at 4 to 8 Mbps.

Like most other video codecs, H.264 uses lossy compression to discard unnecessary information from a video stream, shrinking the file size and bitrate of the resulting video. It uses a method known as inter-frame compression that breaks each frame into macroblocks, or 16x16 pixel squares. For each macroblock, the encoder analyzes the differences between the current frame and the previous one (known as the reference frame) and identifies the regions that have changed. The encoder then encodes only the differences between the frames. This way, scenes with little movement or a static background will need very little data per frame.

H.264-compressed video includes more detail at the same bitrate compared to MPEG-2 compression
H.264-compressed video includes more detail at the same bitrate compared to MPEG-2 compression

H.264 video compression uses considerably less data than previous compression standards. However, it requires much more computing power to decode a video stream. Most modern CPUs and GPUs include built-in support for H.264 decoding. Even though the format supports resolutions up to 8K, most H.264 decoding software is limited to HD video. Higher-resolution 4K video, as well as HDR video using 10-bit color, instead uses the more efficient successor format H.265 to achieve similar levels of quality at an even lower bitrate.

NOTE: H.264 is a codec, not a file format. H.264-encoded video is instead saved in a container format like .MKV or .MP4.

Updated April 26, 2023 by Brian P.

quizTest Your Knowledge

PNG and RTF are examples of what?

A
Proprietary formats
0%
B
Open formats
0%
C
Encrypted formats
0%
D
Legacy formats
0%
Correct! Incorrect!     View the Open Format definition.
More Quizzes →

The Tech Terms Computer Dictionary

The definition of H.264 on this page is an original definition written by the TechTerms.com team. If you would like to reference this page or cite this definition, please use the green citation links above.

The goal of TechTerms.com is to explain computer terminology in a way that is easy to understand. We strive for simplicity and accuracy with every definition we publish. If you have feedback about this definition or would like to suggest a new technical term, please contact us.

Sign up for the free TechTerms Newsletter

How often would you like to receive an email?

You can unsubscribe or change your frequency setting at any time using the links available in each email.

Questions? Please contact us.