java.lang.Object
com.azure.resourcemanager.mediaservices.models.Filters

public final class Filters extends Object
Describes all the filtering operations, such as de-interlacing, rotation etc. that are to be applied to the input media before encoding.
  • Constructor Summary

    Constructors
    Constructor
    Description
    Creates an instance of Filters class.
  • Method Summary

    Modifier and Type
    Method
    Description
    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.
    Get the fadeIn property: Describes the properties of a Fade effect applied to the input media.
    Get the fadeOut property: Describes the properties of a Fade effect applied to the input media.
    Get the overlays property: The properties of overlays to be applied to the input video.
    Get the rotation property: The rotation, if any, to be applied to the input video, before it is encoded.
    void
    Validates the instance.
    Set the crop property: The parameters for the rectangular window with which to crop the input video.
    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.
    Set the overlays property: The properties of overlays to be applied to the input video.
    Set the rotation property: The rotation, if any, to be applied to the input video, before it is encoded.

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
  • Constructor Details

    • Filters

      public Filters()
      Creates an instance of Filters class.
  • Method Details

    • deinterlace

      public Deinterlace deinterlace()
      Get the deinterlace property: The de-interlacing settings.
      Returns:
      the deinterlace value.
    • withDeinterlace

      public Filters withDeinterlace(Deinterlace deinterlace)
      Set the deinterlace property: The de-interlacing settings.
      Parameters:
      deinterlace - the deinterlace value to set.
      Returns:
      the Filters object itself.
    • rotation

      public Rotation 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

      public Filters withRotation(Rotation rotation)
      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

      public Rectangle crop()
      Get the crop property: The parameters for the rectangular window with which to crop the input video.
      Returns:
      the crop value.
    • withCrop

      public Filters withCrop(Rectangle crop)
      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

      public Fade fadeIn()
      Get the fadeIn property: Describes the properties of a Fade effect applied to the input media.
      Returns:
      the fadeIn value.
    • withFadeIn

      public Filters withFadeIn(Fade fadeIn)
      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

      public Fade fadeOut()
      Get the fadeOut property: Describes the properties of a Fade effect applied to the input media.
      Returns:
      the fadeOut value.
    • withFadeOut

      public Filters withFadeOut(Fade fadeOut)
      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

      public List<Overlay> 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

      public Filters withOverlays(List<Overlay> overlays)
      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.