change_aspect_ratio
Modify video aspect ratio by cropping or adding padding with a specified color. Supports custom dimensions and outputs processed video to the desired path.
Instructions
Changes the aspect ratio of a video, using padding or cropping. Args listed in PRD. Returns: A status message indicating success or failure.
Input Schema
| Name | Required | Description | Default | 
|---|---|---|---|
| output_video_path | Yes | ||
| padding_color | No | black | |
| resize_mode | No | pad | |
| target_aspect_ratio | Yes | ||
| video_path | Yes | 
Input Schema (JSON Schema)
{
  "properties": {
    "output_video_path": {
      "title": "Output Video Path",
      "type": "string"
    },
    "padding_color": {
      "default": "black",
      "title": "Padding Color",
      "type": "string"
    },
    "resize_mode": {
      "default": "pad",
      "title": "Resize Mode",
      "type": "string"
    },
    "target_aspect_ratio": {
      "title": "Target Aspect Ratio",
      "type": "string"
    },
    "video_path": {
      "title": "Video Path",
      "type": "string"
    }
  },
  "required": [
    "video_path",
    "output_video_path",
    "target_aspect_ratio"
  ],
  "title": "change_aspect_ratioArguments",
  "type": "object"
}