rjw.dc.core.objects.movie
Class MovieFile
java.lang.Object
|
+--rjw.dc.core.objects.movie.MovieFile
- public class MovieFile
- extends java.lang.Object
Constructor Summary |
MovieFile(java.lang.String sFilename)
|
Methods inherited from class java.lang.Object |
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
MovieFile
public MovieFile(java.lang.String sFilename)
getName
public java.lang.String getName()
getFileName
public java.lang.String getFileName()
getSize
public int getSize()
getHeight
public int getHeight()
getWidth
public int getWidth()
getFPS
public double getFPS()
getFrames
public int getFrames()
getPlayLength
public double getPlayLength()
getVideoCodec
public java.lang.String getVideoCodec()
getAudioCodec
public java.lang.String getAudioCodec()
getAudioBitRate
public int getAudioBitRate()
getAudioSamplingRate
public int getAudioSamplingRate()
getAudioChannel
public java.lang.String getAudioChannel()
getVideoBitrate
public double getVideoBitrate()
read_str
public java.lang.String read_str(int pos)
- Reads a word and return it as string
- Parameters:
pos
- startposition for reading
- Returns:
- the read string
read_4int
public int read_4int(int pos)
- Reads a word and return it as an int
- Parameters:
pos
- startposition for reading
- Returns:
- the read int
read_2int
public int read_2int(int pos,
int off)
- Reads 2 bytes and return it as int
- Parameters:
pos
- startposition for reading
- Returns:
- the read string