Skip to main content

PCR / PTS / DTS changes

Shift clock and presentation/decode timestamps carried in selected TS packets. Use this to introduce timing offsets or timestamp instability without delaying network delivery.

With a 100 ms offset and zero jitter, a PTS of 90,000 ticks becomes 99,000 ticks. Its delivery deadline stays at 20 ms.

SettingDefaultRangeEffect
Probability (%)10–100Chance of editing each matching TS packet.
PID (-1 = all)-1-1–8191, integerTarget one PID or allow all PIDs.
Timestamp offset (ms)100-60000–60000Fixed shift; positive moves timestamps later, negative earlier.
Timestamp jitter (ms)00–60000Maximum random variation either side of the offset.

Each selected packet uses the offset plus a uniformly distributed variation between minus and plus the jitter value. Only timestamps that can be parsed in that packet are changed. For example, offset 100 ms and jitter 20 ms produce shifts from 80 to 120 ms. Use Delay or Jitter to change delivery timing.

Return to MPEG TS.