org.xnap.io
Class VideoMetaInfo
java.lang.Object
org.xnap.io.VideoMetaInfo
public class VideoMetaInfo
- extends java.lang.Object
Class to extract a video's play length and resolution.
The video parsing code for avi and mpg files is taken from the ziga
project. See README for more information.
The video parsing code for asf files is taken from the avifile project
(http://avifile.sourceforge.net/).
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
PACK_START_CODE
protected static final int PACK_START_CODE
- See Also:
- Constant Field Values
SEQ_START_CODE
protected static final int SEQ_START_CODE
- See Also:
- Constant Field Values
GROUP_START_CODE
protected static final int GROUP_START_CODE
- See Also:
- Constant Field Values
MAX_FORWARD_READ_LENGTH
protected static final int MAX_FORWARD_READ_LENGTH
- See Also:
- Constant Field Values
MAX_BACKWARD_READ_LENGTH
protected static final int MAX_BACKWARD_READ_LENGTH
- See Also:
- Constant Field Values
ASF_FILE_PROPERTIES_SIZE
protected static final int ASF_FILE_PROPERTIES_SIZE
- See Also:
- Constant Field Values
ASF_STREAM_PROPERTIES_SIZE
protected static final int ASF_STREAM_PROPERTIES_SIZE
- See Also:
- Constant Field Values
GUID_SIZE
protected static final int GUID_SIZE
- See Also:
- Constant Field Values
VideoMetaInfo
public VideoMetaInfo(MetaInfoFile file)
handle
public static boolean handle(MetaInfoFile file)
hasInfo
public static boolean hasInfo(MetaInfoFile file)
getHeight
public int getHeight()
getInfo
public java.lang.String getInfo()
getLength
public int getLength()
getWidth
public int getWidth()
Copyright © 2001-2005 XNap Team. All Rights Reserved.