H264Video interface
Describes all the properties for encoding a video with the H.264 codec.
- Extends
Properties
complexity | Tells the encoder how to choose its encoding settings. The default value is Balanced. |
layers | The collection of output H.264 layers to be produced by the encoder. |
odata |
Polymorphic discriminator, which specifies the different types this object can be |
rate |
The video rate control mode |
scene |
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. |
Inherited Properties
key |
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. |
label | An optional label for the codec. The label can be used to control muxing behavior. |
stretch |
The resizing mode - how the input video will be resized to fit the desired output resolution(s). Default is AutoSize |
sync |
The Video Sync Mode |
Property Details
complexity
Tells the encoder how to choose its encoding settings. The default value is Balanced.
complexity?: string
Property Value
string
layers
The collection of output H.264 layers to be produced by the encoder.
layers?: H264Layer[]
Property Value
odataType
Polymorphic discriminator, which specifies the different types this object can be
odataType: "#Microsoft.Media.H264Video"
Property Value
"#Microsoft.Media.H264Video"
rateControlMode
The video rate control mode
rateControlMode?: string
Property Value
string
sceneChangeDetection
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.
sceneChangeDetection?: boolean
Property Value
boolean
Inherited Property Details
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.
keyFrameInterval?: string
Property Value
string
Inherited From Video.keyFrameInterval
label
An optional label for the codec. The label can be used to control muxing behavior.
label?: string
Property Value
string
Inherited From Video.label
stretchMode
The resizing mode - how the input video will be resized to fit the desired output resolution(s). Default is AutoSize
stretchMode?: string
Property Value
string
Inherited From Video.stretchMode