Questons about the relation of PTS and DTS in H.264

1.4k Views Asked by At

Why is PTS = DTS when there is no B frame in H264?

Why is DTS not always smaller than PTS, because decoding takes time, even if PTS - DTS is a very small number?

I think the frame must be decoded before playing or is there something wrong with my understanding?

1

There are 1 best solutions below

2
szatmary On

Because there is no reason to do so. PTS would always equal DTS plus some constant. So it would add data to the stream, without adding any information.