Validate Declared Segment Duration

Validate that the actual segment duration matches what is declared in the manifest.

<?xml version="1.0"?>
<query>
    <userid><<id>></userid> <!-- required-->
    <userkey><<key>></userkey> <!-- required-->
    <action>AddMedia</action> <!-- required-->
    <source>[SourceFile|SourcePlaylist]</source> <!-- required -->
    <format>
        <output>[qc_check|advanced_hls|advanced_dash|advanced_fmp4|fmp4_hls]</output> <!-- required -->
        <qc> 
            <qc_validate_segment_duration>
                <allowed_deviation>[Percent]</allowed_deviation>
                <severity>[fatal|warning]</severity>
            </qc_validate_segment_duration>
        </qc>
        <!-- format params -->
    </format>
</query>
{
    "query": {
        "userid": "<<id>>", // required
        "userkey": "<<key>>", // required
        "action": "AddMedia", // required
        "source": "[SourceFile|SourcePlaylist]", // required
        "format": {
            "output": "[qc_check|advanced_hls|advanced_dash|advanced_fmp4|fmp4_hls]", // required
            "qc": {
                "qc_validate_segment_duration": {
                    "allowed_deviation": "[Percent]",
                    "severity": "[fatal|warning]"
                }
            }
            // format params
        }
    }
}

Parameter

Description

Allowed Values

Default Value

allowed_deviation

Specify the duration deviation as a percentage.

0 to 100 integer

10

severity

Specify the QC severity.

warning, fatal

warning