"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.
pix_fmt, color_*, and color_range side by side.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.mp4As 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.
(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.
An ffprobe field. Indicates the tv (limited) or pc (full) range.
Writing the interpretation info (color gamut, transfer function, matrix, etc.) into the file. The first step in preventing HDR accidents.
A PQ HDR video played on an SDR monitor looks hazy and dark. What does this mean?