org.jcodec.containers.mkv.elements
Class Frame

java.lang.Object
  extended by org.jcodec.containers.mkv.elements.Frame

public class Frame
extends Object

Matroska Frame, holds a Matroska frame timecode, duration, and data


Field Summary
 byte[] Data
          The frame data
 long Duration
          The duration of this frame, it should also be in ms
 boolean KeyFrame
           
 long Reference
          The first reference this frame has, set to 0 for no reference
 long[] References
          More references, can be null if there are no more references
 long Timecode
          A timecode, it should be in ms
 int TrackNo
          The track this frame belongs to
 
Constructor Summary
Frame()
          MatroskaFrame Default constructor
Frame(Frame copy)
          MatroskaFrame Copy constructor
 
Method Summary
 boolean isKeyFrame()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

TrackNo

public int TrackNo
The track this frame belongs to


Timecode

public long Timecode
A timecode, it should be in ms


Duration

public long Duration
The duration of this frame, it should also be in ms


Reference

public long Reference
The first reference this frame has, set to 0 for no reference


References

public long[] References
More references, can be null if there are no more references


Data

public byte[] Data
The frame data


KeyFrame

public boolean KeyFrame
Constructor Detail

Frame

public Frame()
MatroskaFrame Default constructor


Frame

public Frame(Frame copy)
MatroskaFrame Copy constructor

Parameters:
copy - MatroskaFrame to copy
Method Detail

isKeyFrame

public boolean isKeyFrame()


Copyright © 2013. All Rights Reserved.