Class QuickTimeMeta.Media

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

protected static class QuickTimeMeta.Media extends Object
Represents a media.
Author:
Werner Randelshofer
  • Field Details

    • mediaCreationTime

      protected Date mediaCreationTime
    • mediaModificationTime

      protected Date mediaModificationTime
    • mediaTimeScale

      protected long mediaTimeScale
      The timescale of the media in the track. A time value that indicates the timescale for this media. That is, the number of time units that pass per second in its time coordinate system.
    • mediaDuration

      protected long mediaDuration
      The duration of the media in this track in media time units (derived value). The value is equal to the sum of all sample durations.
    • mediaLanguage

      protected Locale mediaLanguage
    • mediaLanguageEncoding

      protected String mediaLanguageEncoding
    • mediaQuality

      protected int mediaQuality
    • soundBalance

      protected double soundBalance
    • dataReferenceList

      protected ArrayList<QuickTimeMeta.DataReference> dataReferenceList
      The data reference list of the track.
    • chunkOffsets

      protected ArrayList<Long> chunkOffsets
      List of chunk offsets.
    • timeToSamples

      protected ArrayList<QuickTimeMeta.TimeToSampleGroup> timeToSamples
      List of TimeToSample entries.
    • samplesToChunks

      protected ArrayList<QuickTimeMeta.SampleToChunk> samplesToChunks
      List of SampleToChunk entries.
    • sampleSizes

      protected ArrayList<QuickTimeMeta.SampleSizeGroup> sampleSizes
      List of SampleSize entries.
    • syncSamples

      protected NavigableSet<Long> syncSamples
      List of sync samples. This list is null if all samples are sync samples.
    • sampleCount

      protected long sampleCount
      The number of samples in this track.
    • syncInterval

      protected int syncInterval
      Interval between sync samples (keyframes). 0 = automatic. 1 = write all samples as sync samples. n = sync every n-th sample.
    • videoQuality

      protected float videoQuality
      The video compression quality.
    • videoColorTable

      protected IndexColorModel videoColorTable
      The color table used for rendering the video. This variable is only used when the video uses an index color model.
    • mediaSamples

      Table of samples in the media of this track.

      This value is derived from the media data in this track.

      This value is set to null to indicate that it must be recomputed.

      Map.key
      absolute media time of a media sample
      Map.value
      media samples, may contain multiple entries, if there are samples with duration=0. In this case, only the last sample has a duration >= 0.
  • Constructor Details

    • Media

      protected Media()
  • Method Details