Imgix APIsVideo APIImgix VideoVideo PreviewVideo Preview Segment Duration

Video Preview Segment Duration

video-preview-segment-duration

Processing Time

Video Preview is a time intensive process. First time requests will return 423 for a few minutes until the video is fully processed. Either poll the URL until you receive a video response or check again after a few minutes to see the generated preview.

Sets the minimum length of each individual segment when video-preview=true is present. The value is specified in seconds.

Longer segment durations will result in fewer, more sustained clips, while shorter durations allow for more varied segments within the preview.

When not specified, the default minimum segment duration is 2 seconds.

Examples