Video interface
Describes the basic properties for encoding the input video.
- Extends
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. |
odata |
Polymorphic discriminator, which specifies the different types this object can be |
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 |
Inherited Properties
label | An optional label for the codec. The label can be used to control muxing behavior. |
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
odataType
Polymorphic discriminator, which specifies the different types this object can be
odataType: "#Microsoft.Media.Video" | "#Microsoft.Media.H265Video" | "#Microsoft.Media.Image" | "#Microsoft.Media.H264Video" | "#Microsoft.Media.JpgImage" | "#Microsoft.Media.PngImage"
Property Value
"#Microsoft.Media.Video" | "#Microsoft.Media.H265Video" | "#Microsoft.Media.Image" | "#Microsoft.Media.H264Video" | "#Microsoft.Media.JpgImage" | "#Microsoft.Media.PngImage"
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
syncMode
The Video Sync Mode
syncMode?: string
Property Value
string
Inherited Property Details
label
An optional label for the codec. The label can be used to control muxing behavior.
label?: string
Property Value
string
Inherited From Codec.label