MK3D

application/octet-stream

Safe

Magic Bytes

Offset: 0
1A 45 DF A3

Matroska 3D (MK3D) is an open standard multimedia container format developed by the Matroska non-profit organization specifically for stereoscopic video. This file type encapsulates 3D video streams, audio tracks, and subtitles, allowing compatible media players to automatically detect and render depth information. Although it shares the underlying architecture of the common MKV format, the MK3D extension serves as a distinct indicator to hardware and software that specific 3D processing is required for optimal viewing.

Extension

.mk3d

MIME Type

application/octet-stream

Byte Offset

0

Risk Level

Safe

Validation Code

How to validate .mk3d files in Python

Python
def is_mk3d(file_path: str) -> bool:
    """Check if file is a valid MK3D by magic bytes."""
    signature = bytes([0x1A, 0x45, 0xDF, 0xA3])
    with open(file_path, "rb") as f:
        return f.read(4) == signature

How to validate .mk3d files in Node.js

Node.js
function isMK3D(buffer: Buffer): boolean {
  const signature = Buffer.from([0x1A, 0x45, 0xDF, 0xA3]);
  return buffer.subarray(0, 4).equals(signature);
}
Go
func IsMK3D(data []byte) bool {
    signature := []byte{0x1A, 0x45, 0xDF, 0xA3}
    if len(data) < 4 {
        return false
    }
    return bytes.Equal(data[:4], signature)
}

API Endpoint

GET /api/v1/mk3d
curl https://filesignature.org/api/v1/mk3d

Related Formats