---
title: "AV1 Codec: How It Compresses and Where It Plays - CE.SDK Glossary"
description: "AV1 is the open video codec the Alliance for Open Media licenses royalty-free. See how it compresses, which devices play it and how CE.SDK exports AV1."
url: "https://img.ly/glossary/av1/"
type: "page"
---

> This is the markdown version of [AV1 Codec: How It Compresses and Where It Plays - CE.SDK Glossary](https://img.ly/glossary/av1/). For all pages in one file, see [llms-full.txt](https://img.ly/llms-full.txt). For an index of all available pages, see [llms.txt](https://img.ly/llms.txt).

---

# AV1

Also known as: AOMedia Video 1

## What Is AV1?

AV1, short for AOMedia Video 1, is an open video coding format from the Alliance for Open Media, a group of browser makers, chip makers and streaming services formed in 2015 to build a royalty-free codec for web video. The specification came out in 2018. It grew out of VP9's code, with ideas from Google's VP10, Cisco's Thor and Daala, a codec project from Xiph and Mozilla.

Like H.264, AV1 cuts each frame into blocks, guesses each block from parts of the picture that were coded before it and keeps only the error left over from that guess. Where H.264 works on a fixed grid of 16 × 16 macroblocks, AV1 starts from superblocks of up to 128 × 128 pixels and splits each one to fit the picture, so flat sky keeps large blocks while a small boat gets small ones. The steps every block-based codec shares are on the [video compression](https://img.ly/glossary/video-compression.md) page.

Every major browser plays AV1, though Safari only does on Apple devices with an AV1 hardware decoder. YouTube has streamed AV1 since 2018 and Netflix since 2020, and by December 2025 about 30% of Netflix streams used it.

## What Makes AV1 Files Smaller?

MDN rates AV1's compression above VP9 and [H.265](https://img.ly/glossary/h264-vs-h265.md), and as much as 50% above H.264. AV1 is based on VP9 and adds tools that give the encoder more ways to code each part of the picture. Every extra option is one more the encoder has to try, which is why AV1 encodes more slowly than older codecs.

### Blocks split ten ways to fit the picture

A superblock of 128 × 128 or 64 × 64 pixels can be cut into smaller blocks down to 4 × 4, in ten patterns where VP9 has four. The six new patterns are T shapes and sets of four thin stripes, which can follow a horizon or a line of text instead of cutting across it.

### Motion that follows a zoom or a turn

Older codecs describe motion as blocks shifting sideways or up and down. AV1's warped and global motion tools also describe zooms and rotations, the patterns a moving camera leaves across the frame, so a camera move needs less motion data.

### Filters that clean up edges and blur

CDEF smooths along the direction of each edge to remove ringing, the faint ripples next to sharp lines, and loop restoration removes the blur that block coding leaves behind. Both run inside the coding loop, so later frames predict from the cleaned picture.

### Film grain the decoder draws back in

Grain is random, so coding it either costs many bits or loses it. AV1 lets the encoder strip the grain out, send a short description of it and have the decoder draw matching grain over the picture during playback.

## What Are the AV1 Profiles and Levels?

A profile tells a decoder which bit depths and [color layouts](https://img.ly/glossary/chroma-subsampling.md) a file may use, and each of AV1's three profiles adds to the one before it. A 4:2:0 file keeps color at half the width and half the height of the picture, 4:2:2 keeps it at half the width, and 4:4:4 keeps all of it.

Levels set the limits within a profile: frame size, frame rate and [bitrate](https://img.ly/glossary/bitrate.md). Level 4.0 covers 1920 × 1080 at 30 fps and level 5.1 covers 3840 × 2160 at 60 fps, while levels 6.0 to 6.3 reach 7680 × 4320. From level 4.0 up, the bitrate cap also depends on the tier, Main or High, which is separate from the profile: at level 4.0, the Main tier allows 12 Mbps and the High tier 30 Mbps.

- **Main**: Bit depth: 8 or 10 bits, Color detail: 4:2:0, or grayscale

- **High**: Bit depth: 8 or 10 bits, Color detail: 4:2:0 or 4:4:4, or grayscale

- **Professional**: Bit depth: 8, 10 or 12 bits, Color detail: 4:2:0, 4:2:2 or 4:4:4, or grayscale

## Which Devices Play AV1?

Chrome and Firefox decode AV1 in software when the device has no AV1 decoder chip, Firefox with dav1d, an open-source decoder from the VideoLAN community. Safari plays AV1 only with Apple's hardware decoder, found in devices such as M3 Macs and later, the iPhone 15 Pro, and the iPhone 16 and later.

Hardware decoders came to PC graphics from Intel, Nvidia and AMD in 2020, and to Apple's chips with the M3 and the A17 Pro. Google's compatibility rules for Android also require new phones to decode AV1 for apps.

## Which Chips Encode AV1?

Hardware AV1 encoders arrived two years after the decoders, with Nvidia's RTX 40 graphics cards, AMD's RDNA 3 cards and Intel's Arc cards in 2022. The same Android rules require new phones to give apps an AV1 encoder as well, though not necessarily in hardware.

Where a device has no hardware encoder, AV1 is encoded in software. The reference encoder, libaom, started out far slower than HEVC encoders, so streaming services run faster ones such as SVT-AV1 or hand the work to a graphics card.

## When Should You Use AV1?

Use AV1 when a video will play many times on devices that decode it, and pick another codec where encoding speed or reach matters more; the [AV1 vs HEVC](https://img.ly/glossary/av1-vs-hevc.md) entry weighs it against H.265. A used-car marketplace, for example, might serve each listing's walk-around video as AV1 to browsers that play it and an H.264 MP4 to Safari on older iPhones.

### Use AV1 for

- **Video that plays far more often than it is encoded** — Product, listing and course videos pay for the slow encode once and download smaller on every view after it.

- **Viewers on recent phones and computers** — Newer PC graphics, Android flagships, M3 Macs and recent iPhones decode it in hardware, and new Android phones must decode it.

- **Grainy or film-like footage** — Film grain synthesis lets the encoder send the grain as a short description instead of coding every speck of it.

### Skip AV1 for

- **Viewers on older iPhones and Macs** — Safari can't play AV1 without Apple's hardware decoder, so those viewers need an H.264 copy.

- **Exports your users sit and wait for** — AV1 takes the longest of the WebM codecs to encode, and VP9 or VP8 finish sooner.

- **Uploads to YouTube** — YouTube asks for H.264 uploads and makes its own AV1 versions for the viewers who can play them.

- **Video calls that must reach every browser** — WebRTC browsers must implement VP8 and H.264, while AV1 works only when both sides of the call support it.

## How AV1 Works in CE.SDK

AV1 clips come into [CE.SDK's video editor](https://img.ly/products/video-sdk.md) in [WebM files](https://img.ly/glossary/webm-vs-mp4.md) on Web, iOS, Android and Server, and in [MKV files](https://img.ly/glossary/mkv-vs-mp4.md) as well. Your app exports AV1 by setting `videoCodec` to `VideoCodec.AV1` on a WebM export. Without that setting a WebM export gets VP9, and an MP4 export set to AV1 fails, so AV1 always goes out as WebM.

Browser exports go through the [WebCodecs](https://img.ly/glossary/webcodecs.md) encoders that the browser itself ships, with no fallback, so check `av1Encode` before you offer AV1, as in the code. On iOS and Android, and in `@cesdk/node-native` on a server, CE.SDK bundles its own AV1 encoder, which runs in software on the two mobile platforms. CE.SDK's docs rate AV1 as the smallest file at equal quality and the slowest to encode, and for a slow export they suggest VP9 or VP8, or a smaller size or frame rate.

**Export AV1, or VP9 where the browser can't**

```typescript
import { VideoCodec } from '@cesdk/engine';
await engine.editor.checkCapabilities();
const av1 =
  engine.editor.getCapabilityState('av1Encode') === 'supported';
// No AV1 encoder in this browser: fall back to VP9.
const blob = await engine.block.exportVideo(page, {
  mimeType: 'video/webm',
  videoCodec: av1 ? VideoCodec.AV1 : VideoCodec.VP9,
  onProgress
});
```

[Export to WebM guide](https://img.ly/docs/cesdk/js/export-save-publish/export/to-webm-764271.md)

### AV1 in an MP4 file doesn't import

CE.SDK's MP4 import takes H.264 and H.265 video, so an MP4 with an AV1 track fails to import with an unsupported-codec error. Re-encode such a file to H.264 or H.265, or bring the AV1 video in as a WebM file instead.

### 10-bit AV1 plays with SDR colors

CE.SDK shows 10-bit VP9 and AV1 videos with standard dynamic range (SDR) colors, so an HDR clip won't show its extra brightness range in the editor.

### Transparent video needs VP8 or VP9

Setting `exportAlpha` on an AV1 export fails it. Transparency comes from VP8 or VP9 WebM exports on iOS, macOS, Android and `@cesdk/node-native`, never from the browser, and the [VP9](https://img.ly/glossary/vp9.md) page covers the setup.

### Which AV1 profiles work in your browser?

Each row is the browser's own WebCodecs answer for one AV1 profile at level 4.0, 1080p at 30 fps, and the [Opus](https://img.ly/glossary/opus-codec.md) row covers the sound in a WebM export. Whether CE.SDK can export AV1 in this browser is what `av1Encode` reports.

## FAQs

### AV1

**Q: Is AV1 royalty-free?**

A: AOMedia's members license the patents they hold on AV1 to anyone at no charge, as long as the licensee doesn't sue over AV1 patents itself. Sisvel, a company outside AOMedia, announced in 2019 that it was building a patent pool for AV1 from other companies' patents, and it has sold licenses to that pool since 2020.

**Q: Can an MP4 file hold AV1 video?**

A: Yes. AOMedia publishes a binding that puts AV1 in MP4 files, the form YouTube uses, and WebM and Matroska files carry AV1 as well. CE.SDK exports AV1 in WebM files and opens it from WebM or MKV, though, and an AV1 MP4 fails to import, so convert it to H.264 or H.265, or to a WebM file, before your users bring it in.

**Q: What is AVIF?**

A: AVIF, the AV1 Image File Format, stores a still image coded with AV1 inside a HEIF file. It is open and royalty-free like AV1, and it compresses a photo with the tools AV1 uses inside a single video frame.

**Q: Why does AV1 take so long to encode?**

A: For every block, the encoder weighs more split patterns, prediction angles and filter settings than older codecs offer, and each test costs time. The early reference encoder was orders of magnitude slower than HEVC encoders, which is why streaming services run faster encoders such as SVT-AV1, built by Intel and Netflix, or the hardware encoders in newer graphics cards.

**Q: What came after AV1?**

A: AOMedia released AV2, AV1's successor, at the end of May 2026. It aims for better compression than AV1 and adds support for virtual reality, augmented reality and split-screen video.

## Links

- [Video Editor SDK](https://img.ly/products/video-sdk.md): Let your users edit video in your app and export AV1 in WebM where the device can encode it.
- [Export to WebM](https://img.ly/docs/cesdk/js/export-save-publish/export/to-webm-764271.md): Pick AV1, VP9 or VP8 for a WebM export and check which of them the browser encodes.
- [File format support](https://img.ly/docs/cesdk/js/import-media/file-format-support-8cdc84.md): Check which containers bring AV1 video into CE.SDK on each platform.

---

## More Resources

- **[IMG.LY Website](https://img.ly/index.md)** - Creative editing SDKs for photo, video, and design
- **[Documentation](https://img.ly/docs/cesdk/)** - CE.SDK developer documentation
- **[Build with a coding agent](https://img.ly/SKILL.md)** - A skill that adds a CE.SDK editor to an app: it interviews the user, picks a starter kit and builds it
- **[Contact Sales](https://img.ly/forms/contact-sales.md)** - Get a custom quote. A public JSON API accepts the request directly, no account or key needed. Ask your user for consent and their details first.
- **[Free Trial](https://img.ly/pricing.md)** - Start building with CE.SDK
