Class QuickTimeMeta.Media
java.lang.Object
org.monte.media.quicktime.QuickTimeMeta.Media
-
Field Summary
FieldsModifier and TypeFieldDescriptionList of chunk offsets.protected ArrayList<QuickTimeMeta.DataReference> The data reference list of the track.protected Dateprotected longThe duration of the media in this track in media time units (derived value).protected Localeprotected Stringprotected Dateprotected intTable of samples in the media of this track.protected longThe timescale of the media in the track.protected longThe number of samples in this track.protected ArrayList<QuickTimeMeta.SampleSizeGroup> List of SampleSize entries.protected ArrayList<QuickTimeMeta.SampleToChunk> List of SampleToChunk entries.protected doubleprotected intInterval between sync samples (keyframes).protected NavigableSet<Long> List of sync samples.protected ArrayList<QuickTimeMeta.TimeToSampleGroup> List of TimeToSample entries.protected IndexColorModelThe color table used for rendering the video.protected floatThe video compression quality. -
Constructor Summary
Constructors -
Method Summary
-
Field Details
-
mediaCreationTime
-
mediaModificationTime
-
mediaTimeScale
protected long mediaTimeScaleThe 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 mediaDurationThe 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
-
mediaLanguageEncoding
-
mediaQuality
protected int mediaQuality -
soundBalance
protected double soundBalance -
dataReferenceList
The data reference list of the track. -
chunkOffsets
-
timeToSamples
List of TimeToSample entries. -
samplesToChunks
List of SampleToChunk entries. -
sampleSizes
List of SampleSize entries. -
syncSamples
List of sync samples. This list is null if all samples are sync samples. -
sampleCount
protected long sampleCountThe number of samples in this track. -
syncInterval
protected int syncIntervalInterval between sync samples (keyframes). 0 = automatic. 1 = write all samples as sync samples. n = sync every n-th sample. -
videoQuality
protected float videoQualityThe video compression quality. -
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
-
addSampleDescription
-
isEmpty
public boolean isEmpty() -
getSampleCount
public long getSampleCount() -
toString
-