public class VideoInfo extends Object
| Constructor and Description |
|---|
VideoInfo() |
| Modifier and Type | Method and Description |
|---|---|
int |
getBitRate()
Returns the video stream (average) bit rate.
|
String |
getDecoder()
Returns the video stream decoder name.
|
float |
getFrameRate()
Returns the video frame rate.
|
VideoSize |
getSize()
Returns the video size.
|
VideoInfo |
setBitRate(int bitRate)
Sets the video stream (average) bit rate.
|
VideoInfo |
setDecoder(String codec)
Sets the video stream decoder name.
|
VideoInfo |
setFrameRate(float frameRate)
Sets the video frame rate.
|
VideoInfo |
setSize(VideoSize size)
Sets the video size.
|
String |
toString() |
public String getDecoder()
public VideoInfo setDecoder(String codec)
codec - The video stream decoder name.public VideoSize getSize()
public VideoInfo setSize(VideoSize size)
size - The video size.public float getFrameRate()
public VideoInfo setFrameRate(float frameRate)
frameRate - The video frame rate.public int getBitRate()
public VideoInfo setBitRate(int bitRate)
bitRate - The video stream (average) bit rate.Copyright © 2020. All rights reserved.