Skip to main content

class  pixeltable.functions.video.VideoSegment

One segment of a video: the segment’s video plus where it falls in the source video.

attr  segment_end

Segment end, in seconds from the start of the source video; None if the source stream does not report it.

attr  segment_end_pts

Segment end, as a presentation timestamp (in the source stream’s time base); None if unavailable.

attr  segment_start

Segment start, in seconds from the start of the source video; None if the source stream does not report it.

attr  segment_start_pts

Segment start, as a presentation timestamp (in the source stream’s time base); None if unavailable.

attr  video_segment

The segment’s video.
Last modified on July 14, 2026