transform
Resize, crop, and retime videos by changing playback speed, then re-encode to H.264/AAC or VP9 for .webm output. Set width or height to preserve aspect ratio and retime audio automatically.
Instructions
Resize, crop and/or change the speed of a video (re-encodes with H.264/AAC, or VP9 for .webm).
width / height: target size in pixels; give one and the other keeps the aspect ratio. crop: "W:H" (centered) or "W:H:X:Y" in pixels, applied before resizing. speed: 0.25-4 (2 = twice as fast, 0.5 = slow motion); audio is retimed to match. Default output: name.transformed.ext.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| crop | No | ||
| input | Yes | ||
| speed | No | ||
| width | No | ||
| height | No | ||
| output | No | ||
| dry_run | No | ||
| overwrite | No | ||
| timeout_s | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |