public class VideoInfo
extends java.lang.Object
Constructor and Description |
---|
VideoInfo() |
Modifier and Type | Method and Description |
---|---|
double |
getAspectRatio()
Original aspect ratio.
|
double |
getFrameRate()
Video frame rate.
|
long |
getVideoBitrate()
Video bitrate.
|
java.awt.Dimension |
getVideoDimensions()
Video dimensions.
|
VideoFormat |
getVideoFormat()
Video format.
|
void |
setAspectRatio(double aspectRatio)
Specify original aspect ratio of video.
|
void |
setFrameRate(double frameRate)
Set new video frame rate.
|
void |
setVideoBitrate(long videoBitrate)
Set video bitrate.
|
void |
setVideoDimensions(java.awt.Dimension videoDimensions)
Set video dimensions.
|
void |
setVideoFormat(VideoFormat videoFormat)
Set video format.
|
public double getAspectRatio()
public void setAspectRatio(double aspectRatio)
aspectRatio
- aspect ratiopublic VideoFormat getVideoFormat()
public void setVideoFormat(VideoFormat videoFormat)
videoFormat
- video formatpublic long getVideoBitrate()
public void setVideoBitrate(long videoBitrate)
videoBitrate
- video bitratepublic java.awt.Dimension getVideoDimensions()
public void setVideoDimensions(java.awt.Dimension videoDimensions)
videoDimensions
- video dimensionspublic double getFrameRate()
public void setFrameRate(double frameRate)
frameRate
- video frame rate in frames per second units.