DVD Video Movie File
application/octet-stream
Magic Bytes
Offset: 0
00 00 01 BA
Video Object (VOB) is a container format used in DVD-Video media, originally developed and maintained by the DVD Forum. It is primarily utilized within the DVD-Video structure for storing multiplexed digital video, audio, subtitles, and navigation menus. Although largely considered a legacy format replaced by modern containers like MP4, it remains a standard for physical media and often utilizes Content Scramble System technology for encryption and digital rights management.
Validation Code
How to validate .vob files in Python
Python
def is_vob(file_path: str) -> bool:
"""Check if file is a valid VOB by magic bytes."""
signature = bytes([0x00, 0x00, 0x01, 0xBA])
with open(file_path, "rb") as f:
return f.read(4) == signature
How to validate .vob files in Node.js
Node.js
function isVOB(buffer: Buffer): boolean {
const signature = Buffer.from([0x00, 0x00, 0x01, 0xBA]);
return buffer.subarray(0, 4).equals(signature);
}
Go
func IsVOB(data []byte) bool {
signature := []byte{0x00, 0x00, 0x01, 0xBA}
if len(data) < 4 {
return false
}
return bytes.Equal(data[:4], signature)
}
API Endpoint
GET
/api/v1/vob
curl https://filesignature.org/api/v1/vob