video_trim
Cut a specific section from a video into a new file using lossless stream copy, with optional start/end times and overwrite control.
Instructions
Cut a section out of a video into a new file (stream copy, so it is fast and lossless; cuts land on keyframes). Never overwrites unless overwrite=true.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| end | No | ||
| start | No | ||
| overwrite | No | ||
| input_path | Yes | ||
| output_path | Yes |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| note | No | Stream copy: cuts land on the nearest keyframe, so the start can be a little early. | |
| end_seconds | Yes | None when the trim runs to the end of the file. | |
| output_path | Yes | ||
| output_bytes | Yes | ||
| start_seconds | Yes | ||
| source_duration_seconds | Yes |