JpgLayer Class

Describes the settings to produce a JPEG image from the input video.

Inheritance
azure.mgmt.media.models._models_py3.Layer
JpgLayer

Constructor

JpgLayer(*, width: str | None = None, height: str | None = None, label: str | None = None, quality: int | None = None, **kwargs)

Keyword-Only Parameters

Name Description
width
str

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.

height
str

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
str

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

quality
int

The compression quality of the JPEG output. Range is from 0-100 and the default is 70.

Variables

Name Description
width
str

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.

height
str

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
str

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

quality
int

The compression quality of the JPEG output. Range is from 0-100 and the default is 70.