Class Overlay (0.3.1)

Overlay(mapping=None, *, ignore_unknown_fields=False, **kwargs)

Overlay configuration. .. attribute:: image

Image overlay.

:type: google.cloud.video.transcoder_v1beta1.types.Overlay.Image

Attribute

NameDescription
animations Sequence[google.cloud.video.transcoder_v1beta1.types.Overlay.Animation]
List of Animations. The list should be chronological, without any time overlap.

Classes

Animation

Animation(mapping=None, *, ignore_unknown_fields=False, **kwargs)

Animation types. .. attribute:: animation_static

Display static overlay object.

:type: google.cloud.video.transcoder_v1beta1.types.Overlay.AnimationStatic

AnimationEnd

AnimationEnd(mapping=None, *, ignore_unknown_fields=False, **kwargs)

End previous overlay animation from the video. Without AnimationEnd, the overlay object will keep the state of previous animation until the end of the video.

AnimationFade

AnimationFade(mapping=None, *, ignore_unknown_fields=False, **kwargs)

Display overlay object with fade animation. .. attribute:: fade_type

Required. Type of fade animation: FADE_IN or FADE_OUT.

:type: google.cloud.video.transcoder_v1beta1.types.Overlay.FadeType

AnimationStatic

AnimationStatic(mapping=None, *, ignore_unknown_fields=False, **kwargs)

Display static overlay object. .. attribute:: xy

Normalized coordinates based on output video resolution. Valid values: 0.01.0. xy is the upper-left coordinate of the overlay object.

:type: google.cloud.video.transcoder_v1beta1.types.Overlay.NormalizedCoordinate

FadeType

FadeType(value)

Fade type for the overlay: FADE_IN or FADE_OUT.

Image

Image(mapping=None, *, ignore_unknown_fields=False, **kwargs)

Overlaid jpeg image. .. attribute:: uri

Required. URI of the image in Cloud Storage. For example, gs://bucket/inputs/image.jpeg.

:type: str

NormalizedCoordinate

NormalizedCoordinate(mapping=None, *, ignore_unknown_fields=False, **kwargs)

2D normalized coordinates. Default: {0.0, 0.0} .. attribute:: x

Normalized x coordinate.

:type: float