Class VideoSegmentConfig (1.94.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.

Except as otherwise noted, the content of this page is licensed under the Creative Commons Attribution 4.0 License, and code samples are licensed under the Apache 2.0 License. For details, see the Google Developers Site Policies. Java is a registered trademark of Oracle and/or its affiliates.

Last updated 2025年10月30日 UTC.