HLG

🚧

Note

HLG available only for hevc <video_codec />.

🚧

Note

HLG available only for mp4, mpegts, fmp4_hls, advanced_dash, and advanced_fmp4 output formats.

<?xml version="1.0"?>
<query>
    <userid><<id>></userid> <!-- required-->
    <userkey><<key>></userkey> <!-- required-->
    <action>[Action]</action> <!-- required-->
    <source>[SourceFile]</source> <!-- required-->
    <format>
        <output>[mp4|mpegts]</output> <!-- required-->
        <hdr>[hlg|hlg-sdr-compat|hlg-non-sdr-compat]</hdr>
        <video_codec_parameters>
            <level>[Level]</level>
        </video_codec_parameters>
        <!-- Format params -->
    </format>
</query>
{
    "query": {
        "userid": "<<id>>", // required
        "userkey": "<<key>>", // required
        "action": "[Action]", // required
        "source": "[SourceFile]", // required
        "format": {
            "output": "[mp4|mpegts]", // required
            "hdr": "[hlg|hlg-sdr-compat|hlg-non-sdr-compat]",
            "video_codec_parameters": {
                "level": "[Level]"
            }
            // Format params
        }
    }
}
<?xml version="1.0"?>
<query>
    <userid><<id>></userid> <!-- required-->
    <userkey><<key>></userkey> <!-- required-->
    <action>[Action]</action> <!-- required-->
    <source>[SourceFile]</source> <!-- required-->
    <format>
        <output>[fmp4_hls|advanced_dash|advanced_fmp4]</output> <!-- required-->
        <destination>[DestinationURL]</destination> <!-- required-->
        <stream>
            <hdr>[hlg|hlg-sdr-compat|hlg-non-sdr-compat]</hdr>
            <video_codec_parameters>
                <level>[Level]</level>
            </video_codec_parameters>
        </stream>
        <stream>
            <!-- stream params -->
        </stream>
        <!-- Format params -->
    </format>
</query>
{
    "query": {
        "userid": "<<id>>", // required
        "userkey": "<<key>>", // required
        "action": "[Action]", // required
        "source": "[SourceFile]", // required
        "format": {
            "output": "[fmp4_hls|advanced_dash|advanced_fmp4]", // required
            "destination": "[DestinationURL]", // required
            "stream": [
                {
                    "hdr": "[hlg|hlg-sdr-compat|hlg-non-sdr-compat]",
                    "video_codec_parameters": {
                        "level": "[Level]"
                    }
                },
                {
                    // stream params
                }
            ],
            "segment_template": "[number|time]"
            // Format params
        }
    }
}

Parameter

Description

Available Values

Default Value

Format Parameters

hdr

HDR mode

hlg – default HLG mode. Transfer characteristics - 14 (BT.2020); alternative transfer characteristics - 18 (HLG).
hlg-sdr-compat – SDR compatible mode. Transfer characteristics - 1 (BT.709); alternative transfer characteristics - 18 (HLG).
hlg-non-sdr-compat  – Non-SDR compatible mode. Transfer characteristics - 18 (HLG); alternative transfer characteristics - 18 (HLG).

none

VIdeo Codec Parameters

level

Video Level

Valid video level string

5.0