[Mplayer-cvslog] CVS: main/DOCS/tech mpcf.txt,1.7,1.8
Michael Niedermayer CVS
michael at mplayerhq.hu
Fri Feb 7 12:20:55 CET 2003
Update of /cvsroot/mplayer/main/DOCS/tech
In directory mail:/var/tmp.root/cvs-serv28065
Modified Files:
mpcf.txt
Log Message:
zero_bit for normal frames, so we can distinguish them from other packets
Index: mpcf.txt
===================================================================
RCS file: /cvsroot/mplayer/main/DOCS/tech/mpcf.txt,v
retrieving revision 1.7
retrieving revision 1.8
diff -u -r1.7 -r1.8
--- mpcf.txt 7 Feb 2003 09:48:06 -0000 1.7
+++ mpcf.txt 7 Feb 2003 11:20:35 -0000 1.8
@@ -123,12 +123,13 @@
if(keyframe){
keyframe_startcode f(64)
}
- lsb_timestamp v
- stream_id v
+ zero_bit f(1)
priority u(2)
checksum_flag u(1)
msb_timestamp_flag u(1)
- reserved u(4)
+ reserved u(3)
+ lsb_timestamp v
+ stream_id v
if(msb_timestamp_flag)
msb_timestamp v
bitstream
@@ -256,6 +257,11 @@
depth
for compatibility with some win32 codecs
+zero_bit
+ MUST be 0, its there to distinguish non keyframes from other packets,
+ Note: all packets have a 64-bit startcode except non-keyframes to reduce
+ their size, and all startcodes start with a 1 bit
+
priority
if 0 then the frame isnt used as reference (b frame) and can be droped
MUST be > 0 for keyframes
@@ -325,6 +331,7 @@
Index
the index can be repeated but there MUST be at least one at the end
+Note: in case of realtime streaming there is no end, so no index there either
Info packets
the info_packet can be repeated, it can also contain different names & values
More information about the MPlayer-cvslog
mailing list