Video Duration

Validate the video duration of your output.

❗️

Note

This test is ignored for audio-only streams in multibitrate formats.

<?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_video_duration>
                <value>[TimeCode]</value>
                <severity>[fatal|warning]</severity>
            </qc_video_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_video_duration": {
                    "value": "[TimeCode]",
                    "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_video_duration>
                    <value>[TimeCode]</value>
                    <severity>[fatal|warning]</severity>
                </qc_video_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_video_duration": {
                        "value": "[TimeCode]",
                        "severity": "[fatal|warning]"
                    }
                }
            }]
        }
    }
}
ParameterDescriptionAllowed ValuesDefault Value
valueSpecify the video duration.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