Create padding around the borders of your source video.
<?xml version="1.0"?>
<query>
<userid>[UserID]</userid> <!-- required-->
<userkey>[UserKey]</userkey> <!-- required-->
<action>[Action]</action> <!-- required-->
<format>
<padd_top>[PaddingTop]</padd_top>
<padd_right>[PaddingRight]</padd_right>
<padd_bottom>[PaddingBottom]</padd_bottom>
<padd_left>[PaddingLeft]</padd_left>
<padd_color>[PaddingColor]</padd_color>
</format>
</query>
{
"query": {
"userid": "[UserID]",
"userkey": "[UserKey]",
"action": "[Action]",
"format": {
"padd_top": "[PaddingTop]",
"padd_right": "[PaddingRight]",
"padd_bottom": "[PaddingBottom]",
"padd_left": "[PaddingLeft]",
"padd_color": "[PaddingColor]",
}
}
}
Parameter | Description | Allowed Values | Default Value |
---|---|---|---|
padd_top | Specify the top padding size in pixels. | Positive integer | None |
padd_right | Specify the right padding size in pixels. | Non-negative integer | None |
padd_bottom | Specify the bottom padding size in pixels. | Non-negative integer | None |
padd_left | Specify the left padding size in pixels. | Non-negative integer | None |
padd_color | Specify the color for padding and alpha channel | RRGGBB[AA] | 000000 |