com.coremedia.iso.boxes
Class TrackBox
java.lang.Object
com.googlecode.mp4parser.AbstractBox
com.googlecode.mp4parser.AbstractContainerBox
com.coremedia.iso.boxes.TrackBox
- All Implemented Interfaces:
- Box, ContainerBox
public class TrackBox
- extends AbstractContainerBox
Tracks are used for two purposes: (a) to contain media data (media tracks) and (b) to contain packetization
information for streaming protocols (hint tracks).
There shall be at least one media track within an ISO file, and all the media tracks that contributed to the hint
tracks shall remain in the file, even if the media data within them is not referenced by the hint tracks; after
deleting all hint tracks, the entire un-hinted presentation shall remain.
Methods inherited from class com.googlecode.mp4parser.AbstractContainerBox |
_parseDetails, addBox, getBoxes, getBoxes, getBoxes, getContent, getContentSize, getNumOfBytesToFirstChild, parse, parseChildBoxes, removeBox, setBoxes, toString, writeChildBoxes |
TYPE
public static final String TYPE
- See Also:
- Constant Field Values
TrackBox
public TrackBox()
getTrackHeaderBox
public TrackHeaderBox getTrackHeaderBox()
getSampleTableBox
public SampleTableBox getSampleTableBox()
- Gets the SampleTableBox at mdia/minf/stbl if existing.
- Returns:
- the SampleTableBox or
null
getMediaBox
public MediaBox getMediaBox()
Copyright © 2012. All Rights Reserved.