Duration

Validate the duration of your output.

<?xml version="1.0"?>
<query>
    <userid>[UserID]</userid> <!-- required-->
    <userkey>[UserKey]</userkey> <!-- required-->
    <action>AddMedia</action> <!-- required-->
    <source>[SourceFile|SourcePlaylist]</source> <!-- required -->
    <format>
        <output>[qc_check|advanced_hls|advanced_dash|advanced_fmp4|fmp4_hls|mp4]</output><!-- required -->
        <!-- format params -->
        <qc> 
            <qc_duration>
                <value>[TimeCode]</value>
                <allowed_deviation>[Percent]</allowed_deviation>
                <severity>[fatal|warning]</severity>
            </qc_duration>
        </qc>
    </format>
</query>
{
    "query": {
        "userid": "[UserID]", // required
        "userkey": "[UserKey]", // required
        "action": "AddMedia", // required
        "source": "[SourceFile|SourcePlaylist]", // required
        "format": {
            "output": "[qc_check|advanced_hls|advanced_dash|advanced_fmp4|fmp4_hls|mp4]", // required
            // format params
            "qc": {
                "qc_duration": {
                    "value": "[TimeCode]",
                    "allowed_deviation": "[Percent]",
                    "severity": "[fatal|warning]"
                }
            }
        }
    }
}
<?xml version="1.0"?>
<query>
    <userid>[UserID]</userid> <!-- required-->
    <userkey>[UserKey]</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 -->
        <!-- format params -->
        <stream>
            <!-- stream params -->
            <qc> 
                <qc_duration>
                    <value>[TimeCode]</value>
                    <allowed_deviation>[Percent]</allowed_deviation>
                    <severity>[fatal|warning]</severity>
                </qc_duration>
            </qc>
        </stream>
    </format>
</query>
{
    "query": {
        "userid": "[UserID]", // required
        "userkey": "[UserKey]", // required
        "action": "AddMedia", // required
        "source": "[SourceFile|SourcePlaylist]", // required
        "format": {
            "output": "[qc_check|advanced_hls|advanced_dash|advanced_fmp4|fmp4_hls]", // required
            // format params
            "stream": [{
                // stream params
                "qc": {
                    "qc_duration": {
                        "value": "[TimeCode]",
                        "allowed_deviation": "[Percent]",
                        "severity": "[fatal|warning]"
                    }
                }
            }]
        }
    }
}
ParameterDecriptionAllowed ValuesDefault Value
valueSpecify the file duration in hours, minutes, and seconds.Valid Timecode in format HH:mm:ss.SSnone
severitySpecify the QC severity.warning, fatalwarning
allowed_deviationDuration deviation in percentPositive integer number between 0 and 10010