File Size

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]"
                }
            }
        }
    }
}
ParameterDescriptionAllowed ValuesDefault Value
valueSpecify the file size, in bytes.Positive integernone
severitySpecify the QC seceritywarning, fatalwarning
allowed_deviationDuration deviation in percentPositive integer number between 0 and 100none