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]"
}
}
}]
}
}
}
Parameter | Description | Allowed Values | Default Value |
---|---|---|---|
value | Specify the video duration. | Valid Timecode in format HH:mm:ss.SS | none |
severity | Specify the QC severity. | warning, fatal | warning |
allowed_deviation | Duration deviation in percent | Positive integer number between 0 and 100 | 10 |