org.jcodec.containers.mps
Class MPSDemuxer.Track
java.lang.Object
org.jcodec.containers.mps.MPSDemuxer.Track
- All Implemented Interfaces:
- Closeable, Channel, ReadableByteChannel
- Enclosing class:
- MPSDemuxer
public class MPSDemuxer.Track
- extends Object
- implements ReadableByteChannel
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
MPSDemuxer.Track
public MPSDemuxer.Track(int streamId)
throws IOException
- Throws:
IOException
isOpen
public boolean isOpen()
- Specified by:
isOpen in interface Channel
getSid
public int getSid()
getES
public MPEGES getES()
close
public void close()
throws IOException
- Specified by:
close in interface Closeable- Specified by:
close in interface Channel
- Throws:
IOException
read
public int read(ByteBuffer arg0)
throws IOException
- Specified by:
read in interface ReadableByteChannel
- Throws:
IOException
pending
public void pending(MPSDemuxer.PESPacket pkt)
getPending
public List<MPSDemuxer.PESPacket> getPending()
getFrame
public MPSDemuxer.MPEGPacket getFrame(ByteBuffer buf)
throws IOException
- Throws:
IOException
Copyright © 2013. All Rights Reserved.