clip
Extract frame-accurate sub-segments from a video into separate files by re-encoding, so cuts land exactly at specified start and end times instead of snapping to keyframes.
Instructions
Extract one or more frame-accurate sub-segments to separate files. Unlike trim (fast stream copy that snaps to a keyframe), clip re-encodes so cuts land exactly on the given times.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| input | Yes | Path to the source video. | |
| output | No | Optional output path. Only honored for a single segment; multi-segment output lands under SCREENCAST_HOME/edits. | |
| segments | Yes | One or more {start, end} segments. Each becomes its own output file. | |
| overwrite | No | Allow replacing an existing file at the output path (default false). |