org.jcodec.codecs.mpeg12
Class SegmentReader
java.lang.Object
org.jcodec.codecs.mpeg12.SegmentReader
- Direct Known Subclasses:
- MPEGES, MPSDemuxer
public class SegmentReader
- extends Object
This class is part of JCodec ( www.jcodec.org ) This software is distributed
under FreeBSD License
Pulls frames from MPEG elementary stream
- Author:
- The JCodec project
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
curMarker
protected int curMarker
SegmentReader
public SegmentReader(ReadableByteChannel channel)
throws IOException
- Throws:
IOException
SegmentReader
public SegmentReader(ReadableByteChannel channel,
int fetchSize)
throws IOException
- Throws:
IOException
readToNextMarker
public final boolean readToNextMarker(ByteBuffer out)
throws IOException
- Throws:
IOException
skipToMarker
public final boolean skipToMarker()
throws IOException
- Throws:
IOException
read
public final boolean read(ByteBuffer out,
int length)
throws IOException
- Throws:
IOException
curPos
public final long curPos()
Copyright © 2013. All Rights Reserved.