Class VideoEncoderConfiguration
- java.lang.Object
-
- com.azure.media.videoanalyzer.edge.models.VideoEncoderConfiguration
-
public final class VideoEncoderConfiguration extends Object
Class representing the MPEG4 Configuration.
-
-
Constructor Summary
Constructors Constructor Description VideoEncoderConfiguration()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description VideoEncoding
getEncoding()
Get the encoding property: The video codec used by the Media Profile.H264Configuration
getH264()
Get the h264 property: The H264 Configuration.Mpeg4Configuration
getMpeg4()
Get the mpeg4 property: The H264 Configuration.Float
getQuality()
Get the quality property: Relative value representing the quality of the video.RateControl
getRateControl()
Get the rateControl property: The Video's rate control.VideoResolution
getResolution()
Get the resolution property: The Video Resolution.VideoEncoderConfiguration
setEncoding(VideoEncoding encoding)
Set the encoding property: The video codec used by the Media Profile.VideoEncoderConfiguration
setH264(H264Configuration h264)
Set the h264 property: The H264 Configuration.VideoEncoderConfiguration
setMpeg4(Mpeg4Configuration mpeg4)
Set the mpeg4 property: The H264 Configuration.VideoEncoderConfiguration
setQuality(Float quality)
Set the quality property: Relative value representing the quality of the video.VideoEncoderConfiguration
setRateControl(RateControl rateControl)
Set the rateControl property: The Video's rate control.VideoEncoderConfiguration
setResolution(VideoResolution resolution)
Set the resolution property: The Video Resolution.
-
-
-
Method Detail
-
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
public VideoEncoderConfiguration setH264(H264Configuration h264)
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
public VideoEncoderConfiguration setMpeg4(Mpeg4Configuration mpeg4)
Set the mpeg4 property: The H264 Configuration.- Parameters:
mpeg4
- the mpeg4 value to set.- Returns:
- the VideoEncoderConfiguration object itself.
-
-