|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectnet.sf.dc.core.objects.movie.MovieFile
Interface to a movie file (DivX, Mpeg, etc). Parses information like codec, resolution, etc from the movie file
Constructor Summary | |
MovieFile(java.lang.String sFilename)
Initializes the Movie File and parses the file for information |
Method Summary | |
int |
getAudioBitRate()
|
java.lang.String |
getAudioChannel()
|
java.lang.String |
getAudioCodec()
|
int |
getAudioSamplingRate()
|
java.lang.String |
getFileName()
|
double |
getFPS()
|
int |
getFrames()
|
int |
getHeight()
|
java.lang.String |
getName()
|
double |
getPlayLength()
|
int |
getSize()
|
double |
getVideoBitrate()
|
java.lang.String |
getVideoCodec()
|
int |
getWidth()
|
int |
read_2int(int pos,
int off)
Reads 2 bytes and return it as int |
int |
read_4int(int pos)
Reads a word and return it as an int |
java.lang.String |
read_str(int pos)
Reads a word and return it as string |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
public MovieFile(java.lang.String sFilename)
sFilename
- movie file to parseMethod Detail |
public java.lang.String getName()
public java.lang.String getFileName()
public int getSize()
public int getHeight()
public int getWidth()
public double getFPS()
public int getFrames()
public double getPlayLength()
public java.lang.String getVideoCodec()
public java.lang.String getAudioCodec()
public int getAudioBitRate()
public int getAudioSamplingRate()
public java.lang.String getAudioChannel()
public double getVideoBitrate()
public java.lang.String read_str(int pos)
pos
- startposition for reading
public int read_4int(int pos)
pos
- startposition for reading
public int read_2int(int pos, int off)
pos
- startposition for reading
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |