Clip Ranges

video-clip-ranges

Selects and concatenates multiple non-contiguous segments from a video in a single request.

video-clip-ranges accepts a semicolon-separated list of start-end time pairs in seconds. Each pair defines a segment to include in the output, and the segments are joined in the order they are specified.

video-clip-ranges=0-5;10-15;18-22

The example above produces a single output video containing three segments: seconds 0–5, seconds 10–15, and seconds 18–22, concatenated in that order.

Comparison with individual clip parameters

The video-clip-start, video-clip-end, and video-clip-duration parameters extract a single contiguous segment. Use video-clip-ranges when you need to extract and join multiple non-contiguous segments in one operation.

video-clip-ranges cannot be combined with video-clip-start, video-clip-end, or video-clip-duration.