Class VideoSegmentConfig (1.53.0)

VideoSegmentConfig(
    start_offset_sec: int = 0, end_offset_sec: int = 120, interval_sec: int = 16
)

The specific video segments (in seconds) the embeddings are generated for.

Methods

VideoSegmentConfig

VideoSegmentConfig(
    start_offset_sec: int = 0, end_offset_sec: int = 120, interval_sec: int = 16
)

Creates a VideoSegmentConfig object.

Parameters
Name Description
start_offset_sec int

Start time offset (in seconds) to generate embeddings for.

end_offset_sec int

End time offset (in seconds) to generate embeddings for.

interval_sec int

Interval to divide video for generated embeddings.