Type Alias: MovieHeaderBox<V>
type MovieHeaderBox<V> = FullBox & object;Defined in: boxes/MovieHeaderBox.ts:11
Movie Header Box (mvhd).
ISO/IEC 14496-12:2015 - 8.2.2
Type Parameters
V
V extends IsoInt64 = number
Type Declaration
creationTime
creationTime: V;The creation time of the presentation, in seconds since midnight, 1904-01-01, UTC.
duration
duration: V;The duration of the presentation in units of timescale. All bits set means that the duration cannot be determined.
matrix
matrix: [a: number, b: number, u: number, c: number, d: number, v: number, x: number, y: number, w: number];The transformation matrix in the order a, b, u, c, d, v, x, y, w. The identity matrix is [1, 0, 0, 0, 1, 0, 0, 0, 1]. The box stores u, v, and w as 2.30 values, and the other entries as 16.16 values.
modificationTime
modificationTime: V;The most recent time the presentation was modified, in seconds since midnight, 1904-01-01, UTC.
nextTrackId
nextTrackId: number;The track ID for the next track that a writer adds to the presentation.
preDefined?
preDefined?: number[];The pre_defined field. writeMvhd writes 0 for a missing value.
rate
rate: number;The preferred playback rate. The box stores a signed 16.16 value, and the reader returns the decoded number, such as 1.
timescale
timescale: number;The number of time units that pass in one second for the presentation.
type
type: "mvhd";volume
volume: number;The preferred playback volume. The box stores a signed 8.8 value, and the reader returns the decoded number, such as 1.