Tool
Does your encoded video look washed out, or has the contrast gone harsh? Often the video data is fine and what is off is the label (tag) saying ‘this video is limited (16–235)’ or ‘this video is full (0–255)’. Paste the ffprobe output of the source and the result and the tool points out the tag differences, then gives you a command that fixes only the flags and a command that rebuilds from the source. Your input is processed only inside this browser.
Get ffprobe output with ffprobe -hide_banner -i "input.mp4". -show_streams or -print_format json output is read too.
Open the source and the result with the commands below and paste the whole text that appears. The part in parentheses on the second line, in Stream #0:0 … Video:, such as yuv420p(tv, bt709, progressive), is the color tag. It works with only the result pasted, but if you also have the source, you can compare ‘what changed’.
ffprobe -hide_banner -i "original.mp4" ffprobe -hide_banner -i "result.mp4"
8-bit video in limited (tv) range uses 16–235 for brightness (Y) and 16–240 for chroma (Cb, Cr), while full (pc) uses all of 0–255. This is covered in the Chapter 1 lesson on how color is represented. A file has a slot that records which of the two it is (video_full_range_flag, and the colr box in the container), and the color_range that ffprobe shows is the value of that slot.
The key question is whether the tag and the actual pixels say the same thing. ffprobe only reads the tag and never opens the pixels, so this tool alone cannot know whether the two disagree. That is why the tool lets you enter the minimum and maximum brightness (YMIN, YMAX) measured on a segment of the result file: if the values stay within 16–235 it judges the data to be limited, and if they span 0–255 it judges it to be full. This criterion is a rule of thumb set by this site.
| What you see | Common cause | Direction of the fix |
|---|---|---|
| Washed out, black looks gray | Limited data read as full | Set the tag to tv (flags only) |
| Harsh contrast, shadows and highlights crushed | Full data read as limited | Set the tag to pc, or convert to limited and re-encode |
| Same contrast, but hue and saturation are slightly off | Different matrix (for example BT.601 ↔ BT.709) | Correct the tag; if the pixels are wrong, re-encode from the source |
The causes in the table above summarize the direction of limited and full interpretation explained in the Chapter 1 lesson. This site has not measured how much each mismatch lowers VMAF or PSNR scores, so no score numbers are given. The VMAF Score Mismatch Diagnoser points out that a range difference can be the reason a score comes out strangely low.
yuvj420p is an old notation meaning full range. Such video is easily treated as full by its name alone, with no tag, so interpretation can diverge as it passes through other tools.