DJI_lover
DJI_lover

Reputation: 61

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

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?

Upvotes: 1

Views: 1945

Answers (1)

szatmary
szatmary

Reputation: 31100

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.

Upvotes: 2

Related Questions