public class TrackHeaderBox extends FullBox
TrackBox (�?trak’)This box specifies the characteristics of a single track. Exactly one Track Header Box is contained in a track. In the absence of an edit list, the presentation of a track starts at the beginning of the overall presentation. An empty edit is used to offset the start time of a track.
The default value of the track header flags for media tracks is 7 (track_enabled, track_in_movie, track_in_preview). If in a presentation all tracks have neither track_in_movie nor track_in_preview set, then all tracks shall be treated as if both flags were set on all tracks. Hint tracks should have the track header flags set to 0, so that they are ignored for local playback and preview.
The width and height in the track header are measured on a notional �?square’ (uniform) grid. Track video data is normalized to these dimensions (logically) before any transformation or placement caused by a layup or composition system. Track (and movie) matrices, if used, also operate in this uniformly-scaled space.
bytetoTypeMap| Constructor and Description |
|---|
TrackHeaderBox(long size) |
| Modifier and Type | Method and Description |
|---|---|
int |
getAlternateGroup() |
long |
getCreationTime() |
long |
getDuration() |
double |
getHeight() |
int |
getLayer() |
int[] |
getMatrix() |
long |
getModificationTime() |
long |
getTrackID() |
float |
getVolume() |
double |
getWidth() |
protected int |
load(DataInputStream fin)
Loads Box from stream.
|
getFlags, getVersion, read64protected int load(DataInputStream fin) throws IOException
Boxload in class FullBoxfin - the stream to load box fromIOException - if some I/O error occured.public long getCreationTime()
public long getModificationTime()
public long getDuration()
public long getTrackID()
public int getLayer()
public int getAlternateGroup()
public float getVolume()
public int[] getMatrix()
public double getWidth()
public double getHeight()
Copyright © 2017 TeleStax, Inc.. All Rights Reserved.