VocalTec VoIP media file
application/octet-stream
Magic Bytes
Offset: 2
5B 56 65 72 73 69 6F 6E
The VocalTec VoIP media file is a proprietary audio format developed by VocalTec Communications for use in early internet telephony software. It was primarily utilized for recording voice messages and managing internet-based telecommunications data within the company's Internet Phone application. Now considered a legacy format, this standard represents a historical milestone in the evolution of digital voice communication and is generally regarded as safe for archival analysis.
Validation Code
How to validate .vmd files in Python
Python
def is_vmd(file_path: str) -> bool:
"""
Check if file is a valid VMD by magic bytes.
Signature offset: 2 bytes
"""
signature = bytes([0x5B, 0x56, 0x65, 0x72, 0x73, 0x69, 0x6F, 0x6E])
with open(file_path, "rb") as f:
f.seek(2)
return f.read(8) == signature
How to validate .vmd files in Node.js
Node.js
function isVMD(buffer: Buffer): boolean {
// Signature offset: 2 bytes
const signature = Buffer.from([0x5B, 0x56, 0x65, 0x72, 0x73, 0x69, 0x6F, 0x6E]);
if (buffer.length < 10) return false;
return buffer.subarray(2, 10).equals(signature);
}
Go
func IsVMD(data []byte) bool {
// Signature offset: 2 bytes
signature := []byte{0x5B, 0x56, 0x65, 0x72, 0x73, 0x69, 0x6F, 0x6E}
if len(data) < 10 {
return false
}
return bytes.Equal(data[2:10], signature)
}
API Endpoint
GET
/api/v1/vmd
curl https://filesignature.org/api/v1/vmd