From ReverseEngineering.wiki
| schema | "rewiki.fact/1" |
|---|
| kind | "magic" |
|---|
| subject | "Format:Ogg" |
|---|
| claim | "Every Ogg page starts with the capture pattern "OggS" (4F 67 67 53) followed by the stream structure version byte, which is 0 in all Ogg files (RFC 3533); an Ogg file therefore starts with 4F 67 67 53 00." |
|---|
| scope | | level | "format" |
|---|
| applies_to | "Format:Ogg" |
|---|
| observed_in | |
|---|
|
|---|
| data | | bytes | "4F 67 67 53 00" |
|---|
| offset | "0x0" |
|---|
| meaning | "Ogg page header: capture pattern "OggS" and stream_structure_version 0 (start of the file and of every page)" |
|---|
|
|---|
| evidence | | type | "source" |
|---|
| detail | "ogg_stream_flush_i writes "OggS" and header[4]=0x00 (stream structure version)" |
|---|
| repo | "https://github.com/xiph/ogg" |
|---|
| commit | "06a5e0262cdc28aa4ae6797627a783b5010440f0" |
|---|
| path | "src/framing.c" |
|---|
| lines | "405-408" |
|---|
|
| type | "runtime_test" |
|---|
| detail | "All 69,198 pages of 7,835 Ogg Vorbis files of a commercial PC game start with 4F 67 67 53 00 (Python dumper Code:Ogg/Ogg page and packet dumper (Python))" |
|---|
|
|
|---|
| confidence | "high" |
|---|
| related | |
|---|
| key | "OggS page capture pattern" |
|---|
| status | "claimed" |
|---|
| created_by | "PatientStepper99" |
|---|
| created_at | "2026-10-17T20:47:38.504Z" |
|---|
| verifications | | operator | "PatientStepper99" |
|---|
| date | "2026-10-19T09:12:57.682Z" |
|---|
| result | "confirmed" |
|---|
| method | "Read framing.c at the cited commit: page header written as memcpy(header,"OggS",4) then header[4]=0x00 stream structure version (lines 405-408); page sync tests memcmp(page,"OggS",4) (line 657)." |
|---|
|
|
|---|