ITU-T H.222.0 (10/2014) requirement trace¶
The MPEG-2 Systems transport baseline is ITU-T H.222.0 (10/2014), equivalent to ISO/IEC 13818-1:2015. This trace records only implemented and directly tested slices; it is not a full systems-layer conformance claim.
| Standard basis | Implementation/test | State |
|---|---|---|
| Clause 2.4.3.2, fixed 188-byte transport packets and sync byte | incremental transport parser tests | Verified |
| Clause 2.4.3.2, transport-packet header, adaptation control, and fixed packet construction | encode_transport_packet, rebuild_transport_packet, exact-header, boundary, stuffing, no-op, and semantic modification round trips |
Verified writer and parsed-packet modification primitives |
| Table 2-6, adaptation-field flags and optional-field syntax | AdaptationField, AdaptationFieldExtension, canonical encoders, packet parser, verifier, and exact-byte round-trip tests |
PCR/OPCR, stream priority, signed splice countdown, bounded private data, legal-time-window, positive piecewise rate, seamless-splice timestamp, marker/reserved bits, and stuffing verified for reading and writing |
| Equations 2-1 through 2-3, PCR base × 300 + extension at 27 MHz | exact clock model and round-trip tests | Verified |
| Clause 2.4.3.5, PCR carried on the PMT-declared PCR PID | program-aware clock events and public FMV integration tests | Verified |
| Clause 2.4.3.5 / ST 1402.2 §7.2, PCR interval | PCRCadenceValidator program, rollover, discontinuity, and exact-boundary tests |
Observed spacing verified; accuracy/jitter pending |
| Table 2-6, adaptation-only PCR packet construction and scheduling | encode_pcr_packet, TransportMuxer.mux_pcr, ProgramClockScheduler round-trip, continuity, actual-time clock, drift, and late-gap tests |
Verified writer primitives; application controls physical output timing |
| §2.4.2.2 equations 2-1 through 2-5, constant transport-rate byte positions and PCR-base-byte arrival | TransportRateShaper exact rational slots and in-place PCR rewrite |
Verified deterministic byte-schedule model; physical sink jitter remains external |
§2.4.3.3, PID 0x1FFF payload-only null packets |
encode_null_packet, bounded idle fill |
Verified |
| Clause 2.4.3.5, reserved fields set to one | PCR/OPCR decoder validation | Verified |
| Table 2-6, adaptation fields on unchanged media | source-layout PES repacketizer and full daylight FMV fingerprint | Verified subset |
| Clauses 2.4.4.3/.5, complete multi-section PAT activation | bounded, versioned, out-of-order cycle assembly; combined duplicate/program-limit tests; active-route retention until completion | Verified |
| Clauses 2.4.4.8/.9, one complete program definition per zero-numbered PMT section | strict PMT section-number validation plus shared PMT-PID demux tests | Verified |
| §2.1.64 and Tables 2-30/2-33, fixed and reserved PSI bits | exact header, PCR PID, program-info, elementary-PID, and ES-info corruption tests | Verified for PAT/PMT |
| Clause 2.4.4, PAT/PMT PSI, MPEG-2 CRC, and stuffing | strict parser/assembler tests, including duplicate PAT programs and an invalid byte after 0xFF stuffing |
Verified subset |
| PES syntax and 33-bit PTS/DTS marker bits | PES parser/encoder tests | Verified subset |
| 33-bit PTS rollover and per-stream interval observation used by ST 1402.2 §7.3 | PTSCadenceValidator exact-boundary, rollover, reordering, and discontinuity tests |
Verified for the ST 1402 profile rule |
| Clause 2.7.5, PTS on the first access unit, after decoding discontinuity, and video PTS only where an AU starts | VideoAccessUnitPTSValidator, audio timing verifier |
MPEG-1/2 Video, AVC, HEVC, Layer II, and AAC-LC markers, deferred split-prefix decisions, and finite completion verified |
| Clause 2.4.3.7, audio PTS refers to first access unit commencing in PES | audio.AudioPESFrameParser split/continued-frame tests |
Verified for ST 1001 codecs |
| Clause 2.7.5, derive following access-unit times from elementary-stream information | exact sample-count/rate frame timeline tests | Verified for ST 1001 codecs |
| Table 2-89 / §2.6.63, metadata STD descriptor fields and physical units | transport.metadata.MetadataSTDDescriptor reserved-bit, length, code-bound, exact-unit, PMT, and round-trip tests |
Verified |
| §§2.4.2.2, 2.4.2.3, 2.4.2.6, and 2.12.10, synchronous metadata T-STD | exact one-shot/incremental models, PCR-window validator, verifier | TBn/Bn occupancy, leak rate, PTS removal, underflow/overflow, one-second emptying/delay, PCR interpolation, cross-window state, bounds, and report integration verified |
| §§2.4.2.3, 2.4.2.6, 2.6.63, and 2.12.10, asynchronous metadata STD | exact finite/incremental models, aggregate PCR/PES adapter, PCR-window validator, verifier API | Input/output leak rates, cross-batch and cross-PCR-window TBn/Bn occupancy, zero-rate, bounded pending events, watermark ordering, overflow, one-second emptying/delay, PCR interpolation, missing-configuration, and report integration verified when descriptor parameters are supplied |
Physical PCR accuracy/jitter limits, the conditional timestamp rules for later AVC access units, external provisioning of asynchronous STD parameters, conditional access, scrambling, and non-PAT multi-section PSI are pending.