{"success":true,"data":{"ext":"m1v","name":"M1V","description":"M1V is an MPEG-1 video elementary stream format standardized by the Moving Picture Experts Group (MPEG) within ISO/IEC. It is used for storing and exchanging compressed video in legacy media files, early digital video projects, and older playback systems. The format is largely obsolete in modern workflows, but it remains broadly safe to open; as with other media files, malformed streams may still expose vulnerabilities in outdated decoders.","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","mpe","mpeg","mpg"],"usage":{"python":"def is_m1v(file_path: str) -> bool:\n    \"\"\"Check if file is a valid M1V 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 isM1V(buffer: Buffer): boolean {\n  const signature = Buffer.from([0x00, 0x00, 0x01, 0xB3]);\n  return buffer.subarray(0, 4).equals(signature);\n}","go":"func IsM1V(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"}}