Overlay(mapping=None, *, ignore_unknown_fields=False, **kwargs)
Overlay configuration. .. attribute:: image
Image overlay.
:type: google.cloud.video.transcoder_v1beta1.types.Overlay.Image
Attribute | |
---|---|
Name | Description |
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.0
–1.0
. xy
is the upper-left
coordinate of the overlay object. For example, use the x and
y coordinates {0,0} to position the top-left corner of the
overlay animation in the top-left corner of the output
video.
: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 JPEG image in Cloud Storage. For
example, gs://bucket/inputs/image.jpeg
. JPEG is the only
supported image type.
: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