Tool

Video Quality Compare Slider

Load an original and an encoded video and compare frames from the same timestamp, split left and right. Differences you can’t see are shown with an amplified map, blocky smearing is checked with a pixel zoom, and PSNR numbers are shown alongside. Nothing to install or upload; the files are read only inside this browser.

1. Choose two videos

The files are not uploaded to a server; they are read only inside this browser. They must be in a format the browser can play (MP4, MOV, WebM and so on).

How does the comparison work?

The browser seeks both videos to the same timestamp (in seconds), pulls out one frame from each, scales them to the same size, and compares them. Three things are built from those pictures.

  • Side-by-side slider: left of the divider is the original, right of it is the encoded version. Drag the divider back and forth to see how the same spot changes.
  • Difference map: the pixel value difference between the two frames (the absolute value for each of R, G and B) multiplied by a gain. Black means identical; brighter means more different.
  • PSNR: calculated from the mean squared error (MSE) between the two pictures. The formula is 10·log10(255² ÷ MSE), the unit is dB, and it is infinite when there is no error. The tool shows both a luma-only Y PSNR and a value that uses all three RGB channels.

How do I use the results?

  • Look at the shape of the difference map. If the differences are concentrated on edges and textured areas, compression has shaved off detail; if you see a square pattern on flat areas such as sky or walls, it may be block boundaries. This is a rule of thumb for reading the map, not a definitive diagnosis.
  • Use the zoom to put the same spot in three panels. Smeared text edges or lost hair texture that you can’t see in the large slider view show up when you zoom in.
  • Check the lowest point of the across-the-video PSNR. Even when the averages are the same, some videos drop sharply in particular scenes. Go to the timestamp of the lowest point and check it directly with the slider. The problem of bad moments hidden by an average is covered with VMAF in Is an average VMAF of 95 safe? A measurement.
  • If you measured VMAF yourself and have the JSON log, the VMAF Log Viewer shows a per-frame graph, and it pairs well with this tool’s visual comparison.
  • To find the CRF at which differences become noticeable, encode a few files using values from the CRF Recommender and compare them one by one with this tool. How CRF relates to file size and VMAF is in the CRF sweep measurement.

Limitations worth knowing

  • PSNR is not the same as what the eye sees. It measures only the size of pixel errors, so it can disagree with how objectionable the result looks. This tool does not calculate VMAF.
  • The value can differ from FFmpeg’s PSNR. Here the tool uses the 8-bit RGB that the browser converted for display, and gets luma from RGB as a weighted sum (0.299·R + 0.587·G + 0.114·B). That differs from FFmpeg, which uses the original YUV values. Use the numbers as a relative comparison within this tool rather than as absolute values.
  • There is no strong guarantee that the frames are the same. Because it seeks by timestamp (seconds) to read frames, the pairing will be off if the start was trimmed or the frame rate was changed during encoding. When it is off, PSNR comes out far lower than it really is, so first check on the slider that the scene is the same. You can check variable frame rate video with the VFR Detector.
  • Scaling and color conversion get mixed in. If the resolutions differ, the encoded video is drawn at the original’s size, so the error from scaling goes into PSNR. HDR or 10-bit video is compared using values the browser has converted for an 8-bit display, so it is not exact.
  • Only files the browser can open will work. HEVC, AV1 and others may not open depending on the device and browser. You can find out with Check Your Device’s Codec Support. The comparison view is drawn scaled down to at most 1920 px wide.
  • The across-the-video PSNR is sampling. It takes 24 evenly spaced points rather than measuring every frame, so it can miss a bad frame that spikes only briefly. Large files can use a lot of memory and be slow.