{"success":true,"data":{"ext":"ogv","name":"Ogg Vorbis Codec compressed Multimedia file","description":"Ogg Video (OGV) is an open multimedia container format based on the Ogg specification, developed and maintained by the Xiph.Org Foundation. It is commonly used to store video and audio streams for web playback, archiving, and open-format media distribution in browsers and media players. The format is generally safe to handle, although like other media files it should still be opened with up-to-date software to reduce codec-related vulnerabilities.","mime":["video/ogg"],"risk_level":"Safe","signatures":[{"hex":"4F 67 67 53","offset":0,"sources":[{"name":"Wikipedia","url":"https://en.wikipedia.org/wiki/List_of_file_signatures"}]},{"hex":"4F 67 67 53 00 02 00 00 00 00 00 00 00 00","offset":0,"sources":[{"name":"Gary Kessler","url":"https://www.garykessler.net/library/file_sigs_GCK_latest.html"}]}],"related":["3g2","3gp","asf","avi","flv","m2v"],"usage":{"python":"def is_ogv(file_path: str) -> bool:\n    \"\"\"Check if file is a valid OGV by magic bytes.\"\"\"\n    signature = bytes([0x4F, 0x67, 0x67, 0x53])\n    with open(file_path, \"rb\") as f:\n        return f.read(4) == signature","node":"function isOGV(buffer: Buffer): boolean {\n  const signature = Buffer.from([0x4F, 0x67, 0x67, 0x53]);\n  return buffer.subarray(0, 4).equals(signature);\n}","go":"func IsOGV(data []byte) bool {\n    signature := []byte{0x4F, 0x67, 0x67, 0x53}\n    if len(data) < 4 {\n        return false\n    }\n    return bytes.Equal(data[:4], signature)\n}"},"category":"Video"}}