Maven module :un.storage : media-mpeg4 :
Class : un.storage.media.mp4.boxes.impl.MediaHeaderBox
Extends/Implements : un.storage.media.mp4.boxes.FullBox
Subclasses : -

The media header declares overall information that is media-independent, and relevant to characteristics of
the media in a track.
author  Alexander Simm


Variables : -
Functions : MediaHeaderBox, decode, getCreationTime, getModificationTime, getTimeScale, getDuration, getLanguage



public void MediaHeaderBox ()

public void decode (MP4InputStream in)


The creation time is an integer that declares the creation time of the
presentation in seconds since midnight, Jan. 1, 1904, in UTC time.
return  the creation time
public long getCreationTime ()


The modification time is an integer that declares the most recent time
the presentation was modified in seconds since midnight, Jan. 1, 1904,
in UTC time.
public long getModificationTime ()


The time-scale is an integer that specifies the time-scale for this
media; this is the number of time units that pass in one second. For
example, a time coordinate system that measures time in sixtieths of a
second has a time scale of 60.
return  the time-scale
public long getTimeScale ()


The duration is an integer that declares the duration of this media (in
the scale of the timescale). If the duration cannot be determined then
duration is set to -1.
return  the duration of this media
public long getDuration ()


Language code for this media as defined in ISO 639-2/T.
return  the language code
public String getLanguage ()