Class AnalysisResolution
java.lang.Object
com.azure.core.util.ExpandableStringEnum<AnalysisResolution>
com.azure.resourcemanager.mediaservices.models.AnalysisResolution
public final class AnalysisResolution
extends com.azure.core.util.ExpandableStringEnum<AnalysisResolution>
Specifies the maximum resolution at which your video is analyzed. The default behavior is "SourceResolution," which
will keep the input video at its original resolution when analyzed. Using "StandardDefinition" will resize input
videos to standard definition while preserving the appropriate aspect ratio. It will only resize if the video is of
higher resolution. For example, a 1920x1080 input would be scaled to 640x360 before processing. Switching to
"StandardDefinition" will reduce the time it takes to process high resolution video. It may also reduce the cost of
using this component (see https://azure.microsoft.com/en-us/pricing/details/media-services/#analytics for details).
However, faces that end up being too small in the resized video may not be detected.
-
Field Summary
Modifier and TypeFieldDescriptionstatic final AnalysisResolution
Static value SourceResolution for AnalysisResolution.static final AnalysisResolution
Static value StandardDefinition for AnalysisResolution. -
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionstatic AnalysisResolution
fromString
(String name) Creates or finds a AnalysisResolution from its string representation.static Collection<AnalysisResolution>
values()
Gets known AnalysisResolution values.Methods inherited from class com.azure.core.util.ExpandableStringEnum
equals, fromString, hashCode, toString, values
-
Field Details
-
SOURCE_RESOLUTION
Static value SourceResolution for AnalysisResolution. -
STANDARD_DEFINITION
Static value StandardDefinition for AnalysisResolution.
-
-
Constructor Details
-
AnalysisResolution
Deprecated.Use thefromString(String)
factory method.Creates a new instance of AnalysisResolution value.
-
-
Method Details
-
fromString
Creates or finds a AnalysisResolution from its string representation.- Parameters:
name
- a name to look for.- Returns:
- the corresponding AnalysisResolution.
-
values
Gets known AnalysisResolution values.- Returns:
- known AnalysisResolution values.
-
fromString(String)
factory method.