H265Video Class
Describes all the properties for encoding a video with the H.265 codec.
All required parameters must be populated in order to send to Azure.
- Inheritance
-
azure.mgmt.media.models._models_py3.VideoH265Video
Constructor
H265Video(*, label: Optional[str] = None, key_frame_interval: Optional[datetime.timedelta] = None, stretch_mode: Optional[Union[str, _models.StretchMode]] = None, sync_mode: Optional[Union[str, _models.VideoSyncMode]] = None, scene_change_detection: Optional[bool] = None, complexity: Optional[Union[str, _models.H265Complexity]] = None, layers: Optional[List[_models.H265Layer]] = None, **kwargs)
Variables
- odata_type
- str
Required. The discriminator for derived types.Constant filled by server.
- label
- str
An optional label for the codec. The label can be used to control muxing behavior.
- key_frame_interval
- timedelta
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.
- stretch_mode
- str or StretchMode
The resizing mode - how the input video will be resized to fit the desired output resolution(s). Default is AutoSize. Known values are: "None", "AutoSize", "AutoFit".
- sync_mode
- str or VideoSyncMode
The Video Sync Mode. Known values are: "Auto", "Passthrough", "Cfr", "Vfr".
- scene_change_detection
- bool
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.
- complexity
- str or H265Complexity
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. Known values are: "Speed", "Balanced", "Quality".
Feedback
Submit and view feedback for