Validate Discontinuity Tags

Checks that discontinuity tags are placed at program segment boundaries.

<?xml version="1.0"?>
<query>
    <userid><<id>></userid> <!-- required-->
    <userkey><<key>></userkey> <!-- required-->
    <action>AddMedia</action>
    <source>[SourceFile|SourcePlaylist]</source><!-- required -->
    <format>
        <output>[qc_check|advanced_hls|advanced_fmp4|fmp4_hls]</output><!-- required -->
        <!-- Format fields -->
        <qc> 
            <qc_discontinuity_tags>
                <value>[ProgramSegmentStart1-ProgramSegmentEnd1]</value>
                <value>[ProgramSegment2Start2-ProgramSegmentEnd2]</value>
                <!-- Multiple value tags -->
                <allowed_deviation>[Percent]</allowed_deviation>
                <severity>[fatal|warning]</severity>
            </qc_discontinuity_tags>
        </qc>
    </format>
</query>
{
    "query": {
        "userid": "<<id>>",
        "userkey": "<<key>>",
        "action": "AddMedia",
        "format": {
            "output": "[qc_check|advanced_hls|advanced_fmp4|fmp4_hls]",
            "qc": {
                "qc_discontinuity_tags": {
                    "value": [
                        "[ProgramSegmentStart1-ProgramSegmentEnd1]",
                        "[ProgramSegment2Start2-ProgramSegmentEnd2]"
                    ],
                    "allowed_deviation": "[Percent]",
                    "severity": "[fatal|warning]"
                }
            }
        }
    }
}
<?xml version="1.0"?>
<query>
    <userid><<id>></userid> <!-- required-->
    <userkey><<key>></userkey> <!-- required-->
    <action>AddMedia</action>
    <format>
        <output>[qc_check|advanced_hls|advanced_fmp4|fmp4_hls]</output><!-- required -->
        <!-- Format fields -->
        <stream>
            <qc> 
                <qc_discontinuity_tags>
                    <value>[ProgramSegmentStart1-ProgramSegmentEnd1]</value>
                    <value>[ProgramSegment2Start2-ProgramSegmentEnd2]</value>
                    <!-- Multiple value tags -->
                    <allowed_deviation>[Percent]</allowed_deviation>
                    <severity>[fatal|warning]</severity>
                </qc_discontinuity_tags>
            </qc>
        </stream>
    </format>
</query>
{
    "query": {
        "userid": "<<id>>",
        "userkey": "<<key>>",
        "action": "AddMedia",
        "format": {
            "output": "[qc_check|advanced_hls|advanced_fmp4|fmp4_hls]",
            "stream": [{
                "qc": {
                    "qc_discontinuity_tags": {
                        "value": [
                            "[ProgramSegmentStart1-ProgramSegmentEnd1]",
                            "[ProgramSegment2Start2-ProgramSegmentEnd2]"
                        ],
                        "allowed_deviation": "[Percent]",
                        "severity": "[fatal|warning]"
                    }
                }
            }]
        }
    }
}

Parameter

Description

Allowed Values

Default Value

value

Specify the program boundary segments.

2 timestamps in format ‘hh:mm:ss.ms-hh:mm:ss.ms’.

None

allowed_deviation

Specify the duration deviation as a percentage.

0 to 100

10

severity

Specify the QC severity.

warning, fatal

warning