YUVN
application/octet-stream
Magic Bytes
Offset: 0
46 4F 52 4D 59 55 56 4E
YUVN is a legacy raw video image format developed by NewTek for the Video Toaster hardware platform on Amiga systems. It stores digitized video frames in a YUV color space, primarily used for broadcast television production and professional non-linear editing. This format follows the Interchange File Format (IFF) structure and is considered safe, though modern users must utilize specialized software to view or convert these historical assets.
Validation Code
How to validate .yuvn files in Python
Python
def is_yuvn(file_path: str) -> bool:
"""Check if file is a valid YUVN by magic bytes."""
signature = bytes([0x46, 0x4F, 0x52, 0x4D, 0x59, 0x55, 0x56, 0x4E])
with open(file_path, "rb") as f:
return f.read(8) == signature
How to validate .yuvn files in Node.js
Node.js
function isYUVN(buffer: Buffer): boolean {
const signature = Buffer.from([0x46, 0x4F, 0x52, 0x4D, 0x59, 0x55, 0x56, 0x4E]);
return buffer.subarray(0, 8).equals(signature);
}
Go
func IsYUVN(data []byte) bool {
signature := []byte{0x46, 0x4F, 0x52, 0x4D, 0x59, 0x55, 0x56, 0x4E}
if len(data) < 8 {
return false
}
return bytes.Equal(data[:8], signature)
}
API Endpoint
GET
/api/v1/yuvn
curl https://filesignature.org/api/v1/yuvn