Type Alias: VisualSampleEntry<T, V>
ts
type VisualSampleEntry<T, V> = SampleEntry<T, V> & object;Defined in: boxes/VisualSampleEntry.ts:13
Visual Sample Entry Box, such as avc1, hvc1, or encv.
ISO/IEC 14496-12:2015 - 12.1.3
Type Parameters
T
T extends IsoBoxType = VisualSampleEntryType
V
V extends IsoInt64 = number
Type Declaration
compressorName
ts
compressorName: string;The name of the compressor, at most 31 bytes of UTF-8. writeVisualSampleEntry throws a RangeError for a longer name.
depth
ts
depth: number;frameCount
ts
frameCount: number;height
ts
height: number;horizResolution
ts
horizResolution: number;preDefined1?
ts
preDefined1?: number;The first pre_defined field. writeVisualSampleEntry writes 0 for a missing value.
preDefined2?
ts
preDefined2?: number[];The second pre_defined field. writeVisualSampleEntry writes 0 for a missing value.
preDefined3?
ts
preDefined3?: number;The third pre_defined field. writeVisualSampleEntry writes -1 for a missing value, the value of the specification.
vertResolution
ts
vertResolution: number;width
ts
width: number;