trim_video
Cut out a video segment from a start to an end timestamp. Accepts seconds or MM:SS/HH:MM:SS, snaps to nearest keyframe, and stream-copies without re-encoding.
Instructions
Cut a segment out of a video (start to end). Timestamps accept seconds ("90"), "MM:SS" or "HH:MM:SS". Cut points snap to the nearest keyframe (stream copy, no re-encode).
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| end | Yes | End timestamp — must be after start | |
| start | Yes | Start timestamp, e.g. "5", "1:30", "00:01:30" | |
| video_path | Yes | Local path to the video |