共用方式為


H264Video Class

Definition

Describes all the properties for encoding a video with the H.264 codec.

public class H264Video : Azure.ResourceManager.Media.Models.MediaVideoBase
type H264Video = class
    inherit MediaVideoBase
Public Class H264Video
Inherits MediaVideoBase
Inheritance

Constructors

H264Video()

Initializes a new instance of H264Video.

Properties

Complexity

Tells the encoder how to choose its encoding settings. The default value is Balanced.

KeyFrameInterval

The distance between two key frames. The value should be non-zero in the range [0.5, 20] seconds, specified in ISO 8601 format. The default is 2 seconds(PT2S). Note that this setting is ignored if VideoSyncMode.Passthrough is set, where the KeyFrameInterval value will follow the input source setting.

(Inherited from MediaVideoBase)
Label

An optional label for the codec. The label can be used to control muxing behavior.

(Inherited from MediaCodecBase)
Layers

The collection of output H.264 layers to be produced by the encoder.

RateControlMode

The video rate control mode.

StretchMode

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

(Inherited from MediaVideoBase)
SyncMode

The Video Sync Mode.

(Inherited from MediaVideoBase)
UseSceneChangeDetection

Whether or not the encoder should insert key frames at scene changes. If not specified, the default is false. This flag should be set to true only when the encoder is being configured to produce a single output video.

Applies to