Class QuickTimeMeta.Sample

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

protected static class QuickTimeMeta.Sample extends Object
QuickTime stores media data in samples. A sample is a single element in a sequence of time-ordered data. Information about samples is stored in the mdat atom.

Please note that Sample 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 Sample objects may represent the same data sample in the movie.

  • Constructor Details

    • Sample

      public Sample(long duration, long offset, long length)
      Creates a new sample.
      Parameters:
      duration -
      offset -
      length -