Class Filters
java.lang.Object
com.azure.resourcemanager.mediaservices.models.Filters
Describes all the filtering operations, such as de-interlacing, rotation etc. that are to be applied to the input
media before encoding.
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptioncrop()
Get the crop property: The parameters for the rectangular window with which to crop the input video.Get the deinterlace property: The de-interlacing settings.fadeIn()
Get the fadeIn property: Describes the properties of a Fade effect applied to the input media.fadeOut()
Get the fadeOut property: Describes the properties of a Fade effect applied to the input media.overlays()
Get the overlays property: The properties of overlays to be applied to the input video.rotation()
Get the rotation property: The rotation, if any, to be applied to the input video, before it is encoded.void
validate()
Validates the instance.Set the crop property: The parameters for the rectangular window with which to crop the input video.withDeinterlace
(Deinterlace deinterlace) Set the deinterlace property: The de-interlacing settings.withFadeIn
(Fade fadeIn) Set the fadeIn property: Describes the properties of a Fade effect applied to the input media.withFadeOut
(Fade fadeOut) Set the fadeOut property: Describes the properties of a Fade effect applied to the input media.withOverlays
(List<Overlay> overlays) Set the overlays property: The properties of overlays to be applied to the input video.withRotation
(Rotation rotation) Set the rotation property: The rotation, if any, to be applied to the input video, before it is encoded.
-
Constructor Details
-
Filters
public Filters()Creates an instance of Filters class.
-
-
Method Details
-
deinterlace
Get the deinterlace property: The de-interlacing settings.- Returns:
- the deinterlace value.
-
withDeinterlace
Set the deinterlace property: The de-interlacing settings.- Parameters:
deinterlace
- the deinterlace value to set.- Returns:
- the Filters object itself.
-
rotation
Get the rotation property: The rotation, if any, to be applied to the input video, before it is encoded. Default is Auto.- Returns:
- the rotation value.
-
withRotation
Set the rotation property: The rotation, if any, to be applied to the input video, before it is encoded. Default is Auto.- Parameters:
rotation
- the rotation value to set.- Returns:
- the Filters object itself.
-
crop
Get the crop property: The parameters for the rectangular window with which to crop the input video.- Returns:
- the crop value.
-
withCrop
Set the crop property: The parameters for the rectangular window with which to crop the input video.- Parameters:
crop
- the crop value to set.- Returns:
- the Filters object itself.
-
fadeIn
Get the fadeIn property: Describes the properties of a Fade effect applied to the input media.- Returns:
- the fadeIn value.
-
withFadeIn
Set the fadeIn property: Describes the properties of a Fade effect applied to the input media.- Parameters:
fadeIn
- the fadeIn value to set.- Returns:
- the Filters object itself.
-
fadeOut
Get the fadeOut property: Describes the properties of a Fade effect applied to the input media.- Returns:
- the fadeOut value.
-
withFadeOut
Set the fadeOut property: Describes the properties of a Fade effect applied to the input media.- Parameters:
fadeOut
- the fadeOut value to set.- Returns:
- the Filters object itself.
-
overlays
Get the overlays property: The properties of overlays to be applied to the input video. These could be audio, image or video overlays.- Returns:
- the overlays value.
-
withOverlays
Set the overlays property: The properties of overlays to be applied to the input video. These could be audio, image or video overlays.- Parameters:
overlays
- the overlays value to set.- Returns:
- the Filters object itself.
-
validate
public void validate()Validates the instance.- Throws:
IllegalArgumentException
- thrown if the instance is not valid.
-