wire / magic /
mp4
MP4 / ISOBMFF signature (ftyp box)
An MP4 file begins with an ISOBMFF box whose type is 'ftyp' (file type box), usually preceded by a 4-byte box size.
magic kind signature status de-facto verification verified tier B file-signature@1
aka: mp4 magic · .mp4 · .m4a · .m4v
file signature
magic: 66 74 79 70 @ offset 4
.mp4.m4a.m4v video/mp4
spec: ISO/IEC 14496-12 (ISOBMFF)
- Bytes 0-3: box size (big-endian), commonly 0x00000020 (32) or 0x0000001C (28).
- Bytes 4-7: 'ftyp' (0x66 0x74 0x79 0x70).
- Bytes 8-11: major brand (e.g. 'isom', 'mp41', 'mp42', 'M4V ').
- Bytes 12-15: minor version (usually 0x00000000).
- Remainder of ftyp: compatible brands.
agent: curl -H 'accept: application/json' wire.phall.io/magic/mp4
or /magic/mp4.json