Media formats
MPEG-TS continuity check
Check counter progression across supplied 188-byte transport-stream packets.
Your inputs
Start with an exampleYour result
Example resultAa — A small example of your colors.
How it works
Increment the expected counter modulo 16 only for packets with payload. Honor discontinuity indicators; allow one repeated payload packet with matching bytes, excluding PCR bytes.
The example wraps 14→15→0, holds 0 for an adaptation-only packet, then advances to 1 with no continuity issue.
Limits
Complete 188-byte packets, up to 1 MB. No M2TS/FEC framing or resynchronization. Transport-error packets reset the baseline; null PID packets are excluded. A counter check cannot reveal every loss, verify CRCs, prove decoder health or certify TR 101 290 compliance.