aboutsummaryrefslogtreecommitdiffhomepage
path: root/DOCS
diff options
context:
space:
mode:
authorGravatar michael <michael@b3059339-0415-0410-9bf9-f77b7e298cf2>2006-11-13 15:23:45 +0000
committerGravatar michael <michael@b3059339-0415-0410-9bf9-f77b7e298cf2>2006-11-13 15:23:45 +0000
commit865cb2fbf2e5cd9c6edf0554ca78226e8ec905cf (patch)
tree8111aaddab562727dba62367dc8bc5a98422b9fb /DOCS
parente7925a4480ea223d8c9477a7f162ebd85d2f6edb (diff)
pts definition by mans
dts definition and decode_delay definition by me git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@20886 b3059339-0415-0410-9bf9-f77b7e298cf2
Diffstat (limited to 'DOCS')
-rw-r--r--DOCS/tech/nut.txt16
1 files changed, 12 insertions, 4 deletions
diff --git a/DOCS/tech/nut.txt b/DOCS/tech/nut.txt
index dcf6613bcc..8f3bf6a49e 100644
--- a/DOCS/tech/nut.txt
+++ b/DOCS/tech/nut.txt
@@ -68,6 +68,11 @@ keyframe
keyframe status of the current frame but instead just set the frame as
non keyframe
(FIXME maybe move somewhere else?)
+pts
+ presentation time of the first frame/sample that is completed by decoding
+ the coded frame.
+dts
+ of a frame is the time when it is input into the decoder
Syntax:
@@ -542,10 +547,13 @@ msb_pts_shift
MUST be <16
decode_delay
- maximum time between input and output for a codec, used to generate
- dts from pts
- is set to 0 for streams without B-frames, and set to 1 for streams with
- B-frames, may be larger for future codecs
+ size of the reordering buffer used to convert pts to dts
+ codecs which dont support b frames normaly use 0
+ mpeg1/mpeg2 style codecs with b frames use 1
+ h264 style b pyramid uses 2
+ h264 and future codecs might need values >2
+ audio codecs generally use 0 (we arent aware of any which doesnt
+ but its theoretically possible that one exists which needs it >0)
decode_delay MUST NOT be set higher than necessary for a codec.
stream_flags