Ch. 14 · HDR Workflow in Practice

한국어日本語
7 min

Common Mistakes: Why Colors Look Washed Out

"It's HDR but it shows up gray." "I converted to SDR and it's dark and hazy." A diagnostic order that narrows down the cause by symptom.

The most common complaint in HDR work is that colors look washed out. In Chapter 1 we said that most causes are cases where the pixels are fine but the interpretation is off. This lesson lays out an order for diagnosing that symptom by cause.

SymptomMost likely causeHow to check
The HDR file looks gray and hazyIt's PQ video, but the tags are missing or say BT.709, so it plays as SDRIs color_transfer in ffprobe smpte2084?
The HDR-to-SDR result is dark and hazyThe PQ code values were encoded as SDR as they are, without tone mappingIs there a tonemap in the filter chain? Do the output tags say bt709?
Colors are twisted toward purple and greenDolby Vision Profile 5 played on a device that doesn't support itThe profile number, and whether the target device supports it
Bright areas blow out to whiteMastering is too bright for the display's capability, or the tone mapping curve is a poor fitCompare a short clip with another curve (such as mobius)
Bands show up in areas like the skyA 10-bit source was reduced to 8-bit, or the bitrate is insufficientIs pix_fmt 10-bit?
Blacks look lifted or crushedLimited/full range mismatchIs color_range the same in the source and the output?
The HDR indicator disappeared after re-encodingAn ffmpeg filter (scale, etc.) changed the color info, or the metadata wasn't passed to the encoderRun ffprobe on the output file and compare with the input

Diagnostic order

  1. 1Start by reading the input file's tags. The source itself may already be labeled wrong.
  2. 2Read the file right after conversion. Compare the input and output pix_fmt, color_*, and color_range side by side.
  3. 3Try a different player. If it looks wrong in only one player, the problem may be that player's HDR handling rather than the file.
  4. 4Tell an HDR display from an SDR monitor. PQ video looking hazy on an SDR monitor is normal and not a file error.
Comparing input and output side by side on the same fields
ffprobe -v error -select_streams v:0 \
  -show_entries stream=pix_fmt,color_range,color_primaries,color_transfer,color_space \
  -of default=noprint_wrappers=1 input.mp4

ffprobe -v error -select_streams v:0 \
  -show_entries stream=pix_fmt,color_range,color_primaries,color_transfer,color_space \
  -of default=noprint_wrappers=1 output.mp4
Quality scores won't catch color problems

As we saw in Chapter 11, metrics like VMAF are quality (distortion) scores. A problem where colors look hazy because the tags are wrong is a matter of interpretation, not of pixels, so it may not show up in the score. Even when you use VMAF on HDR files, first check that the two videos being compared are in the same color space.

Chapter summary

(1) PQ/HLG is distinguished by tags. (2) HDR10 has static metadata, while HDR10+ and Dolby Vision have dynamic metadata, and re-encoding can wipe out the dynamic kind. (3) x265 and SVT-AV1 differ in option names and units, so verify the result with ffprobe. (4) When converting down to SDR, tone map in linear light. (5) Check the upload specs in the official docs every time.

color_rangeColor range

An ffprobe field. Indicates the tv (limited) or pc (full) range.

TaggingTagging

Writing the interpretation info (color gamut, transfer function, matrix, etc.) into the file. The first step in preventing HDR accidents.

Check yourself

A PQ HDR video played on an SDR monitor looks hazy and dark. What does this mean?