Class MovieBox
- java.lang.Object
-
- org.mp4parser.BasicContainer
-
- org.mp4parser.support.AbstractContainerBox
-
- org.mp4parser.boxes.iso14496.part12.MovieBox
-
- All Implemented Interfaces:
Box,Container,ParsableBox
public class MovieBox extends AbstractContainerBox
4cc = ""moov""
The metadata for a presentation is stored in the single Movie Box which occurs at the top-level of a file. Normally this box is close to the beginning or end of the file, though this is not required.
-
-
Field Summary
-
Fields inherited from class org.mp4parser.support.AbstractContainerBox
largeBox, type
-
-
Constructor Summary
Constructors Constructor Description MovieBox()
-
Method Summary
Modifier and Type Method Description MovieHeaderBoxgetMovieHeaderBox()intgetTrackCount()long[]getTrackNumbers()Returns the track numbers associated with thisMovieBox.-
Methods inherited from class org.mp4parser.support.AbstractContainerBox
getBox, getHeader, getSize, getType, parse, setParent
-
Methods inherited from class org.mp4parser.BasicContainer
addBox, getBoxes, getBoxes, getBoxes, getContainerSize, initContainer, setBoxes, toString, writeContainer
-
-
-
-
Field Detail
-
TYPE
public static final String TYPE
- See Also:
- Constant Field Values
-
-
Method Detail
-
getTrackCount
public int getTrackCount()
-
getTrackNumbers
public long[] getTrackNumbers()
Returns the track numbers associated with thisMovieBox.- Returns:
- the tracknumbers (IDs) of the tracks in their order of appearance in the file
-
getMovieHeaderBox
public MovieHeaderBox getMovieHeaderBox()
-
-