public class MediaInfo
extends java.lang.Object
Constructor and Description |
---|
MediaInfo() |
Modifier and Type | Method and Description |
---|---|
int |
getCrf()
Gets the CRF value.
|
int |
getEncoderFps() |
int |
getFps()
Gets the capture frame rate.
|
VideoCodecs |
getVideoCodec()
Gets the encoder type.
|
int |
getVideoHeight()
Gets the height of the video.
|
int |
getVideoWidth()
Gets the width of the video.
|
int |
setCrf(int crf)
Sets the CRF value.
|
int |
setEncoderFps(int encoderFps)
Sets the encoding frame rate.
|
int |
setFps(int fps)
Sets the capture frame rate.
|
void |
setVideoCodec(VideoCodecs videoCodec)
Sets the encoder type.
|
int |
setVideoHeight(int videoHeight)
Sets the height of the video.
|
int |
setVideoWidth(int videoWidth)
Sets the width of the video.
|
public int getVideoWidth()
public int setVideoWidth(int videoWidth)
videoWidth
- The width of the video.public int getVideoHeight()
public int setVideoHeight(int videoHeight)
videoHeight
- The height of the video.public int getFps()
public int setFps(int fps)
fps
- The capture frame rate.public VideoCodecs getVideoCodec()
public void setVideoCodec(VideoCodecs videoCodec)
videoCodec
- The encoder type.VideoCodecs
public int getCrf()
public int setCrf(int crf)
crf
- The value must be within the range of to ]. If an invalid value is specified, the nearest threshold value is used.public int getEncoderFps()
public int setEncoderFps(int encoderFps)
encoderFps
- The encoding frame rate.