Share via


VideoSyncMode Struct

Definition

The Video Sync Mode.

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

Constructors

VideoSyncMode(String)

Initializes a new instance of VideoSyncMode.

Properties

Auto

This is the default method. Chooses between Cfr and Vfr depending on muxer capabilities. For output format MP4, the default mode is Cfr.

Cfr

Input frames will be repeated and/or dropped as needed to achieve exactly the requested constant frame rate. Recommended when the output frame rate is explicitly set at a specified value.

Passthrough

The presentation timestamps on frames are passed through from the input file to the output file writer. Recommended when the input source has variable frame rate, and are attempting to produce multiple layers for adaptive streaming in the output which have aligned GOP boundaries. Note: if two or more frames in the input have duplicate timestamps, then the output will also have the same behavior.

Vfr

Similar to the Passthrough mode, but if the input has frames that have duplicate timestamps, then only one frame is passed through to the output, and others are dropped. Recommended when the number of output frames is expected to be equal to the number of input frames. For example, the output is used to calculate a quality metric like PSNR against the input.

Methods

Equals(VideoSyncMode)

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(VideoSyncMode, VideoSyncMode)

Determines if two VideoSyncMode values are the same.

Implicit(String to VideoSyncMode)

Converts a string to a VideoSyncMode.

Inequality(VideoSyncMode, VideoSyncMode)

Determines if two VideoSyncMode values are not the same.

Applies to