[linux-dvb] PTS/DTS clarification (Was: How to convert MPEG-TS to MPEG-PS on the fly?)
jw at raven.inka.de
Fri Aug 29 17:45:43 CEST 2008
On Wed, Aug 27, 2008 at 12:45:19AM +0200, Josef Wolf wrote:
> BTW: what is the DTS good for? Isn't PTS the relevant time for playbacK?
> What difference does it make when a frame was decoded as long as it
> is presented at the correct time?
> And what is the SCRB good for? I am totally confused by all those
I have found a good reading on
This reading is much more comprehensive than the iso-13818-1. Page 47
explains PTS/DTS. In a nutshell, DTS is needed because of bidirectional
video encoding. As an example, pictures can be presented in order IBBP,
but for decoding the order would be IPBB because the B pictures depend
on the I and P pictures. Since decoders can decode only one picture at
a time, DTS is used to signal that decoding have to be done in a
different order than presentation.
So now my understanding is that for determining packet order in the PS,
DTS has to be used if it exists. If no DTS exists, then PTS is to be
Guess, my understanding is still wrong. But I need a starting point
from which I can remove errors step by step ;-)
More information about the linux-dvb