Validate the aspect ratio.
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>
<source>[SourceFile|SourcePlaylist]</source><!-- required -->
<format>
<output>[qc_check|advanced_hls|advanced_dash|advanced_fmp4|fmp4_hls|mp4]</output><!-- required -->
<!-- Format fields -->
<qc>
<qc_aspect_ratio>
<value>[AspectRatio]</value>
<severity>[fatal|warning]</severity>
</qc_aspect_ratio>
</qc>
</format>
</query>
{
"query": {
"userid": "[UserID]",
"userkey": "[UserKey]",
"action": "AddMedia",
"format": {
"output": "[qc_check|advanced_hls|advanced_dash|advanced_fmp4|fmp4_hls|mp4]",
"qc": {
"qc_aspect_ratio": {
"value": "[AspectRatio]",
"severity": "[fatal|warning]"
}
}
}
}
}
<?xml version="1.0"?>
<query>
<userid>[UserID]</userid> <!-- required-->
<userkey>[UserKey]</userkey> <!-- required-->
<action>AddMedia</action>
<format>
<output>[qc_check|advanced_hls|advanced_dash|advanced_fmp4|fmp4_hls]</output><!-- required -->
<!-- Format fields -->
<stream>
<qc>
<qc_aspect_ratio>
<value>[AspectRatio]</value>
<severity>[fatal|warning]</severity>
</qc_aspect_ratio>
</qc>
</stream>
</format>
</query>
{
"query": {
"userid": "[UserID]",
"userkey": "[UserKey]",
"action": "AddMedia",
"format": {
"output": "[qc_check|advanced_hls|advanced_dash|advanced_fmp4|fmp4_hls]",
"stream": [{
"qc": {
"qc_aspect_ratio": {
"value": "[AspectRatio]",
"severity": "[fatal|warning]"
}
}
}]
}
}
}
Parameter | Description | Allowed Values | Default Value |
---|---|---|---|
value | Specify the aspect ratio value. | Positive float value or N:M where N and M are any positive integers. | None |
severity | Specify the QC severity. | warning, fatal | warning |