AnimationFade
import type { AnimationFade } from "https://googleapis.deno.dev/v1/transcoder:v1.ts";
Display overlay object with fade animation.
interface AnimationFade {
endTimeOffset?: number;
fadeType?: "FADE_TYPE_UNSPECIFIED" | "FADE_IN" | "FADE_OUT";
startTimeOffset?: number;
xy?: NormalizedCoordinate;
}§Properties
§
endTimeOffset?: number
[src]The time to end the fade animation, in seconds. Default:
start_time_offset
+ 1s
§
fadeType?: "FADE_TYPE_UNSPECIFIED" | "FADE_IN" | "FADE_OUT"
[src]Required. Type of fade animation: FADE_IN
or FADE_OUT
.
§
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.