FadeArgs

data class FadeArgs(val duration: Output<String>, val fadeColor: Output<String>, val start: Output<String>? = null) : ConvertibleToJava<FadeArgs>

Describes the properties of a Fade effect applied to the input media.

Constructors

Link copied to clipboard
constructor(duration: Output<String>, fadeColor: Output<String>, start: Output<String>? = null)

Properties

Link copied to clipboard
val duration: Output<String>

The Duration of the fade effect in the video. The value can be in ISO 8601 format (For example, PT05S to fade In/Out a color during 5 seconds), or a frame count (For example, 10 to fade 10 frames from the start time), or a relative value to stream duration (For example, 10% to fade 10% of stream duration)

Link copied to clipboard
val fadeColor: Output<String>

The Color for the fade In/Out. it can be on the CSS Level1 colors https://developer.mozilla.org/en-US/docs/Web/CSS/color_value/color_keywords or an RGB/hex value: e.g: rgb(255,0,0), 0xFF0000 or #FF0000

Link copied to clipboard
val start: Output<String>? = null

The position in the input video from where to start fade. The value can be in ISO 8601 format (For example, PT05S to start at 5 seconds), or a frame count (For example, 10 to start at the 10th frame), or a relative value to stream duration (For example, 10% to start at 10% of stream duration). Default is 0

Functions

Link copied to clipboard
open override fun toJava(): FadeArgs