Flash video file

video/x-flv

Safe

Magic Bytes

Offset: 0
46 4C 56

Flash Video (FLV) is a multimedia container format originally developed by Macromedia and maintained by Adobe Systems for delivering synchronized audio and video over the Internet. During the early 2000s, it served as the dominant standard for embedded web video on major streaming platforms. The format is now considered obsolete following the widespread adoption of HTML5 and the official end-of-life deprecation of the Adobe Flash Player plugin in December 2020.

Extension

.flv

MIME Type

video/x-flv

Byte Offset

0

Risk Level

Safe

Validation Code

How to validate .flv files in Python

Python
def is_flv(file_path: str) -> bool:
    """Check if file is a valid FLV by magic bytes."""
    signature = bytes([0x46, 0x4C, 0x56])
    with open(file_path, "rb") as f:
        return f.read(3) == signature

How to validate .flv files in Node.js

Node.js
function isFLV(buffer: Buffer): boolean {
  const signature = Buffer.from([0x46, 0x4C, 0x56]);
  return buffer.subarray(0, 3).equals(signature);
}
Go
func IsFLV(data []byte) bool {
    signature := []byte{0x46, 0x4C, 0x56}
    if len(data) < 3 {
        return false
    }
    return bytes.Equal(data[:3], signature)
}

API Endpoint

GET /api/v1/flv
curl https://filesignature.org/api/v1/flv

Related Formats