Tool

Can My PC Play 4K60 Smoothly? Browser Decode Test

“Supported” is not the same as “decodes without stuttering.” This tool creates H.264, HEVC, VP9 and AV1 test videos inside this browser and measures how fast the decoder can unpack them. There is nothing to upload or install, and the video never goes to a server.

Target fps
Keep this tab in the foreground while it runs. At 4K, creating the test video can take a few seconds to a few tens of seconds per codec.

H.264 (AVC)

avc1.640034

Browser says: supported: – · smooth: – · power efficient: –

HEVC (H.265)

hvc1.1.6.L153.B0

Browser says: supported: – · smooth: – · power efficient: –

VP9

vp09.00.50.08

Browser says: supported: – · smooth: – · power efficient: –

AV1

av01.0.13M.08

Browser says: supported: – · smooth: – · power efficient: –

“Late frames”: assuming playback starts with a 100 ms buffer after the first frame and shows frames at the target fps, the number of frames whose decoding was not finished by their display time.

What does this test do?

  1. It asks the browser first. It shows whether MediaCapabilities answers “supported,” “smooth” and “power efficient” for that codec, resolution, fps and bitrate. It is the same question as the codec support check. Note that this is only the browser’s prediction, not the result of actually decoding anything.
  2. It creates a test video for each codec. Frames with moving shapes and noise are encoded with the browser’s VideoEncoder. Keyframes are one second apart, there are no B-frames, and the settings are low-latency. The bitrate you pick is given to every codec unchanged.
  3. It decodes the video and times it. It keeps feeding frames to VideoDecoder and records when each frame comes out. The two numbers below are the result.

How to read the numbers

  • fps: decoded frames per second, calculated from the time the remaining frames took to come out after the first frame appeared. The decoder is not paced to the screen; it runs as fast as it can, so how far the number is above the target fps (60) is your headroom.
  • Late frames: assuming playback starts with a 100 ms buffer after the first frame and shows frames at the target fps, this is the number of frames whose decoding was not finished by their display time. 0 means nothing stuttered under that assumption; if the decoder is slower than the target fps, the count keeps growing toward the end.
  • Verdict thresholds (simple rules set by this site, not a standard): Plenty of headroom = 0 late frames and at least 1.5× the target fps, Tight = at least 1.05× and no more than 2% late frames, anything else is May stutter.
  • Default decoder vs. software (CPU): the default is whichever decoder the browser picks on its own (it is generally known to use a hardware decoder when one is available). Software is a request to decode on the CPU. If the two values differ a lot, a hardware decoder is doing much of the work on this device. However, whether the browser actually honors the request differs from browser to browser, so similar values don’t prove that there is no hardware decoder.

What to do with the result

  • If decoding shows “Plenty of headroom” but real playback stutters: suspect something other than the decoder. A mismatch between the video fps and the monitor refresh rate is the classic case, so check it with the fps × refresh rate judder simulator. The player’s hardware acceleration setting is another candidate, and for streaming, the network.
  • If only one codec shows “May stutter”: video made with that codec is a heavy load on this PC. If you plan to share the video, first use the HEVC/AV1 to H.264 conversion planner to calculate how much larger the file gets when you convert to H.264.
  • If the default decoder is slow and about the same as software: you may be decoding on the CPU without a hardware decoder. Check the browser’s hardware acceleration setting and your graphics driver. Why hardware decoding differs from codec to codec is explained in the hardware decoding lesson.
  • Compare while changing resolution and fps: even if 4K60 shows “May stutter,” 4K30 or 1440p60 may show “Plenty of headroom.” Use it to find where the boundary is. Raising the bitrate gives the decoder more data to process, so the result can change.
  • Check your own video’s codec, resolution, fps and bitrate with the video file info inspector, and how much storage 4K video needs with the 4K video storage planner.

Limitations worth knowing

  • The test video is synthetic. It is made of shapes and noise, so its scene complexity differs from real footage, and even at the same bitrate the quality is not the same from codec to codec. Use it to compare codecs against each other on this device, not to predict exactly how many fps your own video will decode at.
  • It measures decoding only. Display output, color conversion, window compositing, audio sync, and disk or network reads are not included. Decoding can be fast and the player still slow.
  • Without an encoder it can’t measure. The test video is created with this browser’s encoder, so if the browser has no encoder for a codec, it reports that there is no encoder. That does not mean decoding is impossible, so look at the “Browser says” values above as well.
  • Only 8-bit 4:2:0 SDR is covered. The decoder load for 10-bit and HDR video may be different, and it was not measured.
  • Measurements vary a little every time. The values change if the tab is sent to the background or another program uses the CPU or GPU, and laptops are affected by power and battery-saver modes. Run it several times. The clip is short (120 frames by default), so a single momentary stall weighs heavily in the result.
  • This site has not yet measured decode speed per codec on its own. Every number on this page is a value measured in your browser right now. The verdict thresholds are the simple rules described above.