Genetec video archive
application/octet-stream
Magic Bytes
Offset: 0
47 53 52 2D 31 35 34 31
The Genetec video archive is a proprietary multimedia container format developed by Genetec Inc. for use within its unified security platform. This format is primarily employed for storing and exporting video surveillance footage from Genetec Security Center systems to ensure chain of custody. Playback typically requires the specialized Genetec Video Player, as the file structure often incorporates watermarking and encryption features designed to prevent tampering during forensic analysis.
Validation Code
How to validate .g64 files in Python
def is_g64(file_path: str) -> bool:
"""Check if file is a valid G64 by magic bytes."""
signature = bytes([0x47, 0x53, 0x52, 0x2D, 0x31, 0x35, 0x34, 0x31])
with open(file_path, "rb") as f:
return f.read(8) == signature
How to validate .g64 files in Node.js
function isG64(buffer: Buffer): boolean {
const signature = Buffer.from([0x47, 0x53, 0x52, 0x2D, 0x31, 0x35, 0x34, 0x31]);
return buffer.subarray(0, 8).equals(signature);
}
How to validate .g64 files in Go
func IsG64(data []byte) bool {
signature := []byte{0x47, 0x53, 0x52, 0x2D, 0x31, 0x35, 0x34, 0x31}
if len(data) < 8 {
return false
}
return bytes.Equal(data[:8], signature)
}
API Endpoint
/api/v1/g64
curl https://filesignature.org/api/v1/g64
Related Formats
Frequently Asked Questions
What is a .g64 file?
A .g64 file is a Genetec video archive file. The Genetec video archive is a proprietary multimedia container format developed by Genetec Inc. for use within its unified security platform. This format is primarily employed for storing and exporting video surveillance footage from Genetec Security Center systems to ensure chain of custody. Playback typically requires the specialized Genetec Video Player, as the file structure often incorporates watermarking and encryption features designed to prevent tampering during forensic analysis.
What are the magic bytes for .g64 files?
The magic bytes for Genetec video archive files are 47 53 52 2D 31 35 34 31 at byte offset 0. These bytes uniquely identify the file format regardless of the file extension.
How do I validate a .g64 file?
To validate a .g64 file, read the first bytes of the file and compare them against the known magic bytes (47 53 52 2D 31 35 34 31) at offset 0. This is more reliable than checking the file extension alone, as extensions can be renamed.
What is the MIME type for .g64 files?
The primary MIME type for .g64 files is application/octet-stream.
Is it safe to open .g64 files?
Genetec video archive (.g64) 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.