summaryrefslogtreecommitdiffstats
path: root/DOCS
diff options
context:
space:
mode:
authormichael <michael@b3059339-0415-0410-9bf9-f77b7e298cf2>2006-11-08 19:04:48 +0000
committermichael <michael@b3059339-0415-0410-9bf9-f77b7e298cf2>2006-11-08 19:04:48 +0000
commit2434d5f7c2b47ababf780527def839c96ce2ec7c (patch)
treebc322fbda31822a8aecb4a98b2e3863cdeb8cb94 /DOCS
parent60d29dbd7134bf31db0403b3dc2cabe21e9569ee (diff)
downloadmpv-2434d5f7c2b47ababf780527def839c96ce2ec7c.tar.bz2
mpv-2434d5f7c2b47ababf780527def839c96ce2ec7c.tar.xz
dts, width/height explanation
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@20796 b3059339-0415-0410-9bf9-f77b7e298cf2
Diffstat (limited to 'DOCS')
-rw-r--r--DOCS/tech/nut.txt6
1 files changed, 6 insertions, 0 deletions
diff --git a/DOCS/tech/nut.txt b/DOCS/tech/nut.txt
index 5b16f74cdd..b4bdb93e9f 100644
--- a/DOCS/tech/nut.txt
+++ b/DOCS/tech/nut.txt
@@ -644,6 +644,11 @@ lsb_pts
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 @@ dts
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)