trim
Cut a specific time range from a media file and save the result, using stream copy when the range starts on a keyframe and re-encoding otherwise.
Instructions
Cut one range out of a media file. Stream-copies when the range starts on a keyframe, re-encodes otherwise.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| end | Yes | Range end in seconds (exclusive) | |
| input | Yes | Source media path | |
| start | Yes | Range start in seconds | |
| output | Yes | Output file path | |
| reencode | No | Force re-encoding (true) or a stream copy (false); auto-detected by default | |
| overwrite | No | Replace the output file if it already exists (default false) |