SDR-to-HDR Tone Mapping Parameters

SDR content is automatically tone-mapped to HDR when requested. The default SDR-to-HDR pipeline relies on the zimg image processing library for scaling and tone mapping, while an advanced Colorfront engine provides enhanced control. Tone mapping parameters are managed via the tonemap block.

<?xml version="1.0"?>
<query>
    <userid>[UserID]</userid> <!-- required -->
    <userkey>[UserKey]</userkey> <!-- required -->
    <action>[Action]</action> <!-- required -->
    <source>[SourceFile]</source> <!-- required -->
    <format>
        <output>[mp4|mpegts|apple_prores]</output> <!-- required-->
        <hdr>[hdr10|hlg]</hdr>
        <tonemap>
            <engine>[zscale|cfe]</engine>
            <reference_white_level>[Reference white level]</reference_white_level>
            <hdr_amount>[HDR Amount]</hdr_amount>
            <hdr_surround>[HDR Surround]</hdr_surround>
        </tonemap>
    </format>
</query>
{
  "query": {
    "userid": "[UserID]", // required
    "userkey": "[UserKey]", // required
    "action": "[Action]", // required
    "source": "[SourceFile]", // required
    "format": {
      "output": "[mp4|mpegts|apple_prores]",
      "hdr": "[hdr10|hlg]",
      "tonemap": {
        "engine": "[zscale|cfe]",
        "reference_white_level": "[Reference white level]",
        "hdr_amount": "[HDR Amount]",
        "hdr_surround": "[HDR Surround]"
      }
    }
  }
}
ParameterDescriptionAllowed ValuesDefault Value
tonemapConfigures SDR-to-HDR tone mapping settingsnone
engineTone mapping enginezscale - ZScale FFMpeg filter
cfe - Colorfront engine
zscale
reference_white_levelzscale only - Reference white level for tone mapping specified in nits100-1000203
hdr_amountcfe only - Controls the strength of the remap effect. A value of 0 produces an SDR-like output0-10
hdr_surroundcfe only - This parameter defines how much of the highlight range is boosted. Lower values preserve most of the original luminance, brightening only the upper end of the highlights0-10