Mercurial > mplayer.hg
comparison DOCS/tech/mpcf.txt @ 17771:af02066c0706
remove info streams
add new rules
awaiting flames and comments
author | michael |
---|---|
date | Wed, 08 Mar 2006 12:37:10 +0000 |
parents | a0d4f253e82b |
children | 1783a290fdf4 |
comparison
equal
deleted
inserted
replaced
17770:30f0556f071e | 17771:af02066c0706 |
---|---|
275 }else{ | 275 }else{ |
276 type= "v" | 276 type= "v" |
277 } | 277 } |
278 } | 278 } |
279 | 279 |
280 info_frame: | |
281 info_packet | |
282 packet_footer | |
283 | |
284 syncpoint: | 280 syncpoint: |
285 coded_pts v | 281 coded_pts v |
286 stream = coded_pts % stream_count | 282 stream = coded_pts % stream_count |
287 global_key_pts = coded_pts/stream_count | 283 global_key_pts = coded_pts/stream_count |
288 back_ptr_div8 v | 284 back_ptr_div8 v |
418 | 414 |
419 stream_class | 415 stream_class |
420 0 video | 416 0 video |
421 1 audio | 417 1 audio |
422 2 subtiles | 418 2 subtiles |
423 3 metadata | |
424 4 userdata | 419 4 userdata |
425 in metadata streams each frame contains exactly one info frame | |
426 Note: the remaining values are reserved and MUST NOT be used | 420 Note: the remaining values are reserved and MUST NOT be used |
427 a demuxer MUST ignore streams with reserved classes | 421 a demuxer MUST ignore streams with reserved classes |
428 | 422 |
429 fourcc | 423 fourcc |
430 identification for the codec | 424 identification for the codec |
762 | 756 |
763 | 757 |
764 Info: | 758 Info: |
765 ----- | 759 ----- |
766 | 760 |
767 All info packets with the same chapter_id and stream_id are repeated info | 761 If a info packet is stored anywhere then a muxer MUST also store an identical |
768 packets and MUST be binary identical. | 762 info packet after every main-stream-header set |
769 | 763 |
770 All info packets MUST appear after main headers at begginning of file, and | 764 If a demuxer has seen several info packets with the same chapter_id and |
771 SHOULD be repeated after all main headers unless they are very large. | 765 stream_id then it MUST ignore all but the one with the highest position in |
772 | 766 the file |
773 Info frames can be used to describe the file or some part of it (chapters) | 767 |
774 | 768 demxuxers SHOULD not search the whole file for info packets |
775 Info SHOULD be stored in global packets instead of info streams/frames if | |
776 possible, and the amount of data is not large. | |
777 | |
778 If 2 info frames have the same chapter_id and stream_id then the earlier | |
779 MUST be ignored (the last info frame is the most correct, this allows | |
780 updating or correcting info) | |
781 | |
782 Info frames MUST be keyframes | |
783 | 769 |
784 demuxer (non-normative): | 770 demuxer (non-normative): |
785 ------------------------ | 771 ------------------------ |
786 | 772 |
787 in the absence of a valid header at the beginning, players SHOULD search for | 773 in the absence of a valid header at the beginning, players SHOULD search for |