Class VideoEncoderConfiguration

java.lang.Object
com.azure.media.videoanalyzer.edge.models.VideoEncoderConfiguration

public final class VideoEncoderConfiguration extends Object
Class representing the MPEG4 Configuration.
  • Constructor Details

    • VideoEncoderConfiguration

      public VideoEncoderConfiguration()
  • Method Details

    • getEncoding

      public VideoEncoding getEncoding()
      Get the encoding property: The video codec used by the Media Profile.
      Returns:
      the encoding value.
    • setEncoding

      public VideoEncoderConfiguration setEncoding(VideoEncoding encoding)
      Set the encoding property: The video codec used by the Media Profile.
      Parameters:
      encoding - the encoding value to set.
      Returns:
      the VideoEncoderConfiguration object itself.
    • getQuality

      public Float getQuality()
      Get the quality property: Relative value representing the quality of the video.
      Returns:
      the quality value.
    • setQuality

      public VideoEncoderConfiguration setQuality(Float quality)
      Set the quality property: Relative value representing the quality of the video.
      Parameters:
      quality - the quality value to set.
      Returns:
      the VideoEncoderConfiguration object itself.
    • getResolution

      public VideoResolution getResolution()
      Get the resolution property: The Video Resolution.
      Returns:
      the resolution value.
    • setResolution

      public VideoEncoderConfiguration setResolution(VideoResolution resolution)
      Set the resolution property: The Video Resolution.
      Parameters:
      resolution - the resolution value to set.
      Returns:
      the VideoEncoderConfiguration object itself.
    • getRateControl

      public RateControl getRateControl()
      Get the rateControl property: The Video's rate control.
      Returns:
      the rateControl value.
    • setRateControl

      public VideoEncoderConfiguration setRateControl(RateControl rateControl)
      Set the rateControl property: The Video's rate control.
      Parameters:
      rateControl - the rateControl value to set.
      Returns:
      the VideoEncoderConfiguration object itself.
    • getH264

      public H264Configuration getH264()
      Get the h264 property: The H264 Configuration.
      Returns:
      the h264 value.
    • setH264

      Set the h264 property: The H264 Configuration.
      Parameters:
      h264 - the h264 value to set.
      Returns:
      the VideoEncoderConfiguration object itself.
    • getMpeg4

      public Mpeg4Configuration getMpeg4()
      Get the mpeg4 property: The H264 Configuration.
      Returns:
      the mpeg4 value.
    • setMpeg4

      Set the mpeg4 property: The H264 Configuration.
      Parameters:
      mpeg4 - the mpeg4 value to set.
      Returns:
      the VideoEncoderConfiguration object itself.