File Size

Validate the file size of your output.

<?xml version="1.0"?>
<query>
    <userid><<id>></userid> <!-- required-->
    <userkey><<key>></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": "<<id>>", // required
        "userkey": "<<key>>", // 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

allowed_deviation

Duration deviation in percent

Positive integer number between 0 and 100

none

severity

Specify the QC secerity

warning, fatal

warning