MOVIE
video/x-sgi-movie
Magic Bytes
Offset: 0
4D 4F 56 49 00
The Silicon Graphics Movie (MOVIE) format is a legacy multimedia container developed by Silicon Graphics, Inc. (SGI) for use within the IRIX operating system. This format was historically utilized to store video and audio data for high-performance graphics rendering and visual effects pipelines. Although inherently safe due to its simple structure, the format is now considered obsolete and typically requires file conversion or specialized legacy media players for viewing on modern devices.
Validation Code
How to validate .movie files in Python
Python
def is_movie(file_path: str) -> bool:
"""Check if file is a valid MOVIE by magic bytes."""
signature = bytes([0x4D, 0x4F, 0x56, 0x49, 0x00])
with open(file_path, "rb") as f:
return f.read(5) == signature
How to validate .movie files in Node.js
Node.js
function isMOVIE(buffer: Buffer): boolean {
const signature = Buffer.from([0x4D, 0x4F, 0x56, 0x49, 0x00]);
return buffer.subarray(0, 5).equals(signature);
}
Go
func IsMOVIE(data []byte) bool {
signature := []byte{0x4D, 0x4F, 0x56, 0x49, 0x00}
if len(data) < 5 {
return false
}
return bytes.Equal(data[:5], signature)
}
API Endpoint
GET
/api/v1/movie
curl https://filesignature.org/api/v1/movie