Open hypo-thesis opened 1 year ago
file.addTrack
will create moov box.
const moovBox = file.boxes.find(({type}) => type === 'moov')
const ds = new mp4box.DataStream()
ds.endianness = mp4box.DataStream.BIG_ENDIAN
moovBox.write(ds)
// ds.buffer is moov box binary data
I need an example where I can add MOOV atom to an
arraybuffer
. Thanks.