Frame Contact Lab

Which video codecs can this browser decode?

A live check of the browser you're using right now: whether it can decode each common codec frame by frame (what a frame grabber needs), whether it can play it, and whether it's likely to use hardware. Then drop a file to decode a real frame from it. Nothing is uploaded.
Checking this browser…
Checked live with VideoDecoder.isConfigSupported and MediaCapabilities
CodecFrame by frame, 1080pFrame by frame, 4KPlays in a video tagHardware 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.

Test a real file

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 fileResult
h264.mp4Opens, H.264 (High)
h264.movOpens, H.264 (High)
h264.mkvOpens, H.264 (High)
offset.mkvOpens, H.264 (High)
h264-10bit.mp4Opens, H.264 (High 10)
hevc.mp4Opens, HEVC / H.265 (Main)
hevc-10bit.mp4Opens, HEVC / H.265 (Main 10)
hevc-hlg.mp4Opens, HEVC / H.265 (Main 10)
ntsc2997.mp4Opens, H.264 (Baseline)
ntsc23976.mp4Opens, H.264 (Baseline)
vp8.webmOpens, VP8
vp9.webmOpens, VP9
av1.webmOpens, AV1
av1.mp4Opens, AV1
vfr.mp4Opens, H.264 (High)
rotated.mp4Opens, H.264 (High)
prores.movRefused: “Apple ProRes 422 can't be decoded in this browser”
mpeg4.mp4Refused: “MPEG-4 Part 2 (DivX/Xvid style) isn't decoded by browsers”
mpeg4.aviRefused: “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.m4aRefused: “This file has no video track (it may be audio only).”
not-a-video.mp4Refused: “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.

Questions

Why does my iPhone video not open?
iPhones record HEVC (H.265) unless the camera is set to Most Compatible. A browser can decode HEVC only through the operating system's decoder; if the check above says No for HEVC, convert the video to H.264 or set the iPhone camera to Most Compatible for future recordings.
Why won't my ProRes file open?
Chrome, Edge and Firefox don't include a ProRes decoder, and this site refuses ProRes in our Chrome test. Safari on a Mac may play it through macOS; we haven't tested that. The dependable route: export an H.264 or HEVC copy from your editor at the same resolution; its frames will match the master's.
The check says Yes but my file still fails. Why?
The check asks about a codec family at a typical profile. A file can use an unusual profile, bit depth or a damaged stream. The file test decodes a real frame from your video, which is the definitive answer for that file.