java.lang.Object
org.monte.media.quicktime.QuickTimeMeta.Media
- Enclosing class:
QuickTimeMeta
Represents a media.
-
Field Summary
FieldsModifier and TypeFieldDescriptionprotected ArrayList<QuickTimeMeta.Chunk>List of chunks.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 intprotected 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).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
Modifier and TypeMethodDescriptionvoidaddChunk(QuickTimeMeta.Chunk chunk, boolean isSyncSample) voidaddSample(QuickTimeMeta.Sample sample, int sampleDescriptionId, boolean isSyncSample) voidlongbooleanisEmpty()toString()
-
Field Details
-
mediaCreationTime
-
mediaModificationTime
-
mediaTimeScale
protected long mediaTimeScaleThe timeScale of the media in the track. A time value that indicates the time scale 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. -
chunks
List of chunks. -
timeToSamples
List of TimeToSample entries. -
samplesToChunks
List of SampleToChunk entries. -
sampleSizes
List of SampleSize entries. -
syncSamples
List of sync samples. This list is null as long as all samples in this track 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.
-
-
Constructor Details
-
Media
protected Media()
-
-
Method Details