π Duplicate Packet Detection
The Duplicate Packet Detection test looks for repeated MPEG-TS packets on the same PID.

A packet is reported as a duplicate when the current packet matches the previous payload-bearing packet on that PID in all of these fields:
- PID
- continuity counter
- payload bytes
This catches the common case where a transport packet is repeated twice in succession.
Each finding is stored with the byte offset and packet index of the repeated packet, and the chart plots those duplicate packet locations across the file.
β Pass Criteriaβ
The test passes when no duplicate MPEG-TS packets are detected in the file.
Application result message:
No duplicate MPEG-TS packets were detected.
β Fail Criteriaβ
The test fails when one or more duplicate MPEG-TS packets are detected.
Typical causes include:
- Packet duplication during muxing or remuxing
- Repeated packet output caused by transport or buffering faults
- File corruption that caused TS packets to be written twice
Application result message:
<n> duplicate packets were detected.
Exampleβ
Here a chart that shows a duplicate packets detection.

Test fileβ
- mpegts-duplicate-packets.ts