Mercurial > mplayer.hg
changeset 20780:e8cd0590bf97
dts, width/height explanation
author | michael |
---|---|
date | Wed, 08 Nov 2006 19:04:48 +0000 |
parents | 1721569b4d7d |
children | cbbb40544f3d |
files | DOCS/tech/nut.txt |
diffstat | 1 files changed, 6 insertions(+), 0 deletions(-) [+] |
line wrap: on
line diff
--- a/DOCS/tech/nut.txt Wed Nov 08 18:57:40 2006 +0000 +++ b/DOCS/tech/nut.txt Wed Nov 08 19:04:48 2006 +0000 @@ -644,6 +644,11 @@ all pts's of keyframes of a single stream MUST be monotone dts + decoding timestamp + the dts of a frame is the timestamp of the first sample which is + output by a decoder when it is feeded with the frame, note that the + data output is not neccesarily what is coded in the frame, but may + be data from previous frames dts is calculated by using a decode_delay+1 sized buffer for each stream, into which the current pts is inserted and the element with the smallest value is removed, this is then the current dts @@ -654,6 +659,7 @@ frames are NOT exempt from this rule) width/height + width and height of the video in pixels MUST be set to the coded width/height, MUST NOT be 0 sample_width/sample_height (aspect ratio)