video_trim
Trim video clips by specifying start time and duration or end time. Cut unwanted sections from videos using timestamps or duration values.
Instructions
Trim a video clip by start time and duration.
Args: input_path: Absolute path to the input video. start: Start timestamp (e.g. '00:02:15' or seconds as string like '10.5'). duration: Duration to keep (e.g. '00:00:30' or '30'). Exclusive with end. end: End timestamp. Exclusive with duration. output_path: Where to save the trimmed video. Auto-generated if omitted.
Input Schema
TableJSON Schema
| Name | Required | Description | Default |
|---|---|---|---|
| input_path | Yes | ||
| start | No | 0 | |
| duration | No | ||
| end | No | ||
| output_path | No |