Ch. 14 · HDR Workflow in Practice

한국어日本語
6 min

Things to Watch When Uploading to a Platform

A platform decides whether something is HDR by looking at the tags on the file you upload. A pre-upload checklist, and a reminder to always recheck the specs in the official docs.

When you upload HDR video to a platform, the platform generally reads the file's color tags to decide whether it's HDR. So if the tags are missing or wrong, an HDR file gets treated as SDR and the colors go off. Platform-specific requirements change often, so what follows are principles; for concrete numbers, the official documentation is the authority.

Example: the gist of what YouTube's help pages say

According to YouTube's help page on uploading HDR videos, you should master in Rec. 2020 color gamut with PQ or HLG, and it warns that other configurations such as DCI-P3 give inaccurate results. The containers are MOV, MP4, and MKV, the recommended codecs are VP9 Profile 2, AV1, and HEVC, and the color metadata should be written as the BT.2020 non-constant luminance matrix with PQ or HLG. This was verified at the time of writing, so check the official page again before you upload.

Pre-upload checklist

  1. 1The three tags: do color_primaries=bt2020, color_transfer=smpte2084 (or arib-std-b67), and color_space=bt2020nc show up in ffprobe?
  2. 2Bit depth: is pix_fmt 10-bit (yuv420p10le)? Make sure it hasn't dropped to 8-bit.
  3. 3Codec and profile: is it a codec the platform recommends? If it's HEVC, is it Main10?
  4. 4Dynamic metadata: if you need HDR10+ or Dolby Vision, is it still in the final file? (A re-encode can wipe it out.)
  5. 5An SDR fallback: have you decided what viewers who only support SDR will see? (the platform's automatic conversion, or a separate SDR version you make)
  6. 6Check after uploading: did the platform recognize it as HDR, and once processing finished, did you confirm it by eye on a real HDR display?
Re-encoding after upload is the platform's job

Most platforms re-encode what you upload to their own specs. So the file you upload is closer to "a high-quality source you hand to the platform" than to the final distribution file. If you upload at too low a quality to save space, the platform's re-encode cuts the quality down a second time. Use the Bitrate & File Size Calculator to estimate file size for your upload bitrate target, but follow the platform's recommended values for the target numbers themselves.

You can check whether viewers' devices support HDR and a given codec with the Codec Support Checker. If you handle the multi-codec, quality-ladder delivery from Chapter 10 yourself, you also need to think about keeping an HDR ladder and an SDR ladder separate.

GradingGrading

Post-production work that adjusts a video's color and brightness to match the creative intent. HDR and SDR are sometimes graded separately.

NCL (non-constant luminance)Non-constant luminance matrix

The RGB↔YCbCr conversion method commonly used with BT.2020. Its ffmpeg name is bt2020nc.

Check yourself

What is the most common reason an HDR upload gets treated as SDR?