H265Video Class
- java.
lang. Object - com.
azure. resourcemanager. mediaservices. models. Codec - com.
azure. resourcemanager. mediaservices. models. Video - com.
azure. resourcemanager. mediaservices. models. H265Video
- com.
- com.
- com.
public final class H265Video
extends Video
Describes all the properties for encoding a video with the H.265 codec.
Constructor Summary
Constructor | Description |
---|---|
H265Video() |
Creates an instance of H265Video class. |
Method Summary
Modifier and Type | Method and Description |
---|---|
H265Complexity |
complexity()
Get the complexity property: Tells the encoder how to choose its encoding settings. |
List<H265Layer> |
layers()
Get the layers property: The collection of output H.265 layers to be produced by the encoder. |
Boolean |
sceneChangeDetection()
Get the scene |
void |
validate()
Validates the instance. |
H265Video |
withComplexity(H265Complexity complexity)
Set the complexity property: Tells the encoder how to choose its encoding settings. |
H265Video |
withKeyFrameInterval(Duration keyFrameInterval)
Set the key |
H265Video |
withLabel(String label)
Set the label property: An optional label for the codec. |
H265Video |
withLayers(List<H265Layer> layers)
Set the layers property: The collection of output H.265 layers to be produced by the encoder. |
H265Video |
withSceneChangeDetection(Boolean sceneChangeDetection)
Set the scene |
H265Video |
withStretchMode(StretchMode stretchMode)
Set the stretch |
H265Video |
withSyncMode(VideoSyncMode syncMode)
Set the sync |
Methods inherited from Codec
Methods inherited from Video
Methods inherited from java.lang.Object
Constructor Details
H265Video
public H265Video()
Creates an instance of H265Video class.
Method Details
complexity
public H265Complexity complexity()
Get the complexity property: 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.
Returns:
layers
public List
Get the layers property: The collection of output H.265 layers to be produced by the encoder.
Returns:
sceneChangeDetection
public Boolean sceneChangeDetection()
Get the sceneChangeDetection property: 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.
Returns:
validate
public void validate()
Validates the instance.
Overrides:
H265Video.validate()withComplexity
public H265Video withComplexity(H265Complexity complexity)
Set the complexity property: 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.
Parameters:
Returns:
withKeyFrameInterval
public H265Video withKeyFrameInterval(Duration keyFrameInterval)
Set the keyFrameInterval property: 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.
Overrides:
H265Video.withKeyFrameInterval(Duration keyFrameInterval)Parameters:
withLabel
public H265Video withLabel(String label)
Set the label property: An optional label for the codec. The label can be used to control muxing behavior.
Overrides:
H265Video.withLabel(String label)Parameters:
withLayers
public H265Video withLayers(List
Set the layers property: The collection of output H.265 layers to be produced by the encoder.
Parameters:
Returns:
withSceneChangeDetection
public H265Video withSceneChangeDetection(Boolean sceneChangeDetection)
Set the sceneChangeDetection property: 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.
Parameters:
Returns:
withStretchMode
public H265Video withStretchMode(StretchMode stretchMode)
Set the stretchMode property: The resizing mode - how the input video will be resized to fit the desired output resolution(s). Default is AutoSize.
Overrides:
H265Video.withStretchMode(StretchMode stretchMode)Parameters:
withSyncMode
public H265Video withSyncMode(VideoSyncMode syncMode)
Set the syncMode property: The Video Sync Mode.
Overrides:
H265Video.withSyncMode(VideoSyncMode syncMode)Parameters:
Applies to
Azure SDK for Java
Feedback
https://aka.ms/ContentUserFeedback.
Coming soon: Throughout 2024 we will be phasing out GitHub Issues as the feedback mechanism for content and replacing it with a new feedback system. For more information see:Submit and view feedback for