{"success":true,"data":{"ext":"mxf","name":"Material Exchange Formatfile","description":"Material Exchange Format (MXF) is a professional media container format defined and maintained by the Society of Motion Picture and Television Engineers (SMPTE). It is used to store audio, video, timecode, and metadata in broadcast, film production, archival, and post-production workflows. The format is widely supported and generally safe to open, though as with any media file, malformed or maliciously crafted samples can affect vulnerable software.","mime":["application/mxf"],"risk_level":"Safe","signatures":[{"hex":"06 0E 2B 34 02 05 01 01 0D 01 02 01 01 02","offset":0,"sources":[{"name":"Wikipedia","url":"https://en.wikipedia.org/wiki/List_of_file_signatures"},{"name":"Gary Kessler","url":"https://www.garykessler.net/library/file_sigs_GCK_latest.html"}]},{"hex":"3C 43 54 72 61 6E 73 54 69 6D 65 6C 69 6E 65 3E","offset":0,"sources":[{"name":"Gary Kessler","url":"https://www.garykessler.net/library/file_sigs_GCK_latest.html"}]}],"related":["rm","3g2","3gp","asf","avi","flv"],"usage":{"python":"def is_mxf(file_path: str) -> bool:\n    \"\"\"Check if file is a valid MXF by magic bytes.\"\"\"\n    signature = bytes([0x06, 0x0E, 0x2B, 0x34, 0x02, 0x05, 0x01, 0x01, 0x0D, 0x01, 0x02, 0x01, 0x01, 0x02])\n    with open(file_path, \"rb\") as f:\n        return f.read(14) == signature","node":"function isMXF(buffer: Buffer): boolean {\n  const signature = Buffer.from([0x06, 0x0E, 0x2B, 0x34, 0x02, 0x05, 0x01, 0x01, 0x0D, 0x01, 0x02, 0x01, 0x01, 0x02]);\n  return buffer.subarray(0, 14).equals(signature);\n}","go":"func IsMXF(data []byte) bool {\n    signature := []byte{0x06, 0x0E, 0x2B, 0x34, 0x02, 0x05, 0x01, 0x01, 0x0D, 0x01, 0x02, 0x01, 0x01, 0x02}\n    if len(data) < 14 {\n        return false\n    }\n    return bytes.Equal(data[:14], signature)\n}"},"category":"Video"}}