Which video codecs can this browser decode?
| Codec | Frame by frame, 1080p | Frame by frame, 4K | Plays in a video tag | Hardware decode likely |
|---|---|---|---|---|
H.264 High, 8-bit Most MP4 files, screen recordings, exports from editors | … | … | … | … |
H.264 High 10 Some mirrorless and cinema cameras | … | … | … | … |
HEVC Main, 8-bit iPhone (High Efficiency), Android, drones | … | … | … | … |
HEVC Main 10 iPhone HDR video, HDR cameras | … | … | … | … |
VP8 Older WebM files, some screen recorders | … | … | … | … |
VP9 profile 0 WebM, YouTube downloads, browser recordings | … | … | … | … |
VP9 profile 2 (10-bit) HDR WebM | … | … | … | … |
AV1, 8-bit Newer WebM and MP4, some phones and screen recorders | … | … | … | … |
AV1, 10-bit HDR AV1 | … | … | … | … |
Apple ProRes 422 Final Cut, Premiere and Resolve masters | … | … | … | … |
“Frame by frame” is what Frame Contact Lab needs: the browser's WebCodecs decoder accepts the codec at that size. “Plays in a video tag” is the browser's answer for normal playback. A “Yes” is the browser's own claim for the codec family; a particular file can still fail (for example an unusual profile), which is why the file test below decodes a real frame.
Drop a video to see whether this browser can decode it
The file is read on this device and nothing is uploaded. We decode one frame from the middle and show it.
What we measured
Our test script opens a set of clips we encoded with ffmpeg in headless Chromium 148 on macOS (Apple silicon) and records what this site says about each. Other browsers and computers will differ; that's what the live check above is for.
| Test file | Result |
|---|---|
h264.mp4 | Opens, H.264 (High) |
h264.mov | Opens, H.264 (High) |
h264.mkv | Opens, H.264 (High) |
offset.mkv | Opens, H.264 (High) |
h264-10bit.mp4 | Opens, H.264 (High 10) |
hevc.mp4 | Opens, HEVC / H.265 (Main) |
hevc-10bit.mp4 | Opens, HEVC / H.265 (Main 10) |
hevc-hlg.mp4 | Opens, HEVC / H.265 (Main 10) |
ntsc2997.mp4 | Opens, H.264 (Baseline) |
ntsc23976.mp4 | Opens, H.264 (Baseline) |
vp8.webm | Opens, VP8 |
vp9.webm | Opens, VP9 |
av1.webm | Opens, AV1 |
av1.mp4 | Opens, AV1 |
vfr.mp4 | Opens, H.264 (High) |
rotated.mp4 | Opens, H.264 (High) |
prores.mov | Refused: “Apple ProRes 422 can't be decoded in this browser” |
mpeg4.mp4 | Refused: “MPEG-4 Part 2 (DivX/Xvid style) isn't decoded by browsers” |
mpeg4.avi | Refused: “The tool can't read this file type. It opens MP4, MOV, M4V, WebM, MKV, MPEG-TS and Ogg files. AVI, WMV and FLV need converting to MP4 first.” |
audio-only.m4a | Refused: “This file has no video track (it may be audio only).” |
not-a-video.mp4 | Refused: “The tool can't read this file type. It opens MP4, MOV, M4V, WebM, MKV, MPEG-TS and Ogg files. AVI, WMV and FLV need converting to MP4 first.” |
For what each codec is, where it comes from and how to convert a file that won't open, read video codec support in browsers.