MediaOverlayBase Class

Definition

Base type for all overlays - image, audio or video. Please note MediaOverlayBase is the base class. According to the scenario, a derived class of the base class might need to be assigned here, or this property needs to be casted to one of the possible derived classes. The available derived classes include AudioOverlay and VideoOverlay.

public abstract class MediaOverlayBase
type MediaOverlayBase = class
Public MustInherit Class MediaOverlayBase
Inheritance
MediaOverlayBase
Derived

Constructors

MediaOverlayBase(String)

Initializes a new instance of MediaOverlayBase.

Properties

AudioGainLevel

The gain level of audio in the overlay. The value should be in the range [0, 1.0]. The default is 1.0.

End

The end position, with reference to the input video, at which the overlay ends. The value should be in ISO 8601 format. For example, PT30S to end the overlay at 30 seconds into the input video. If not specified or the value is greater than the input video duration, the overlay will be applied until the end of the input video if the overlay media duration is greater than the input video duration, else the overlay will last as long as the overlay media duration.

FadeInDuration

The duration over which the overlay fades in onto the input video. The value should be in ISO 8601 duration format. If not specified the default behavior is to have no fade in (same as PT0S).

FadeOutDuration

The duration over which the overlay fades out of the input video. The value should be in ISO 8601 duration format. If not specified the default behavior is to have no fade out (same as PT0S).

InputLabel

The label of the job input which is to be used as an overlay. The Input must specify exactly one file. You can specify an image file in JPG, PNG, GIF or BMP format, or an audio file (such as a WAV, MP3, WMA or M4A file), or a video file. See https://aka.ms/mesformats for the complete list of supported audio and video file formats.

Start

The start position, with reference to the input video, at which the overlay starts. The value should be in ISO 8601 format. For example, PT05S to start the overlay at 5 seconds into the input video. If not specified the overlay starts from the beginning of the input video.

Applies to