{"success":true,"data":{"ext":"mka","name":"MKA","description":"Matroska Audio (MKA) is a multimedia container format developed and maintained by the Matroska project. It is used to store audio tracks, sometimes with chapters, metadata, and subtitles, for music albums, audiobooks, and archived media. Like other container formats, it can carry multiple embedded streams and metadata, but the format itself is generally considered safe; any risk usually depends on the media player and the content stored within it.","mime":["audio/matroska"],"risk_level":"Safe","signatures":[{"hex":"1A 45 DF A3","offset":0,"sources":[{"name":"Wikipedia","url":"https://en.wikipedia.org/wiki/List_of_file_signatures"}]}],"related":["mkv","webm","3g2","3gp","asf","avi"],"usage":{"python":"def is_mka(file_path: str) -> bool:\n    \"\"\"Check if file is a valid MKA by magic bytes.\"\"\"\n    signature = bytes([0x1A, 0x45, 0xDF, 0xA3])\n    with open(file_path, \"rb\") as f:\n        return f.read(4) == signature","node":"function isMKA(buffer: Buffer): boolean {\n  const signature = Buffer.from([0x1A, 0x45, 0xDF, 0xA3]);\n  return buffer.subarray(0, 4).equals(signature);\n}","go":"func IsMKA(data []byte) bool {\n    signature := []byte{0x1A, 0x45, 0xDF, 0xA3}\n    if len(data) < 4 {\n        return false\n    }\n    return bytes.Equal(data[:4], signature)\n}"},"category":"Video"}}