Skip to content

Function: writeAvc1() ​

ts
function writeAvc1(box, config): IsoBoxWriteView;

Defined in: libs/iso-bmff/src/writers/writeAvc1.ts:18

Write a VisualSampleEntryBox to an IsoBoxWriteView.

ISO/IEC 14496-12:2012 - 12.1.3 Visual Sample Entry

Parameters ​

box ​

VisualSampleEntryBox<"avc1">

The VisualSampleEntryBox fields to write

config ​

IsoBoxWriteViewConfig

The IsoBoxWriteViewConfig to use

Returns ​

IsoBoxWriteView

An IsoBoxWriteView containing the encoded box

A Streaming Video Technology Alliance project.