DVD info file (.ifo)
.ifo file signature | application/x-dvd-ifo
DVD info file
Magic Bytes
Offset 0
44 56 44 56 49 44 45 4F 2D 56 54 53
Sources: Apache Tika
All Known Signatures
3 signature variants are documented for .ifo files across multiple sources.
| Hex Signature | Offset | Sources |
|---|---|---|
| 44 56 44 56 49 44 45 4F 2D 56 54 53 | 0 | Apache Tika |
| 44 56 44 56 49 44 45 4F 2D 56 4D 47 | 0 | Apache Tika |
| 44 56 44 | 0 | Gary Kessler |
Extension
.ifo
MIME Type
application/x-dvd-ifo
Byte Offset
0
Risk Level
Safe
Validation Code
How to validate .ifo files in Python
def is_ifo(file_path: str) -> bool:
"""Check if file is a valid IFO by magic bytes."""
signature = bytes([0x44, 0x56, 0x44, 0x56, 0x49, 0x44, 0x45, 0x4F, 0x2D, 0x56, 0x54, 0x53])
with open(file_path, "rb") as f:
return f.read(12) == signature
How to validate .ifo files in Node.js
function isIFO(buffer: Buffer): boolean {
const signature = Buffer.from([0x44, 0x56, 0x44, 0x56, 0x49, 0x44, 0x45, 0x4F, 0x2D, 0x56, 0x54, 0x53]);
return buffer.subarray(0, 12).equals(signature);
}
How to validate .ifo files in Go
func IsIFO(data []byte) bool {
signature := []byte{0x44, 0x56, 0x44, 0x56, 0x49, 0x44, 0x45, 0x4F, 0x2D, 0x56, 0x54, 0x53}
if len(data) < 12 {
return false
}
return bytes.Equal(data[:12], signature)
}
API Endpoint
/api/v1/ifo
curl https://filesignature.org/api/v1/ifo
See the full API documentation for all endpoints and parameters.
Frequently Asked Questions
What is a .ifo file?
A .ifo file is a DVD info file file. DVD info file
What are the magic bytes for .ifo files?
The magic bytes for DVD info file files are 44 56 44 56 49 44 45 4F 2D 56 54 53 at byte offset 0. These bytes uniquely identify the file format regardless of the file extension.
How do I validate a .ifo file?
To validate a .ifo file, read the first bytes of the file and compare them against the known magic bytes (44 56 44 56 49 44 45 4F 2D 56 54 53) at offset 0. This is more reliable than checking the file extension alone, as extensions can be renamed.
What is the MIME type for .ifo files?
The primary MIME type for .ifo files is application/x-dvd-ifo.
Is it safe to open .ifo files?
DVD info file (.ifo) files are generally safe to open. They are classified as low risk because they primarily contain data rather than executable code. However, always ensure files come from a trusted source.