Class QuickTimeMeta.TrackSample

java.lang.Object
org.monte.media.quicktime.QuickTimeMeta.TrackSample
Enclosing class:
QuickTimeMeta

protected static class QuickTimeMeta.TrackSample extends Object
QuickTime plays media in tracks which reference media samples.

Please note that TrackSample objects are created on demand. This helps to save memory, because a highly multiplexed audio track may consist of many samples per second. As a consequence multiple instances of TrackSample objects may represent the same data sample in the movie.

Author:
Werner Randelshofer
  • Field Details

    • timeStamp

      public long timeStamp
      The timestamp of the sample in movie timescale units.
  • Constructor Details

    • TrackSample

      public TrackSample(QuickTimeMeta.MediaSample mediaSample, long timeStamp, long duration, long startTimeInMediaSample, long endTimeInMediaSample)
      Creates a new sample.