Skip to content

Type Alias: MediaHeaderBox<V> ​

ts
type MediaHeaderBox<V> = FullBox & object;

Defined in: boxes/MediaHeaderBox.ts:11

Media Header Box (mdhd).

ISO/IEC 14496-12:2015 - 8.4.2

Type Parameters ​

V ​

V extends IsoInt64 = number

Type Declaration ​

creationTime ​

ts
creationTime: V;

The creation time of the media in this track, in seconds since midnight, 1904-01-01, UTC. The field has 32 bits in version 0 and 64 bits in version 1.

duration ​

ts
duration: V;

The duration of this media in units of timescale. All bits set means that the duration cannot be determined.

language ​

ts
language: string;

The ISO 639-2/T language code, three lower-case letters.

modificationTime ​

ts
modificationTime: V;

The most recent time the media in this track was modified, in seconds since midnight, 1904-01-01, UTC.

preDefined? ​

ts
preDefined?: number;

The pre_defined field. writeMdhd writes 0 for a missing value.

timescale ​

ts
timescale: number;

The number of time units that pass in one second for this media.

type ​

ts
type: "mdhd";

A Streaming Video Technology Alliance project.