Changes

Jump to: navigation, search

TransOgg Page

947 bytes added, 17:35, 19 September 2012
Syncpoints / Keyframes
01234567 01234567 01234567 01234567
0 1 2 3
-- |-------- -------- -------- --------| -- ^ 0| capture pattern |3 ^ | |--------|-------- -------- --------| | | 4| sgmnts | stream identification |7 | | |------|-|--------|-------- --------| | 20 8| flag | hbytes | dbytes |11 | | |------|- --------|-------- --------| | | 12| 32 bit checksum |15 | | |-------- -------- -------- --------| | V 16| DTS [low] word |19 | -- |-------- -------- -------- --------| | 20? DTS high word | sgmnts+ |-------- -------- -------- -------- hbytes+ ? sequence... 19 |-------- | hbytes ? distance... | |-------- | ? segment table... | |-------- | ? pp-reldistance?... | ? pp-delay?... | ? pp-duration?... | ? pp-ppflags?... V -- |-------- -- ^ ? | ?
dbytes ? data payloads...
| ?
V ?
-- |--------
unset == backreference field not present; interpretation
subject to SUBR field
4 SUBR: set == If BREF also set: relative explicit backreference distances are encoded for each packet. The page must not contain a syncpoint.
If BREF unset: all packets on the page are at max
backreference distance (, ie, max preroll). Intra-only stream types should use this flag combination for all pages along with with a preroll value of zero.
unset == If BREF set: all packets on this page share the
single encoded backreference value. If BREF also unset: first packet is a syncpoint. (implicit backreference value of zero).
5 SEQ : set == sequence field is present
6 DURA: set == full raw duration encoding present
== header variable fields bytes ==
'hbytes' (bit 7 of byte 8 and bits 0-7 of byte 9 for 9 bits total, 0-511) indicates encodes the number of bytes spanned bythe bythe variable-length header fields (DTS high word, sequence,distance, lacing, and per-packet fields). The actual number of header bytes is computed as (19 + segments + hbytes); this computed value serves as a direct byte offset to the page data, as measured from the first byte of the page.
== data payload bytes ==
Streams in which not every frame serves as a syncpoint may place only
one syncpoint (keyframe) packet per page. The syncpoint packet must
be the first packet begun (the first segment) and the first packet completed on the page (if any).
= More Information =
* [[TransOgg]]: Toplevel transOgg page

Navigation menu