<?xml version="1.0"?>
<query>
<userid>[UserID]</userid> <!-- required-->
<userkey>[UserKey]</userkey> <!-- required-->
<action>[Action]</action> <!-- required-->
<format>
<rotate>[RotateDegree]</rotate>
<set_rotate>[RotateMeta]</set_rotate>
</format>
</query>
{
"query": {
"userid": "[UserID]",
"userkey": "[UserKey]",
"action": "[Action]",
"format": {
"rotate": "[RotateDegree]",
"set_rotate": "[RotateMeta]"
}
}
}
Parameter | Description | Allowed Values | Default Value |
---|---|---|---|
rotate | Enables the rotation of the video picture. | def — don't change anything. Video will be rotated according to Rotation meta data parameter, if it exists. 0 — don't rotate and ignore Rotation meta data parameter. 90 — rotate by 90 degree CW and ignore Rotation meta data parameter. 180 — rotate by 180 degree and ignore Rotation meta data parameter. 270 — rotate by 270 degree CW and ignore Rotation meta data parameter. | def |
set_rotate | Specifies the rotation meta-data for .MOV files. | 0 — don't set anything 90 — rotate by 90 degree CW 180 — rotate by 180 degree 270 — rotate by 270 degree CW source — keep the source value (if any) | 0 |