---
updatedAt: 2025-06-18T02:38:07.000Z
agentTools:
  projectIndex: https://api.encoding.com/llms.txt
---

# Padding

Create padding around the borders of your source video.

```xml
<?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>
```
```json
{
  "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        |