org.jcodec.containers.mkv
Class MKVDemuxer.VideoTrack

java.lang.Object
  extended by org.jcodec.containers.mkv.MKVDemuxer.VideoTrack
All Implemented Interfaces:
MKVDemuxer.MKVDemuxerTrack
Enclosing class:
MKVDemuxer

public class MKVDemuxer.VideoTrack
extends Object
implements MKVDemuxer.MKVDemuxerTrack


Field Summary
 String codec
           
 ByteBuffer codecState
           
 long defaultDuration
           
 long displayHeight
           
 long displayUnit
           
 long displayWidth
           
 long pixelHeight
           
 long pixelWidth
           
 
Constructor Summary
MKVDemuxer.VideoTrack(TrackEntryElement track, long no, List<BlockElement> bes)
           
 
Method Summary
 String getCodecID()
           
 int getFrameCount()
           
 Packet getFrames(ByteBuffer buffer, int n)
           
 Packet getFrames(int n)
           
 long getNo()
           
 void seekPointer(int frameNo)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

defaultDuration

public long defaultDuration

pixelWidth

public long pixelWidth

pixelHeight

public long pixelHeight

displayWidth

public long displayWidth

displayHeight

public long displayHeight

displayUnit

public long displayUnit

codecState

public ByteBuffer codecState

codec

public String codec
Constructor Detail

MKVDemuxer.VideoTrack

public MKVDemuxer.VideoTrack(TrackEntryElement track,
                             long no,
                             List<BlockElement> bes)
Method Detail

getFrames

public Packet getFrames(ByteBuffer buffer,
                        int n)
                 throws IOException
Specified by:
getFrames in interface MKVDemuxer.MKVDemuxerTrack
Throws:
IOException

getFrames

public Packet getFrames(int n)
                 throws IOException
Specified by:
getFrames in interface MKVDemuxer.MKVDemuxerTrack
Throws:
IOException

seekPointer

public void seekPointer(int frameNo)
Specified by:
seekPointer in interface MKVDemuxer.MKVDemuxerTrack

getFrameCount

public int getFrameCount()
Specified by:
getFrameCount in interface MKVDemuxer.MKVDemuxerTrack

getNo

public long getNo()
Specified by:
getNo in interface MKVDemuxer.MKVDemuxerTrack

getCodecID

public String getCodecID()
Specified by:
getCodecID in interface MKVDemuxer.MKVDemuxerTrack


Copyright © 2013. All Rights Reserved.