{"success":true,"data":{"ext":"vcd","name":"VideoVCD","description":"VideoVCD is a Video CD image format created and maintained by the GNU VCDImager project. It is used to store disc images for authoring, testing, and burning Video CD media, including MPEG-1 video content and related disc structure. As a legacy optical-disc format, it is generally safe to inspect, though its usefulness is limited by the decline of Video CD playback hardware.","mime":["application/x-cdlink"],"risk_level":"Safe","signatures":[{"hex":"45 4E 54 52 59 56 43 44 02 00 00 01 02 00 18 58","offset":0,"sources":[{"name":"Gary Kessler","url":"https://www.garykessler.net/library/file_sigs_GCK_latest.html"}]}],"related":[],"usage":{"python":"def is_vcd(file_path: str) -> bool:\n    \"\"\"Check if file is a valid VCD by magic bytes.\"\"\"\n    signature = bytes([0x45, 0x4E, 0x54, 0x52, 0x59, 0x56, 0x43, 0x44, 0x02, 0x00, 0x00, 0x01, 0x02, 0x00, 0x18, 0x58])\n    with open(file_path, \"rb\") as f:\n        return f.read(16) == signature","node":"function isVCD(buffer: Buffer): boolean {\n  const signature = Buffer.from([0x45, 0x4E, 0x54, 0x52, 0x59, 0x56, 0x43, 0x44, 0x02, 0x00, 0x00, 0x01, 0x02, 0x00, 0x18, 0x58]);\n  return buffer.subarray(0, 16).equals(signature);\n}","go":"func IsVCD(data []byte) bool {\n    signature := []byte{0x45, 0x4E, 0x54, 0x52, 0x59, 0x56, 0x43, 0x44, 0x02, 0x00, 0x00, 0x01, 0x02, 0x00, 0x18, 0x58}\n    if len(data) < 16 {\n        return false\n    }\n    return bytes.Equal(data[:16], signature)\n}"}}}