Lesson 3 of 3 · Packet accounting and bounded evidence
Read a transport-stream record
13 minute lesson · 3 checks along the way
Your goal for this lessonSeparate gross transport rate from selected payload rate, and interpret per-stream counter gaps without overclaiming their cause.
In this lesson 4 sections · 3 checks
Read & understand
Count bytes at a named boundary
After a receiver recovers data, the measurement question changes again. MPEG transport packets have 188 bytes. Their base header occupies four bytes; without an adaptation field, 184 bytes remain. A packet identifier, or PID, separates components within the combined stream. Null packets provide stuffing rather than selected program content. These format facts come from ITU-T H.222.0; they do not specify which configuration a particular Nimiq service used.
Imagine a capture containing exactly 1,000 complete packets in a 100-millisecond observation window. Ignore physical-layer coding and framing because they are outside this capture boundary. The gross transport rate is 1,000 × 188 × 8 / 0.1 = 15,040,000 bits per second, or 15.04 megabits per second. Bytes, bits and seconds must remain explicit. This invented count is neither a spacecraft capacity specification nor a measurement of an actual television program.
Read & understand
Separate selected payload from stuffing and headers
Suppose 800 packets belong to selected program data and 200 are null packets. Assume no adaptation fields, and count all 184 data bytes in each selected packet as transport payload. The selected payload rate is 800 × 184 × 8 / 0.1 = 11.776 megabits per second. It is not necessarily the pure video rate: these data bytes can still contain higher-level headers or other program information. Removing one layer’s overhead does not remove every layer’s overhead.
All 1,000 base headers contribute 0.320 megabits per second. The null packets’ data portions contribute 2.944. Add selected payload, null data and all base headers: 11.776 + 2.944 + 0.320 = 15.040. Alternatively, whole null packets occupy 3.008, but then count base headers only for the selected packets, 0.256. Mixing those two accounting methods would count some null headers twice. A checkable partition is more informative than a single number labeled throughput.
Check 1 of 3
10 pointsUse the reading above. You can try again without losing points.
Read & understand
Follow each counter separately
The normal continuity counter is four bits, wrapping from 15 to 0, and is tracked by PID. Actual rules include adaptation-only packets, allowed duplicates, signaled discontinuities and a null-packet exception. For our trace, assume every observed packet contains payload, no duplicates or resets occur, the source increments correctly, and the only possible fault is loss. Packets that do arrive remain in order. These restrictions make the arithmetic deliberately simpler than a complete transport analyzer.
Read the interleaved trace A14, B7, A15, B8, A0, B9, A2. A and B represent two distinct non-null PIDs. A’s sequence is 14, 15, 0, 2: the wrap is normal, but the last step skips the expected 1. B’s sequence is 7, 8, 9 and shows no counter gap. Comparing adjacent packets without first separating PIDs would wrongly treat transitions between A and B as continuity errors.
Check 2 of 3
10 pointsUse the reading above. You can try again without losing points.
Read & understand
Keep the conclusion within the evidence
If fewer than sixteen packets were lost between the two observed A packets, the 0-to-2 transition identifies exactly one missing packet under our assumptions. Remove that bound and the same counter difference fits 1, 17, 33 or more losses, increasing by sixteen each time. Even an apparently normal 6-to-7 transition could hide sixteen missing packets. A small wrapping counter cannot encode an unlimited missing count; the bound is part of the answer.
ETSI’s continuity indicator combines several possible symptoms rather than identifying a single cause. A receiver capture therefore cannot by itself locate a fault in the spacecraft. Compare synchronized captures before transmission and after recovery, inspect the capture tool’s own losses, and apply the full format rules before diagnosing equipment. Demand overload, radio distortion and transport symptoms occupy different boundaries. Connecting those boundaries with evidence is what turns a broadcast description into a useful engineering explanation.
A packet count needs a boundary and a loss bound
Original capture and trace. No adaptation fields in the byte calculation. For the counter example, source counters increment correctly, all packets carry payload, arrival order is preserved, and loss is the only fault: no duplicates, resets or signaled discontinuities. Without the bound, 1, 17, 33 or more missing A packets fit the same step.
Open full-size diagram in a new tab: A packet count needs a boundary and a loss boundCheck 3 of 3
10 pointsUse the reading above. You can try again without losing points.
Put it together
Your lesson progress
Each check connects to a part of the story. Complete all 3 to earn your 25-point lesson bonus.
Explore further · Optional
Go to the source
Explore the evidence behind this lesson. These optional readings and videos open in a new tab.
- Read: ITU-T H.222.0: transport packets and continuity countersJuly 1995 edition, sections 2.4.3.2–2.4.3.3, printed pages 18–20. Read the counter exceptions alongside the normal increment rule; the course trace is invented.
- Read: ETSI TR 101 290: measuring digital broadcast systemsJune 2020 edition: section 5.2.1 and Annex J distinguish transport diagnostics and bitrate definitions. The probability tables and rates in this course are original exercises.