---
title: "Video Codec — H.264, H.265 and AV1 Explained | Kinescope"
description: "A codec is the algorithm that compresses and decompresses video. H.264, H.265 (HEVC) and AV1 are the most common in modern streaming — here's how they differ."
url: https://kinescope.com/glossary/codec
---

# *Codec*

The algorithm that squeezes video small enough to stream — and rebuilds it on the viewer's screen. The choice behind quality, file size and device support.

**Updated:** May 2026 **5 min read** **Encoding**

In short

A codec is the compression algorithm that shrinks video for storage and streaming and rebuilds it for playback — H.264, H.265 and AV1 are the common ones, trading efficiency against device support.

## What is a codec?

A codec (coder–decoder) is the algorithm that compresses video into a manageable size for storage and streaming, then decompresses it for playback. Raw video is enormous — far too large to stream — so every video you watch online has been through a codec.

A codec is not the same as a file format. The **codec** encodes the actual video and audio; the **container** (MP4, MOV, [WebM](https://kinescope.com/glossary/webm) WebMGoogle’s open video container with VP8, VP9 or AV1 inside. Browser recordings produce it; MP4 is still the more compatible choice.[Open definition →](https://kinescope.com/glossary/webm) ) is the wrapper that holds the encoded streams plus metadata and subtitles. An MP4 file typically carries H.264 video and AAC audio inside it — two codecs, one container.

The codec choice drives the trade-off at the heart of streaming: better compression means smaller files and lower [bitrate](https://kinescope.com/glossary/bitrate) BitrateThe amount of data used per second of video. Higher bitrate means more detail and a larger file; the core lever behind streaming quality.[Open definition →](https://kinescope.com/glossary/bitrate) for the same quality, but often at the cost of heavier encoding and narrower device support.

## The common video codecs

| Codec | Also known as | Efficiency | Support | Notes |
| --- | --- | --- | --- | --- |
| [H.264](https://kinescope.com/glossary/h264) H.264 (AVC)The most compatible video codec: practically every browser, phone and smart TV plays it. The safe format to upload and deliver.[Open definition →](https://kinescope.com/glossary/h264) | AVC | Baseline | Universal | The safe default |
| [H.265](https://kinescope.com/glossary/hevc) HEVC (H.265)The successor to H.264: the same picture at up to half the bitrate. The iPhone records in it, but only some browsers play it.[Open definition →](https://kinescope.com/glossary/hevc) | HEVC | ~2× H.264 | Broad | Licensing cost; [4K](https://kinescope.com/glossary/4k) 4K (2160p)Ultra HD at 3840×2160 — four times the pixels of Full HD, and the point where codec choice starts paying for itself.[Open definition →](https://kinescope.com/glossary/4k) \-friendly |
| [AV1](https://kinescope.com/glossary/av1) AV1The open, royalty-free codec: about 40% less data than H.264 for the same picture, in exchange for heavier encoding.[Open definition →](https://kinescope.com/glossary/av1) | — | Best; royalty-free | Growing | Heavy to encode |
| VP9 | — | ~H.265; royalty-free | Broad (web) | Common on YouTube |

H.265 and AV1 reach similar quality at roughly half the bitrate of H.264 — the reason large platforms invest in them despite higher encoding cost.

## Audio codecs

Video always ships with an audio codec alongside it, and the same efficiency-vs-support logic applies:

| Codec | Efficiency | Where it's used |
| --- | --- | --- |
| AAC | Standard | HLS and most web video — the default |
| Opus | Better at low bitrates; royalty-free | WebRTC, WebM |
| MP3 | Older, less efficient | Legacy / audio-only |

Just like video, the platform picks an audio codec the target device can decode — you don't choose it by hand.

How Kinescope handles this

### You don't pick a codec on Kinescope

[Transcoding](https://kinescope.com/glossary/transcoding) TranscodingRe-encoding a source video into multiple resolutions and bitrates so a player can switch between quality levels on the fly.[Open definition →](https://kinescope.com/glossary/transcoding) runs automatically on upload, producing the right video and audio codecs and renditions, and each viewer is served the best version their device supports — packaged into [HLS](https://kinescope.com/glossary/hls) HLS (HTTP Live Streaming)Apple’s adaptive streaming protocol. Uses .m3u8 manifests and segmented delivery; supported on every browser, device and smart TV.[Open definition →](https://kinescope.com/glossary/hls) (and [DASH](https://kinescope.com/glossary/dash) DASHDynamic Adaptive Streaming over HTTP — an open ISO standard using .mpd manifests, common for DRM-protected premium content.[Open definition →](https://kinescope.com/glossary/dash) for [DRM](https://kinescope.com/solutions/video-hosting-drm)) and delivered from the [global CDN](https://kinescope.com/products/content-delivery-network). Upload a common format; the platform handles the rest.

[Explore video hosting](https://kinescope.com/products/video-hosting)

## Further reading

-   [Video codec — Wikipedia](https://en.wikipedia.org/wiki/Video_codec) — a vendor-neutral overview.
-   [Alliance for Open Media — AV1](https://aomedia.org/av1/) — the AV1 codec project.
-   [Video metadata viewer](https://kinescope.com/tools/video-metadata-viewer) — see which codec, profile and bitrate a file uses.

[![Denis Konnov](https://kinescope.com/blog-assets/authors/denis-konnov.jpeg)](https://kinescope.com/authors/denis-konnov)

Written by

[Denis Konnov](https://kinescope.com/authors/denis-konnov) Verified

CMO at Kinescope

Denis leads marketing and content at Kinescope, working closely with the platform's engineers. This glossary is reviewed and kept up to date by the team building Kinescope's streaming, encoding and CDN delivery infrastructure.

## FAQ

Can’t find the answer you need? Check out our [Help Center](https://docs.kinescope.com/).

A codec compresses and decompresses the video and audio streams (H.264, H.265, AV1). A container — like MP4, MOV or WebM — is the file wrapper that holds those encoded streams together with metadata and subtitles. An MP4 file, for example, commonly contains H.264 video and AAC audio. To convert the container to MP4, use the [online converter](https://kinescope.com/tools/video-to-mp4).

H.264 (AVC) is the safe default — universally supported and efficient enough for most needs. H.265 (HEVC) and AV1 achieve similar quality at roughly half the bitrate, saving bandwidth, but have narrower device support and higher encoding cost. Most platforms transcode into several so each viewer gets the best codec their device supports.

For compression, yes — H.265 (HEVC) delivers similar quality at about half the bitrate, which cuts storage and delivery costs. The trade-offs are more expensive encoding and licensing, plus slightly narrower device support. AV1 pushes efficiency further and is royalty-free, but is heavier to encode.

AV1 is a modern, royalty-free video codec developed by the Alliance for Open Media. It offers better compression than H.265 with no licensing fees, which is why streaming giants adopt it — at the cost of significantly heavier encoding. Device and browser support is growing steadily.

## The best codec for every viewer.

Kinescope transcodes and delivers automatically — you upload, viewers get the right version.

[Start free](https://app.kinescope.io/user/create?lang=en)[Read the docs](https://docs.kinescope.com/)
