diff options
author | michael <michael@b3059339-0415-0410-9bf9-f77b7e298cf2> | 2006-03-10 14:10:07 +0000 |
---|---|---|
committer | michael <michael@b3059339-0415-0410-9bf9-f77b7e298cf2> | 2006-03-10 14:10:07 +0000 |
commit | 7f157e2d58cfbf922eb92b83f44058ac6f44964e (patch) | |
tree | c61582bcb604bc22c13bc777a3288402339b6b7b /DOCS/tech/mpcf.txt | |
parent | f25911feec1640f59ae542505813f064985c1b81 (diff) | |
download | mpv-7f157e2d58cfbf922eb92b83f44058ac6f44964e.tar.bz2 mpv-7f157e2d58cfbf922eb92b83f44058ac6f44964e.tar.xz |
universal timestamp (= stream_id + timestamp in stream timebase)
-> simplify
add that thing to info packets as type too
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@17797 b3059339-0415-0410-9bf9-f77b7e298cf2
Diffstat (limited to 'DOCS/tech/mpcf.txt')
-rw-r--r-- | DOCS/tech/mpcf.txt | 28 |
1 files changed, 14 insertions, 14 deletions
diff --git a/DOCS/tech/mpcf.txt b/DOCS/tech/mpcf.txt index eabc152bf2..6bd103a151 100644 --- a/DOCS/tech/mpcf.txt +++ b/DOCS/tech/mpcf.txt @@ -103,6 +103,10 @@ vb (variable length binary data or string) length v value b +t (v coded universal timestamp) + tmp v + stream_id= tmp % stream_count + value= (tmp / stream_count) * stream[ stream_id ].timebase Bitstream syntax: @@ -209,7 +213,7 @@ frame: data index: - max_pts v + max_pts t syncpoints v for(i=0; i<syncpoints; i++){ syncpoint_pos_div8 v @@ -253,7 +257,7 @@ last 8 reserved_bytes of index: info_packet: stream_id_plus1 v chapter_id v - chapter_start v + chapter_start t chapter_len v count v for(i=0; i<count; i++){ @@ -268,9 +272,12 @@ info_packet: }else if (value==-3){ type= "s" value s - }else if (value<-3){ + }else if (value==-4){ + type= "t" + value t + }else if (value<-4){ type= "r" - value.den= -value-3 + value.den= -value-4 value.num s }else{ type= "v" @@ -278,10 +285,7 @@ info_packet: } syncpoint: - coded_pts v - stream = coded_pts % stream_count - global_key_pts = coded_pts/stream_count - back_ptr_div8 v + global_key_pts t Complete definition: @@ -619,9 +623,7 @@ Index tags: ----------- max_pts - s = max_pts % stream_count - pts = max_pts / stream_count - The highest pts in the entire file in the timebase of stream 's' . + The highest pts in the entire file syncpoint_pos_div8 offset from begginning of file to up to 7 bytes before the syncpoint @@ -664,9 +666,7 @@ chapter_id file chapter_start - s= chapter_start % stream_count - timestamp= chapter_start / stream_count - timestamp of start of chapter in timebase of stream 's'. + timestamp of start of chapter chapter_len Length of chapter in same timebase of chapter_start. |