Class VideoMetadata (1.140.0)

VideoMetadata(
    *,
    endOffset: typing.Optional[str] = None,
    fps: typing.Optional[float] = None,
    startOffset: typing.Optional[str] = None
)

Provides metadata for a video, including the start and end offsets for clipping and the frame rate.

Methods

VideoMetadata

VideoMetadata(
    *,
    endOffset: typing.Optional[str] = None,
    fps: typing.Optional[float] = None,
    startOffset: typing.Optional[str] = None
)

Create a new model by parsing and validating input data from keyword arguments.

Raises [ValidationError][pydantic_core.ValidationError] if the input data cannot be validated to form a valid model.

self is explicitly positional-only to allow self as a field name.