Minimal ISO-BMFF box builder: appends bytes to an in-memory buffer, with beginBox()/endBox() taking care of the 4-byte size prefix (backpatched once the box's content is known) - used internally by MuxerMP4 to assemble 'moov' once and each 'moof' per fragment.
More...
#include <ContainerMP4.h>
Minimal ISO-BMFF box builder: appends bytes to an in-memory buffer, with beginBox()/endBox() taking care of the 4-byte size prefix (backpatched once the box's content is known) - used internally by MuxerMP4 to assemble 'moov' once and each 'moof' per fragment.
◆ beginBox()
| size_t beginBox |
( |
const char * |
type | ) |
|
|
inline |
Writes the 4-byte size placeholder + fourcc, returns the box's start position (pass to endBox() once its content has been written).
◆ bytes()
◆ clear()
◆ cstr()
| void cstr |
( |
const char * |
s | ) |
|
|
inline |
◆ data()
◆ endBox()
Backpatches the size placeholder from beginBox() with the box's actual total size (header + content), now that it's known.
◆ fourcc()
| void fourcc |
( |
const char * |
type | ) |
|
|
inline |
◆ size()
◆ u16()
◆ u24()
◆ u32()
◆ u8()
◆ zeros()
◆ buffer
The documentation for this class was generated from the following file: