H264Video Class
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Describes all the properties for encoding a video with the H.264 codec.
[Newtonsoft.Json.JsonObject("#Microsoft.Media.H264Video")]
public class H264Video : Microsoft.Azure.Management.Media.Models.Video
[<Newtonsoft.Json.JsonObject("#Microsoft.Media.H264Video")>]
type H264Video = class
inherit Video
Public Class H264Video
Inherits Video
- Inheritance
- Attributes
-
Newtonsoft.Json.JsonObjectAttribute
Constructors
H264Video() |
Initializes a new instance of the H264Video class. |
H264Video(String, Nullable<TimeSpan>, Nullable<StretchMode>, Nullable<VideoSyncMode>, Nullable<H264Complexity>, IList<H264Layer>, Nullable<H264RateControlMode>, Nullable<Boolean>) |
Initializes a new instance of the H264Video class. |
Properties
Complexity |
Gets or sets tells the encoder how to choose its encoding settings. The default value is Balanced. Possible values include: 'Speed', 'Balanced', 'Quality' |
KeyFrameInterval |
Gets or sets 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 Video) |
Label |
Gets or sets an optional label for the codec. The label can be used to control muxing behavior. (Inherited from Codec) |
Layers |
Gets or sets the collection of output H.264 layers to be produced by the encoder. |
RateControlMode |
Gets or sets the video rate control mode. Possible values include: 'ABR', 'CBR', 'CRF' |
SceneChangeDetection |
Gets or sets 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. |
StretchMode |
Gets or sets the resizing mode - how the input video will be resized to fit the desired output resolution(s). Default is AutoSize. Possible values include: 'None', 'AutoSize', 'AutoFit' (Inherited from Video) |
SyncMode |
Gets or sets the Video Sync Mode. Possible values include: 'Auto', 'Passthrough', 'Cfr', 'Vfr' (Inherited from Video) |
Applies to
Azure SDK for .NET