Skip to main content

πŸ— Duplicate Packet Detection

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

Duplicate packet illustration

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.

Duplicate packets chart

Test file​

  • mpegts-duplicate-packets.ts