transcode_video
Normalize a video to a fixed aspect ratio (9:16, 1:1, or 16:9) by adding padding and re-encoding. Rejects invalid aspect values to prevent silent failures.
Instructions
Normalize a video to a fixed aspect ratio (9:16, 1:1 or 16:9) with padding, re-encoded. Unknown aspect values are rejected — nothing silently falls back.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| aspect | Yes | Target aspect ratio | |
| quality | No | Encoding quality. Default medium. | |
| video_path | Yes | Local path to the video |