org.jaudiotagger.audio.mp4.atom
Class Mp4MvhdBox
java.lang.Object
org.jaudiotagger.audio.mp4.atom.AbstractMp4Box
org.jaudiotagger.audio.mp4.atom.Mp4MvhdBox
public class Mp4MvhdBox
- extends AbstractMp4Box
MvhdBox (movie (presentation) header box)
This MP4Box contains important audio information we need. It can be used to calculate track length,
depending on the version field this can be in either short or long format
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
VERSION_FLAG_POS
public static final int VERSION_FLAG_POS
- See Also:
- Constant Field Values
OTHER_FLAG_POS
public static final int OTHER_FLAG_POS
- See Also:
- Constant Field Values
CREATED_DATE_SHORT_POS
public static final int CREATED_DATE_SHORT_POS
- See Also:
- Constant Field Values
MODIFIED_DATE_SHORT_POS
public static final int MODIFIED_DATE_SHORT_POS
- See Also:
- Constant Field Values
TIMESCALE_SHORT_POS
public static final int TIMESCALE_SHORT_POS
- See Also:
- Constant Field Values
DURATION_SHORT_POS
public static final int DURATION_SHORT_POS
- See Also:
- Constant Field Values
CREATED_DATE_LONG_POS
public static final int CREATED_DATE_LONG_POS
- See Also:
- Constant Field Values
MODIFIED_DATE_LONG_POS
public static final int MODIFIED_DATE_LONG_POS
- See Also:
- Constant Field Values
TIMESCALE_LONG_POS
public static final int TIMESCALE_LONG_POS
- See Also:
- Constant Field Values
DURATION_LONG_POS
public static final int DURATION_LONG_POS
- See Also:
- Constant Field Values
VERSION_FLAG_LENGTH
public static final int VERSION_FLAG_LENGTH
- See Also:
- Constant Field Values
OTHER_FLAG_LENGTH
public static final int OTHER_FLAG_LENGTH
- See Also:
- Constant Field Values
CREATED_DATE_SHORT_LENGTH
public static final int CREATED_DATE_SHORT_LENGTH
- See Also:
- Constant Field Values
MODIFIED_DATE_SHORT_LENGTH
public static final int MODIFIED_DATE_SHORT_LENGTH
- See Also:
- Constant Field Values
CREATED_DATE_LONG_LENGTH
public static final int CREATED_DATE_LONG_LENGTH
- See Also:
- Constant Field Values
MODIFIED_DATE_LONG_LENGTH
public static final int MODIFIED_DATE_LONG_LENGTH
- See Also:
- Constant Field Values
TIMESCALE_LENGTH
public static final int TIMESCALE_LENGTH
- See Also:
- Constant Field Values
DURATION_SHORT_LENGTH
public static final int DURATION_SHORT_LENGTH
- See Also:
- Constant Field Values
DURATION_LONG_LENGTH
public static final int DURATION_LONG_LENGTH
- See Also:
- Constant Field Values
LONG_FORMAT
private static final int LONG_FORMAT
- See Also:
- Constant Field Values
timeScale
private int timeScale
timeLength
private long timeLength
Mp4MvhdBox
public Mp4MvhdBox(Mp4BoxHeader header,
java.nio.ByteBuffer dataBuffer)
- Parameters:
header
- header infodataBuffer
- data of box (doesnt include header data)
getLength
public int getLength()