Megosztás a következőn keresztül:


InputVideoStretchMode Struct

Definition

The resizing mode - how the input video will be resized to fit the desired output resolution(s). Default is AutoSize.

public readonly struct InputVideoStretchMode : IEquatable<Azure.ResourceManager.Media.Models.InputVideoStretchMode>
type InputVideoStretchMode = struct
Public Structure InputVideoStretchMode
Implements IEquatable(Of InputVideoStretchMode)
Inheritance
InputVideoStretchMode
Implements

Constructors

InputVideoStretchMode(String)

Initializes a new instance of InputVideoStretchMode.

Properties

AutoFit

Pad the output (with either letterbox or pillar box) to honor the output resolution, while ensuring that the active video region in the output has the same aspect ratio as the input. For example, if the input is 1920x1080 and the encoding preset asks for 1280x1280, then the output will be at 1280x1280, which contains an inner rectangle of 1280x720 at aspect ratio of 16:9, and pillar box regions 280 pixels wide at the left and right.

AutoSize

Override the output resolution, and change it to match the display aspect ratio of the input, without padding. For example, if the input is 1920x1080 and the encoding preset asks for 1280x1280, then the value in the preset is overridden, and the output will be at 1280x720, which maintains the input aspect ratio of 16:9.

None

Strictly respect the output resolution without considering the pixel aspect ratio or display aspect ratio of the input video.

Methods

Equals(InputVideoStretchMode)

Indicates whether the current object is equal to another object of the same type.

ToString()

Returns the fully qualified type name of this instance.

Operators

Equality(InputVideoStretchMode, InputVideoStretchMode)

Determines if two InputVideoStretchMode values are the same.

Implicit(String to InputVideoStretchMode)

Converts a string to a InputVideoStretchMode.

Inequality(InputVideoStretchMode, InputVideoStretchMode)

Determines if two InputVideoStretchMode values are not the same.

Applies to