Validate Segment Duration

Validate that the segment duration is correct in the manifests declaration.
E.g. #EXT-X-TARGETDURATION is correct.

<?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_target_segment_duration>
                <value>[Number]</value>
                <severity>[fatal|warning]</severity>
            </qc_target_segment_duration>
        </qc>
    </format>
</query>
{
    "query": {
        "userid": "<<id>>",
        "userkey": "<<key>>",
        "action": "AddMedia",
        "format": {
            "output": "[qc_check|advanced_hls|advanced_fmp4|fmp4_hls]",
            "qc": {
                "qc_target_segment_duration": {
                    "value": "[Number]",
                    "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_target_segment_duration>
                    <value>[Number]</value>
                    <severity>[fatal|warning]</severity>
                </qc_target_segment_duration>
            </qc>
        </stream>
    </format>
</query>
{
    "query": {
        "userid": "<<id>>",
        "userkey": "<<key>>",
        "action": "AddMedia",
        "format": {
            "output": "[qc_check|advanced_hls|advanced_fmp4|fmp4_hls]",
            "stream": [{
                "qc": {
                    "qc_target_segment_duration": {
                        "value": "[Number]",
                        "severity": "[fatal|warning]"
                    }
                }
            }]
        }
    }
}

Parameter

Description

Allowed Values

Default Value

value

Specify the segment duration in seconds.

Positive integer

None

severity

Sepcify the QC severity.

warning, fatal

warning