Tool

Can My Browser Encode Video? Encoder Support and Speed Test

Whether a site that claims to “compress in your browser without uploading” will actually work on your PC depends on whether an encoder exists and how fast it is. This tool asks this browser directly about its H.264, HEVC, VP9 and AV1 encoders, then encodes a short synthetic video and measures the speed. The video never goes to a server, and there is nothing to install.

Frame rate
Latency mode (latencyMode)
Keep this tab in the foreground while it runs.

① Encoder support (what this browser says)

The VideoEncoder.isConfigSupported answer when asked about 1080p (1920×1080) · 30 fps · 8 Mbps · realtime. Nothing has been encoded yet.

Codec · profile · levelDefaultPrefer hardwarePrefer software
H.264 (AVC)Baseline 3.1avc1.42E01F………
Main 4.0avc1.4D0028………
High 4.0avc1.640028………
High 5.1avc1.640033………
High 10 (10-bit) 5.1avc1.6E0033………
HEVC (H.265)Main 4.0hvc1.1.6.L120.B0………
Main 5.1hvc1.1.6.L153.B0………
Main 10 (10-bit) 5.1hvc1.2.4.L153.B0………
VP9Profile 0 · Level 4.0vp09.00.40.08………
Profile 0 · Level 5.0vp09.00.50.08………
Profile 2 (10-bit) · Level 5.0vp09.02.50.10………
AV1Main 8-bit · Level 4.0av01.0.08M.08………
Main 8-bit · Level 5.1av01.0.13M.08………
Main 10-bit · Level 5.1av01.0.13M.10………

② Actual encoding speed (120 synthetic frames)

H.264 (AVC)

avc1.640034

Press “Start speed test” and the results appear here.

HEVC (H.265)

hvc1.1.6.L153.B0

Press “Start speed test” and the results appear here.

VP9

vp09.00.50.08

Press “Start speed test” and the results appear here.

AV1

av01.0.13M.08

Press “Start speed test” and the results appear here.

What does this test do?

  1. It asks whether an encoder exists. It passes the browser’s VideoEncoder.isConfigSupported a codec string (which carries the profile and level) plus a resolution, fps and bitrate, and asks “can you encode with this configuration?” It asks the same question three ways: default, prefer-hardware and prefer-software. A “Yes” in the table is only the browser’s answer, not the result of actually encoding anything.
  2. It really encodes. It draws 6 synthetic frames of moving shapes and noise in advance and feeds them to VideoEncoder in a loop. They are drawn in advance so that drawing time does not get mixed into encoding time. The fps is calculated from the time between just before the first frame goes in and the moment all frames have been encoded and come out (flush). The speed test uses one fixed configuration per codec (H.264 High, HEVC Main, VP9 Profile 0, AV1 Main 8-bit, with a level high enough for 4K60).
  3. It shows this site’s ffmpeg measurements alongside. The “Reference” line under each codec is the median speed of the software encoders (x264, x265, SVT-AV1, libvpx-vp9) that this site measured on one PC in the fast-preset measurements. It is read from the data file and calculated there; the tool does not make these values up.

How to read the numbers

  • fps: the number of frames divided by the time taken. At or above the target fps (30 or 60) it is shown as “Meets target fps”; below it, “Below target fps.” This threshold is a simple rule set by this site, not a standard. For jobs that must encode at the incoming rate, such as screen recording or live streaming, the value needs to be at or above the target; when converting a file, slow is fine as long as it finishes.
  • First chunk after: the time from feeding in the first frame to the first encoded output. It includes the time to open the encoder for the first time, so change the latency mode or run it several times to compare.
  • Actual bitrate: the size the encoder actually produced divided by the video duration. If it is far from the requested value, this synthetic video was easy (or hard) enough that the encoder missed its target, so treat the speed comparison as a rough guide only.
  • Prefer hardware vs. prefer software: the browser is known to pick a different encoder depending on the request. How strictly the request is honored, however, differs from browser to browser. Similar values for the two do not prove which one was used, and whether a hardware encoder was used should be cross-checked with another tool, such as the GPU encode utilization in Task Manager.
  • Level column: even for the same codec, a lower level can give “No” at a large resolution or high fps. Change the resolution and fps and see where it flips to “No” to find the boundary of that device and browser. To work out which resolution and fps a level allows, use the H.264/HEVC level calculator.

What to do with the result

  • Every codec you want shows “No”: a site or tool that compresses video in this browser will probably not work with that codec. Using another codec (usually H.264), another browser, or an installed program such as ffmpeg or HandBrake is the safer choice. The ffmpeg command builder and the HandBrake preset builder can help.
  • HEVC or AV1 is “Yes” only for “Prefer hardware”: it may mean the browser has no way to encode that codec in software. Results then vary a lot from device to device. If you plan to send the result to other people, you also need to consider whether the recipient can play it, so look at the codec support check and the decode test as well.
  • Below target fps: a sign that real-time recording or streaming with that configuration will be hard. Lower the resolution or fps and measure again, or, if you are converting a file, accept that it will just take longer. To estimate how long a video of a given length will take, use the encode time estimator.
  • Compare with ffmpeg on the same PC: put the reference line next to this result and see whether the browser encoder is faster or slower than a software encoder. Because the resolution, content and settings differ, this is not an absolute comparison but a “rough placement.” The tool that actually shrinks files inside the browser is the browser video compressor.

Limitations worth knowing

  • The video is synthetic. It loops 6 frames of shapes and noise, so it may be an easier or harder scene for an encoder than real footage. Use it to compare codecs and methods on the same device, not to predict the fps your own video would encode at.
  • It does not measure quality. Even at the same bitrate, quality differs from codec to codec and encoder to encoder. This tool only looks at speed and whether the configuration is supported. Quality and file size are covered by the measurement articles.
  • Encoder settings are close to defaults. The bitrate mode is variable and keyframes are one second apart; ffmpeg-style details such as preset, CRF and B-frames cannot be set freely through WebCodecs. So the results do not map one-to-one onto values such as the x264 and x265 presets.
  • Only 8-bit 4:2:0 input is fed in. The 10-bit profile rows only ask whether the browser says it supports them; no 10-bit video is encoded.
  • 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. The clip is short, so the time to open the encoder for the first time is mixed into the result. Run it several times.
  • Limits of the ffmpeg reference values. They were measured on one PC with four 10-second 1080p25 clips at 8-bit, and run at low (IDLE) priority so they would not be held up by other work, so the speeds are for reference only. This site has not directly checked which hardware path the browser uses on that PC’s GPU.