trim
Cuts a video segment using start time and duration. Prefers stream copy for fast processing, then falls back to encoding to ensure accurate keyframe-aligned cuts.
Instructions
Trim video. Auto attempts stream copy, then falls back to encoding; copy is keyframe-aligned.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| mode | No | auto | |
| input | Yes | ||
| start | Yes | ||
| output | Yes | ||
| duration | Yes |