edu.umd.cfar.lamp.mpeg1.video
Class VideoSource
java.lang.Object
java.io.InputStream
edu.umd.cfar.lamp.mpeg1.video.VideoSource
- public class VideoSource
- extends java.io.InputStream
Methods inherited from class java.io.InputStream |
mark, markSupported, read, read, reset, skip |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
DEFAULT_BUFFER_SIZE
public static final int DEFAULT_BUFFER_SIZE
- See Also:
- Constant Field Values
VideoSource
public VideoSource(java.io.File file)
throws java.io.IOException
VideoSource
public VideoSource(Mpeg1SystemStream stream,
int stream_id)
throws java.io.IOException,
MpegException
VideoSource
public VideoSource(java.io.File file,
int bufferSize)
throws java.io.IOException
VideoSource
public VideoSource(Mpeg1SystemStream stream,
int stream_id,
int bufferSize)
throws java.io.IOException,
MpegException
getStreamID
public int getStreamID()
copySource
public VideoSource copySource()
throws java.io.IOException,
MpegException
- Throws:
java.io.IOException
MpegException
isFile
public boolean isFile()
isSystemStream
public boolean isSystemStream()
seek
public void seek(long offset)
throws java.io.IOException,
MpegException
- Throws:
java.io.IOException
MpegException
flushBuffer
public void flushBuffer()
available
public int available()
throws java.io.IOException
- Throws:
java.io.IOException
close
public void close()
throws java.io.IOException
- Throws:
java.io.IOException
read
public int read()
throws java.io.IOException
- Throws:
java.io.IOException