How C2PA Video Metadata Works Under the Hood (and How Browser Byte-Rewriting Strips It)
Learn how MP4 and QuickTime MOV containers encapsulate synthetic media provenance manifests in top-level uuid boxes, why standard video converters re-encode and ruin quality, and how zero-copy browser parsing removes them instantly.
Read full article
The Anatomy of an MP4 Container (ISOBMFF)
MP4 and MOV video files are organized as hierarchical byte streams called "boxes" or "atoms" (ISO Base Media File Format). Common top-level boxes include ftyp (file type identifier), moov (movie header and timing metadata), and mdat (the raw video and audio payload).
When an AI video generation tool (like OpenAI Sora, Runway, or Adobe Firefly) generates or edits a video, it injects a standardized uuid box containing a C2PA manifest (often using the Coalition for Content Provenance and Authenticity specification). The box starts with a 16-byte UUID followed by a JUMBF (JPEG Universal Metadata Box Format) container carrying digital signatures, editing assertions, and tool identifiers.
Why Standard Video Converters Fail
Most video conversion tools or FFmpeg scripts attempt to strip metadata by re-encoding the video stream (-c:v libx264). This introduces generation loss, takes minutes of CPU power, and alters compression artifacts.
The Client-Side Byte Rewriting Approach
Because the C2PA container is located at the top level of the box hierarchy, AI Label Tool inspects the byte offsets directly in the browser's JavaScript engine (using DataView and typed arrays):
- The file header is parsed without loading the entire media payload into memory.
- When a C2PA
uuidbox is matched, its 4-character atom code is rewritten tofree(standard ISO padding) and its manifest payload is zeroed. - Because byte positions and media chunk offsets inside
moovremain identical, the video remains 100% byte-valid and playable with zero generation loss.