GlossaryH.264 (AVC)

H.264 (AVC)

H.264, also called AVC (Advanced Video Coding), is a video compression standard that plays on almost every phone, browser, smart TV and set-top box. It was published in 2003 and became the default codec for web and broadcast video. H.264 offers solid quality at moderate file sizes and fast encoding. Newer codecs compress better, but none match its device support.

Why it matters

H.264 is the codec that guarantees reach. If a video must play for everyone, on old phones, browsers and smart TVs, H.264 is the safe bet. The tradeoff is cost: its files are larger than newer codecs, so bandwidth bills are higher at the same quality.

How it works

  1. The encoder splits each frame into 16 by 16 pixel blocks called macroblocks.
  2. Each block is predicted from nearby pixels or from matching areas in earlier or later frames.
  3. Only the difference between the prediction and the real image is kept and rounded to save bits.
  4. Entropy coding (CAVLC or CABAC) packs the result into a compact bitstream, usually stored in MP4 or HLS segments.

H.264 vs H.265: which should I use?

Use H.264 when reach matters most and H.265 (HEVC) when you need smaller files for 4K or HDR. HEVC can cut bitrate by roughly 25% to 50% at the same quality, but browser support is uneven and licensing is more complex. Many services keep H.264 as the default and add HEVC renditions for capable devices.

H.264H.265 (HEVC)
Published20032013
File size at same qualityBaselineAbout 25% to 50% smaller
Browser supportNearly universalUneven
Best forMaximum reach4K and HDR

What is a good bitrate for 1080p H.264?

A good bitrate for 1080p H.264 is around 5 to 8 Mbps for typical content at 24 to 30 frames per second. YouTube recommends 8 Mbps for 1080p uploads. Streaming renditions often use less, since fast motion like sports needs more bits while talking heads or slides need far fewer.

Is H.264 still used?

Yes, H.264 is still the most widely used video codec. It remains the default for web video, live streaming and video calls because almost every device decodes it in hardware. Newer codecs are growing, but most services still keep an H.264 version as a fallback.

Where it's used

Short video apps, OTT services, video platforms and live streamers keep H.264 as their default codec because it plays on almost every phone, browser and TV.

By the numbers