RealMedia streaming media file

application/octet-stream

Safe

Magic Bytes

Offset: 0
2E 52 4D 46 00 00 00 12 00

RealMedia streaming media file (RMVB) is a proprietary multimedia container format developed by RealNetworks as a variable bitrate extension of its original RealMedia architecture. This format optimizes compression for local storage by adjusting the data rate based on video complexity, primarily used for distributing media content with consistent quality at reduced file sizes. While now considered a legacy format, it remains supported by various modern media players and has been largely superseded by efficient standards like H.264.

Extension

.rmvb

MIME Type

application/octet-stream

Byte Offset

0

Risk Level

Safe

Validation Code

How to validate .rmvb files in Python

Python
def is_rmvb(file_path: str) -> bool:
    """Check if file is a valid RMVB by magic bytes."""
    signature = bytes([0x2E, 0x52, 0x4D, 0x46, 0x00, 0x00, 0x00, 0x12, 0x00])
    with open(file_path, "rb") as f:
        return f.read(9) == signature

How to validate .rmvb files in Node.js

Node.js
function isRMVB(buffer: Buffer): boolean {
  const signature = Buffer.from([0x2E, 0x52, 0x4D, 0x46, 0x00, 0x00, 0x00, 0x12, 0x00]);
  return buffer.subarray(0, 9).equals(signature);
}
Go
func IsRMVB(data []byte) bool {
    signature := []byte{0x2E, 0x52, 0x4D, 0x46, 0x00, 0x00, 0x00, 0x12, 0x00}
    if len(data) < 9 {
        return false
    }
    return bytes.Equal(data[:9], signature)
}

API Endpoint

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

Related Formats