{"success":true,"data":{"ext":"qt","name":"QT","description":"QuickTime (QT) is a multimedia file format developed by Apple for storing video, audio, and time-based media. It is used for playback and editing in media applications, especially in older QuickTime-compatible players and authoring tools. The format is largely legacy, and while generally safe as a media container, files from untrusted sources should still be opened with up-to-date software and reviewed cautiously.","mime":["video/quicktime"],"risk_level":"Safe","signatures":[{"hex":"6D 6F 6F 76 00","offset":4,"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":"6D 64 61 74 00","offset":4,"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":"66 72 65 65 00","offset":4,"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":"73 6B 69 70 00","offset":4,"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":"70 6E 6F 74 00","offset":4,"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":"66 74 79 70","offset":4,"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 00 08 77 69 64 65","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":["mov","3g2","3gp","asf","avi","flv"],"usage":{"python":"def is_qt(file_path: str) -> bool:\n    \"\"\"Check if file is a valid QT by magic bytes at offset 4.\"\"\"\n    signature = bytes([0x6D, 0x6F, 0x6F, 0x76, 0x00])\n    with open(file_path, \"rb\") as f:\n        f.seek(4)\n        return f.read(5) == signature","node":"function isQT(buffer: Buffer): boolean {\n  const signature = Buffer.from([0x6D, 0x6F, 0x6F, 0x76, 0x00]);\n  if (buffer.length < 9) return false;\n  return buffer.subarray(4, 9).equals(signature);\n}","go":"func IsQT(data []byte) bool {\n    signature := []byte{0x6D, 0x6F, 0x6F, 0x76, 0x00}\n    if len(data) < 9 {\n        return false\n    }\n    return bytes.Equal(data[4:9], signature)\n}"},"category":"Video"}}