org.stanwood.media.info
Interface IVideoFileInfo

All Superinterfaces:
IMediaFileInfo
All Known Implementing Classes:
VideoFileInfo

public interface IVideoFileInfo
extends IMediaFileInfo

This interface is used to request information about video files


Method Summary
 AspectRatio getAspectRatio()
          Used to get the display aspect ratio of the video
 java.lang.Long getAudioBitRate()
          Used to get the audio bit rate (Kbs) or null if one can't be found
 java.lang.String getAudioFormatProfile()
          Used to get the audio format profile or null if one can't be found
 java.lang.Float getFrameRate()
          Used to get the frame rate of the video in frams per second (fps)
 int getHeight()
          Used to get the height in pixels of the video
 ResolutionFormat getResolutionFormat()
          Used to get the video resolution format if it's know.
 int getWidth()
          Used to get the width in pixels of the video
 boolean isHighDef()
          Used to find out if the video is high definition
 boolean isInterlaced()
          Used to find out if the video scan type is interlaced or progressive
 boolean isWideScreen()
          Used to find out if the video is wide screen
 
Methods inherited from interface org.stanwood.media.info.IMediaFileInfo
getFileSize
 

Method Detail

getWidth

int getWidth()
Used to get the width in pixels of the video

Returns:
the width in pixels of the video

getHeight

int getHeight()
Used to get the height in pixels of the video

Returns:
the height in pixels of the video

getFrameRate

java.lang.Float getFrameRate()
Used to get the frame rate of the video in frams per second (fps)

Returns:
the frame rate of the video in frams per second (fps)

getAspectRatio

AspectRatio getAspectRatio()
Used to get the display aspect ratio of the video

Returns:
the display aspect ratio of the video

isWideScreen

boolean isWideScreen()
Used to find out if the video is wide screen

Returns:
True if the video is widescreen

isHighDef

boolean isHighDef()
Used to find out if the video is high definition

Returns:
True if the video is high definition

getResolutionFormat

ResolutionFormat getResolutionFormat()
Used to get the video resolution format if it's know. If not known, them this will return null.

Returns:
The resolution format or null

isInterlaced

boolean isInterlaced()
Used to find out if the video scan type is interlaced or progressive

Returns:
true if the scan type is interlaced

getAudioFormatProfile

java.lang.String getAudioFormatProfile()
Used to get the audio format profile or null if one can't be found

Returns:
The audio format profile

getAudioBitRate

java.lang.Long getAudioBitRate()
Used to get the audio bit rate (Kbs) or null if one can't be found

Returns:
The audio bit rate (Kbs)