com.teamdev.jxcapture.video.player
Class VideoInfo

java.lang.Object
  extended by com.teamdev.jxcapture.video.player.VideoInfo

public class VideoInfo
extends java.lang.Object

Represents set of various video properties.


Constructor Summary
VideoInfo()
           
 
Method Summary
 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.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

VideoInfo

public VideoInfo()
Method Detail

getAspectRatio

public double getAspectRatio()
Original aspect ratio.

Returns:
aspect ratio

setAspectRatio

public void setAspectRatio(double aspectRatio)
Specify original aspect ratio of video.

Parameters:
aspectRatio - aspect ratio

getVideoFormat

public VideoFormat getVideoFormat()
Video format.

Returns:
video format

setVideoFormat

public void setVideoFormat(VideoFormat videoFormat)
Set video format.

Parameters:
videoFormat - video format

getVideoBitrate

public long getVideoBitrate()
Video bitrate.

Returns:
video bitrate

setVideoBitrate

public void setVideoBitrate(long videoBitrate)
Set video bitrate.

Parameters:
videoBitrate - video bitrate

getVideoDimensions

public java.awt.Dimension getVideoDimensions()
Video dimensions.

Returns:
video dimensions

setVideoDimensions

public void setVideoDimensions(java.awt.Dimension videoDimensions)
Set video dimensions.

Parameters:
videoDimensions - video dimensions

getFrameRate

public double getFrameRate()
Video frame rate.

Returns:
video frame rate in frames per second units.

setFrameRate

public void setFrameRate(double frameRate)
Set new video frame rate.

Parameters:
frameRate - video frame rate in frames per second units.