H265Video interface
Describes all the properties for encoding a video with the H.265 codec.
- Extends
Properties
complexity | Tells the encoder how to choose its encoding settings. Quality will provide for a higher compression ratio but at a higher cost and longer compute time. Speed will produce a relatively larger file but is faster and more economical. The default value is Balanced. |
layers | The collection of output H.265 layers to be produced by the encoder. |
odata |
Polymorphic discriminator, which specifies the different types this object can be |
scene |
Specifies 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. Quality will provide for a higher compression ratio but at a higher cost and longer compute time. Speed will produce a relatively larger file but is faster and more economical. The default value is Balanced.
complexity?: string
Property Value
string
layers
The collection of output H.265 layers to be produced by the encoder.
layers?: H265Layer[]
Property Value
odataType
Polymorphic discriminator, which specifies the different types this object can be
odataType: "#Microsoft.Media.H265Video"
Property Value
"#Microsoft.Media.H265Video"
sceneChangeDetection
Specifies 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