Class StandardEncoderPreset
java.lang.Object
com.azure.resourcemanager.mediaservices.models.Preset
com.azure.resourcemanager.mediaservices.models.StandardEncoderPreset
Describes all the settings to be used when encoding the input video with the Standard Encoder.
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptioncodecs()
Get the codecs property: The list of codecs to be used when encoding the input video.Get the experimentalOptions property: Dictionary containing key value pairs for parameters not exposed in the preset itself.filters()
Get the filters property: One or more filtering operations that are applied to the input media before encoding.formats()
Get the formats property: The list of outputs to be produced by the encoder.void
validate()
Validates the instance.withCodecs
(List<Codec> codecs) Set the codecs property: The list of codecs to be used when encoding the input video.withExperimentalOptions
(Map<String, String> experimentalOptions) Set the experimentalOptions property: Dictionary containing key value pairs for parameters not exposed in the preset itself.withFilters
(Filters filters) Set the filters property: One or more filtering operations that are applied to the input media before encoding.withFormats
(List<Format> formats) Set the formats property: The list of outputs to be produced by the encoder.
-
Constructor Details
-
StandardEncoderPreset
public StandardEncoderPreset()Creates an instance of StandardEncoderPreset class.
-
-
Method Details
-
experimentalOptions
Get the experimentalOptions property: Dictionary containing key value pairs for parameters not exposed in the preset itself.- Returns:
- the experimentalOptions value.
-
withExperimentalOptions
Set the experimentalOptions property: Dictionary containing key value pairs for parameters not exposed in the preset itself.- Parameters:
experimentalOptions
- the experimentalOptions value to set.- Returns:
- the StandardEncoderPreset object itself.
-
filters
Get the filters property: One or more filtering operations that are applied to the input media before encoding.- Returns:
- the filters value.
-
withFilters
Set the filters property: One or more filtering operations that are applied to the input media before encoding.- Parameters:
filters
- the filters value to set.- Returns:
- the StandardEncoderPreset object itself.
-
codecs
Get the codecs property: The list of codecs to be used when encoding the input video.- Returns:
- the codecs value.
-
withCodecs
Set the codecs property: The list of codecs to be used when encoding the input video.- Parameters:
codecs
- the codecs value to set.- Returns:
- the StandardEncoderPreset object itself.
-
formats
Get the formats property: The list of outputs to be produced by the encoder.- Returns:
- the formats value.
-
withFormats
Set the formats property: The list of outputs to be produced by the encoder.- Parameters:
formats
- the formats value to set.- Returns:
- the StandardEncoderPreset object itself.
-
validate
public void validate()Validates the instance.- Overrides:
validate
in classPreset
- Throws:
IllegalArgumentException
- thrown if the instance is not valid.
-