ComposePart

Describe an individual part representing the contribution of one source to a composition.

Field

Type

Repeated

Description

pin

InputPin

Input pin for this source

source_rect

OffsetRectangle

The area within the source picture to include. This may be the full picture or cropped, and will be rescaled if necessary.

dest_rect

OffsetRectangle

The area within the destination picture to place this part of the composition.

z_index

uint32

Z-index to determine ordering by which the sources are overlaid (higher layers appear on top)

opacity

float

Opacity multiplier of this overlay (where 0.0 is fully transparent and 1.0 is fully opaque)

id

PartId

Optionally identify the part to enable transitions

transition

Transition

Optionally specify a transition for this part. A transition is applied only if the part is specified in both the existing and the current/new configuration, identified by having the same id specified, and a transition is specified for the new configuration.

Member of

Message

Description

VideoComposeConfiguration

Configure a Compose Media Node.

VideoComposeUpdateConfiguration