{"success":true,"data":{"ext":"flv","name":"Flash video file","description":"Flash Video (FLV) is a container format developed by Adobe Systems for delivering video and audio content in the Adobe Flash platform. It was widely used for web video streaming, embedded media players, and online video sharing in browsers that supported Flash. FLV is now largely a legacy format following the decline of Adobe Flash, and files should be handled cautiously because media containers can still carry malformed or malicious payloads.","mime":["video/x-flv"],"risk_level":"Safe","signatures":[{"hex":"46 4C 56","offset":0,"sources":[{"name":"Apache Tika","url":"https://raw.githubusercontent.com/apache/tika/main/tika-core/src/main/resources/org/apache/tika/mime/tika-mimetypes.xml"},{"name":"Wikipedia","url":"https://en.wikipedia.org/wiki/List_of_file_signatures"},{"name":"Neil Harvey FileSignatures","url":"https://raw.githubusercontent.com/neilharvey/FileSignatures/master/src/FileSignatures/Formats/Flash.cs"}]},{"hex":"46 4C 56 01","offset":0,"sources":[{"name":"Gary Kessler","url":"https://www.garykessler.net/library/file_sigs_GCK_latest.html"}]},{"hex":"66 74 79 70 4D 34 56 20","offset":4,"sources":[{"name":"Gary Kessler","url":"https://www.garykessler.net/library/file_sigs_GCK_latest.html"}]}],"related":["3g2","3gp","asf","avi","m2v","m4v"],"usage":{"python":"def is_flv(file_path: str) -> bool:\n    \"\"\"Check if file is a valid FLV by magic bytes.\"\"\"\n    signature = bytes([0x46, 0x4C, 0x56])\n    with open(file_path, \"rb\") as f:\n        return f.read(3) == signature","node":"function isFLV(buffer: Buffer): boolean {\n  const signature = Buffer.from([0x46, 0x4C, 0x56]);\n  return buffer.subarray(0, 3).equals(signature);\n}","go":"func IsFLV(data []byte) bool {\n    signature := []byte{0x46, 0x4C, 0x56}\n    if len(data) < 3 {\n        return false\n    }\n    return bytes.Equal(data[:3], signature)\n}"},"category":"Video"}}