public class IVFHeader
extends java.lang.Object
Constructor and Description |
---|
IVFHeader(java.lang.String filePath)
Initialize a new instance of a IVFHeader from an ivf file, by
reading and parsing the header of the ivf file.
|
Modifier and Type | Method and Description |
---|---|
java.lang.String |
getCodec()
Get the codec of the ivf file
|
java.awt.Dimension |
getDimension()
Get the dimension (height x width) of the video of the ivf file.
|
int |
getFramerate()
Get the framerate declared by the header of the ivf file
|
short |
getHeaderLength()
Get the header length of the ivf file
|
short |
getHeight()
Get the height of the video of the ivf file
|
int |
getNumberOfFramesInFile()
Get the 'number of frames' field from the IVF file header.
|
java.lang.String |
getSignature()
Get the signature of the ivf file
|
int |
getTimeScale()
Get the timescale declared by the header of the ivf file
|
short |
getVersion()
Get the version of the ivf file
|
short |
getWidth()
Get the width of the video of the ivf file
|
public IVFHeader(java.lang.String filePath)
filePath
- the location of the ivf file from which you want to
parse the header.public java.lang.String getSignature()
public short getVersion()
public short getHeaderLength()
public java.lang.String getCodec()
public short getWidth()
public short getHeight()
public java.awt.Dimension getDimension()
public int getFramerate()
public int getTimeScale()
public int getNumberOfFramesInFile()
Jitsi, the OpenSource Java VoIP and Instant Messaging client.
Distributable under Apache license.