Validate the file size of your output.
<?xml version="1.0"?>
<query>
<userid>[UserID]</userid> <!-- required-->
<userkey>[UserKey]</userkey> <!-- required-->
<action>AddMedia</action>
<source>[SourceFile|SourcePlaylist]</source><!-- required -->
<format>
<output>[qc_check|mp4]</output><!-- required -->
<!-- format params -->
<qc>
<qc_file_size>
<value>[Size]</value>
<allowed_deviation>[Percent]</allowed_deviation>
<severity>[fatal|warning]</severity>
</qc_file_size>
</qc>
</format>
</query>
{
"query": {
"userid": "[UserID]", // required
"userkey": "[UserKey]", // required
"action": "AddMedia", // required
"source": "[SourceFile|SourcePlaylist]", // required
"format": {
"output": "[qc_check|mp4]", // required
// format params
"qc": {
"qc_file_size": {
"value": "[Size]",
"allowed_deviation": "[Percent]",
"severity": "[fatal|warning]"
}
}
}
}
}
Parameter | Description | Allowed Values | Default Value |
---|---|---|---|
value | Specify the file size, in bytes. | Positive integer | none |
severity | Specify the QC secerity | warning, fatal | warning |
allowed_deviation | Duration deviation in percent | Positive integer number between 0 and 100 | none |