AV1 vs HEVC
Also known as: AV1 vs H.265
What Is the Difference Between AV1 and HEVC (H.265)?
Both are lossy video codecs that shrink the same kind of picture, and they come from two different camps. HEVC, also published as H.265, is the standard the ITU and ISO approved in 2013 to follow H.264, and its patents are licensed through pools. AV1 came out of the Alliance for Open Media in 2018, and the alliance’s members license their AV1 patents royalty-free.
In practice, three differences settle most choices: AV1 makes smaller files, HEVC encodes faster, and each one plays on some devices where the other doesn’t.
AV1 suits video that plays many times
Its files are smaller at the same quality, which adds up when one encode streams to many viewers. All the major browsers play it, Safari only where Apple’s chip decodes it, and Android’s compatibility rules make new phones both decode and encode it.
HEVC suits Apple devices and HDR
iPhones record it by default, Safari plays it on every Mac, and YouTube Live and Android both name it for HDR video. Outside Apple’s devices and Android, though, browsers often need a hardware decoder to play it.
How Much Smaller Are AV1 Files Than HEVC Files?
Smaller, but by how much depends on who measured. MDN’s codec guide says AV1 reaches higher compression than HEVC, and published comparisons put the saving between about 10% and 30%, depending on the encoders, their settings, the test videos and how quality was scored.
Published savings range from about 10% to 30%
Independent tests have measured savings from roughly 10% to 20%, and video vendors’ guides usually quote 20 to 30%. One vendor calls 30% the optimistic case for planning.
YouTube Live asks both for the same bitrate
Its live encoder settings put AV1 and H.265 in one column: 10 Mbps recommended for a 1080p30 stream and 30 Mbps for 4K30. The H.264 column asks for more at every size.
AV1 takes longer to encode
Its extra prediction and filtering tools give an encoder more options to test in every block. That cost is easiest to carry when a video is encoded once and streamed many times.
Where Do AV1 and HEVC Play?
Each codec’s gaps sit where the other one is strong. Safari plays HEVC on every Mac but AV1 only on devices with Apple’s AV1 decoder, while Chrome, Edge and Firefox play AV1 on any device, decoding it in software when no chip helps.
HEVC is the one that leans on hardware away from Apple: Chrome plays it on Windows and Linux only with a hardware decoder, and Edge on Windows adds a Microsoft Store extension. Android’s media framework decodes HEVC, and its rules for new phones require an AV1 decoder too. MDN notes that hardware or software decoding changes how smooth and power efficient playback is, which is the question the check below puts to your browser.
How does this device play AV1 and HEVC?
Your browser answers for three sizes of each codec, from 1080p up to 4K at 60 fps.
AV1
- 1080p, 30 fps, 8-bit
- Not checked Checking Smooth and power efficient Smooth, not power efficient Plays, may drop frames Doesn't play Couldn't check
- 4K, 30 fps, 10-bit
- Not checked Checking Smooth and power efficient Smooth, not power efficient Plays, may drop frames Doesn't play Couldn't check
- 4K, 60 fps, 10-bit
- Not checked Checking Smooth and power efficient Smooth, not power efficient Plays, may drop frames Doesn't play Couldn't check
HEVC
- 1080p, 30 fps, 8-bit
- Not checked Checking Smooth and power efficient Smooth, not power efficient Plays, may drop frames Doesn't play Couldn't check
- 4K, 30 fps, 10-bit
- Not checked Checking Smooth and power efficient Smooth, not power efficient Plays, may drop frames Doesn't play Couldn't check
- 4K, 60 fps, 10-bit
- Not checked Checking Smooth and power efficient Smooth, not power efficient Plays, may drop frames Doesn't play Couldn't check
These are your browser's answers for MP4 files at YouTube Live's
recommended AV1 and H.265 bitrates. Power efficient usually means the
device decodes that codec in hardware, and a browser may call a format
smooth before it has played any of it here. In a CE.SDK app, the
engine's own av1Decode and hevcDecode checks say
what it can open.
Which One Carries HDR Video?
Both can. AV1’s specification includes the wide BT.2020 colors and the PQ and HLG transfer curves that HDR10 and HLG video use, but the specs platforms publish for HDR delivery mostly ask for HEVC Main 10.
-
YouTube Live takes HDR in H.265 only
Its encoder settings name H.265 as the HDR codec and say AV1 isn't supported for HDR streams.
-
Android's required HDR formats run on HEVC
Devices that support HDR must handle HDR10 and HLG10, and Android lists both as 10-bit HEVC.
-
Apple's HLS spec adds Dolby Vision in AV1
Its HDR rules are written for HEVC, and its iOS rules also accept Dolby Vision Profile 10, which is 10-bit AV1.
AV1 or HEVC: Which Should You Use?
Start with where the video plays and how often it gets watched. A meditation app that streams the same guided sessions to millions of phones, for example, might serve AV1 to Android phones and desktop browsers, HEVC to iPhones without an AV1 decoder, and an H.264 copy to everything else.
| Use | Why | |
|---|---|---|
| A video library streamed many times | AV1, with an HEVC or H.264 copy | Smaller files save bandwidth on every view, and older Apple devices need the second copy |
| An app for iPhones and Macs | HEVC | Safari plays it on every Mac, and only recent Apple chips decode AV1 |
| HDR video | HEVC Main 10 | YouTube Live, Android and Apple's HLS spec all write their HDR rules around it |
| A live stream to YouTube in SDR | Either | YouTube recommends the same bitrates for both |
| Many exports on a deadline | HEVC | An AV1 encode takes longer at similar settings |
| A WebM file for the web | AV1 | WebM holds AV1 but not HEVC |
How AV1 and HEVC Work in CE.SDK
For video editing with CE.SDK, the two codecs travel in different files. HEVC arrives in MP4 or MOV and leaves as MP4, while AV1 arrives and leaves in WebM, and an AV1 file inside an MP4 doesn’t import.
Pick the file type for the codec
Ask for video/mp4 to export HEVC and video/webm to export AV1. Pairing a codec with the other file type fails the export, and Auto picks H.264 for MP4 and VP9 for WebM, so name the codec your users chose.
Check the encoder, then choose the fallback
In the browser, run the engine’s capability check and read hevcEncode or av1Encode. A codec the device can’t encode fails the export instead of falling back, so offer H.264 in MP4 or VP9 in WebM where the answer is no.
Export, and allow AV1 more time
CE.SDK’s docs say that among the WebM codecs, AV1 gives the smallest file for a given quality but needs the most encoding time. The iOS and Android SDKs and the server package @cesdk/node-native bring their own AV1 encoder, and Android runs it in software. For a slow export, the docs suggest VP9, and on a server an MP4 export is H.264.
FAQs
For file size, yes. MDN's codec guide ranks AV1's compression above HEVC's, and published figures put the saving at roughly 10% to 30%. HEVC encodes faster, plays on more Apple devices and is the codec most HDR delivery specs ask for, so pick by where the video will play.
Only where Apple has built an AV1 decoder into the chip. MDN names Macs from the M3 generation on, plus the iPhone 15 Pro, along with newer iPhones from the 16 series. On older iPhones, iPads and Macs, Safari needs the same video in HEVC or H.264, so a site that serves AV1 keeps one of those as a fallback.
A product that encodes or decodes HEVC may need one, because its patents are licensed through more than one patent pool. AV1's patents from AOMedia's members come royalty-free, though companies outside the alliance, such as Sisvel, have formed pools they say cover AV1 as well. Check the current terms before you ship an encoder or a decoder.
They encode the video in both and let each device take the one it plays. A web page can list the files in order inside one video element, a streaming playlist can name an AV1 stream and an HEVC stream side by side, and a script can ask the Media Capabilities API first, which the API was built for.
It is the browser's estimate that decoding would run at optimal power draw, as the Media Capabilities spec puts it. The spec leaves the exact meaning to each browser and notes that browsers commonly treat hardware decoding as the sign of it, so an answer of not power efficient usually means the device decodes that codec in software.
Links
Documentation and references for this concept.
Video Editor SDK
Your users export finished edits as HEVC in MP4 or AV1 in WebM, whichever the device can encode.
Export to MP4
Set an MP4 export to HEVC once the capability check says the platform encodes it.
Export to WebM
Choose AV1 for a WebM export, or VP9 where the browser has no AV1 encoder.
Related Terms
AV1
An open video codec from the Alliance for Open Media, published in 2018 and licensed royalty-free by AOMedia's members. …
H.264 vs H.265
Two generations of the same family of video standards. H.265, also called HEVC, aims for the picture of H.264 at half th…
Video Codec
The software or hardware that compresses video into a compact stream and decodes it again for playback, as H.264, H.265,…



