There is no such thing as duration in PGS. Each caption has a presentation (decode) timestamp and remain on screen until a new presentation empties the graphics plane.
So, if you take the SUP from a given video, slice out (properly) a portion of the raw data then mux it back to the same untouched, video stream, the removed portion will either:
• Display the last shown subtitle (missing plane clear segment)
• Show nothing (the desired behaviour, properly sliced)
I don't know how you generated your two files but it sounds like sub2.sup has modified timestamps in the stream.
|