Condividi tramite


Layer Class

Definition

The encoder can be configured to produce video and/or images (thumbnails) at different resolutions, by specifying a layer for each desired resolution. A layer represents the properties for the video or image at a resolution.

public class Layer
type Layer = class
Public Class Layer
Inheritance
Layer
Derived

Constructors

Layer()

Initializes a new instance of the Layer class.

Layer(String, String, String)

Initializes a new instance of the Layer class.

Properties

Height

Gets or sets the height of the output video for this layer. The value can be absolute (in pixels) or relative (in percentage). For example 50% means the output video has half as many pixels in height as the input.

Label

Gets or sets the alphanumeric label for this layer, which can be used in multiplexing different video and audio layers, or in naming the output file.

Width

Gets or sets the width of the output video for this layer. The value can be absolute (in pixels) or relative (in percentage). For example 50% means the output video has half as many pixels in width as the input.

Applies to