{"success":true,"data":{"ext":"mpe","name":"MPE","description":"MPE is a video file format associated with the MPEG standard, developed and maintained by the Moving Picture Experts Group under ISO and IEC. It is used for storing and distributing compressed video streams in media players, editing tools, and legacy multimedia systems. The format is generally considered safe, though older MPEG-based files may have limited support in modern software and should be opened with current players.","mime":["video/mpeg"],"risk_level":"Safe","signatures":[{"hex":"00 00 01 B3","offset":0,"sources":[{"name":"Apache Tika","url":"https://raw.githubusercontent.com/apache/tika/main/tika-core/src/main/resources/org/apache/tika/mime/tika-mimetypes.xml"}]},{"hex":"00 00 01 BA","offset":0,"sources":[{"name":"Apache Tika","url":"https://raw.githubusercontent.com/apache/tika/main/tika-core/src/main/resources/org/apache/tika/mime/tika-mimetypes.xml"}]}],"related":["m2v","mpeg","mpg","3g2","3gp","asf"],"usage":{"python":"def is_mpe(file_path: str) -> bool:\n    \"\"\"Check if file is a valid MPE by magic bytes.\"\"\"\n    signature = bytes([0x00, 0x00, 0x01, 0xB3])\n    with open(file_path, \"rb\") as f:\n        return f.read(4) == signature","node":"function isMPE(buffer: Buffer): boolean {\n  const signature = Buffer.from([0x00, 0x00, 0x01, 0xB3]);\n  return buffer.subarray(0, 4).equals(signature);\n}","go":"func IsMPE(data []byte) bool {\n    signature := []byte{0x00, 0x00, 0x01, 0xB3}\n    if len(data) < 4 {\n        return false\n    }\n    return bytes.Equal(data[:4], signature)\n}"},"category":"Video"}}