{"success":true,"data":{"ext":"vdr","name":"VDR","description":"VDR is a RIFF-based legacy video file format created and maintained by its original proprietary software vendor, with support now largely limited to older applications. It is used to store video data and related metadata for playback, editing, and transfer within compatible media tools. As an older format, VDR may be unsupported in modern software, but it is generally considered safe to open when obtained from trusted sources.","mime":[],"risk_level":"Safe","signatures":[{"hex":"52 49 46 46 56 44 52 4D","offset":0,"sources":[{"name":"Wikipedia","url":"https://en.wikipedia.org/wiki/List_of_file_signatures"}]}],"related":["ani","cda","cdr","cmx","ds4","mmm"],"usage":{"python":"def is_vdr(file_path: str) -> bool:\n    \"\"\"Check if file is a valid VDR by magic bytes.\"\"\"\n    signature = bytes([0x52, 0x49, 0x46, 0x46, 0x56, 0x44, 0x52, 0x4D])\n    with open(file_path, \"rb\") as f:\n        return f.read(8) == signature","node":"function isVDR(buffer: Buffer): boolean {\n  const signature = Buffer.from([0x52, 0x49, 0x46, 0x46, 0x56, 0x44, 0x52, 0x4D]);\n  return buffer.subarray(0, 8).equals(signature);\n}","go":"func IsVDR(data []byte) bool {\n    signature := []byte{0x52, 0x49, 0x46, 0x46, 0x56, 0x44, 0x52, 0x4D}\n    if len(data) < 8 {\n        return false\n    }\n    return bytes.Equal(data[:8], signature)\n}"},"category":"Images"}}