Skip to content

splitmux: Avoid negative DTS

In order to concatenate fragments, splitmuxsrc offsets the start of each fragment PTS to 0 to align it with the previous file. This means that DTS can go negative for the first fragment, with really bad results.

Add a fixed offset to outgoing timestamp ranges to avoid that.

Merge request reports

Loading