MediaVideoBase 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 the basic properties for encoding the input video. Please note MediaVideoBase is the base class. According to the scenario, a derived class of the base class might need to be assigned here, or this property needs to be casted to one of the possible derived classes. The available derived classes include H264Video, H265Video, MediaImageBase, JpgImage and PngImage.
public class MediaVideoBase : Azure.ResourceManager.Media.Models.MediaCodecBase
type MediaVideoBase = class
inherit MediaCodecBase
Public Class MediaVideoBase
Inherits MediaCodecBase
- Inheritance
- Derived
Constructors
MediaVideoBase() |
Initializes a new instance of MediaVideoBase. |
Properties
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. |
Label |
An optional label for the codec. The label can be used to control muxing behavior. (Inherited from MediaCodecBase) |
StretchMode |
The resizing mode - how the input video will be resized to fit the desired output resolution(s). Default is AutoSize. |
SyncMode |
The Video Sync Mode. |