[Mplayer-cvslog] CVS: main/DOCS/tech mpcf.txt,1.12,1.13

Michael Niedermayer CVS michael at mplayerhq.hu
Sat Feb 8 19:50:21 CET 2003


Update of /cvsroot/mplayer/main/DOCS/tech
In directory mail:/var/tmp.root/cvs-serv5905

Modified Files:
	mpcf.txt 
Log Message:
changing name to "nut" for now, we can change it again if we agree on something else
index_flag so the demuxer knows if the index is missing and doesnt need to search for it
adding start/end_stream_id to the info packet so it can cover individual streams too


Index: mpcf.txt
===================================================================
RCS file: /cvsroot/mplayer/main/DOCS/tech/mpcf.txt,v
retrieving revision 1.12
retrieving revision 1.13
diff -u -r1.12 -r1.13
--- mpcf.txt	8 Feb 2003 09:07:13 -0000	1.12
+++ mpcf.txt	8 Feb 2003 18:50:18 -0000	1.13
@@ -1,4 +1,4 @@
-		MPlayer container format draft 0.01
+		nut format draft 0.02
 
 
                 
@@ -91,7 +91,8 @@
 	lsb_timestamp_length			v
 	fixed_fps				u(1)
 	codec_specific_header_flag		u(1)
-	reserved				u(6)
+	index_flag				u(1)
+	reserved				u(5)
 
 video_stream_header:
 	stream_header
@@ -155,6 +156,8 @@
 	info_startcode				f(64)
 	start_time				v
 	end_time				v
+	start_stream_id				v
+	end_stream_id				v
 	for(;;){
 		type				b
 		if(type=="") break;
@@ -204,6 +207,10 @@
 
 length_in_msec
 	length of the file in milli seconds (can be 0 if realtime or such)
+ 
+index_flag
+	1 indicates that this file has an index
+	Note, all files MUST have an index at the end except, (realtime) streams 
 
 stream_id
 	Note: streams with a lower relative class MUST have a lower relative id
@@ -330,14 +337,25 @@
 	the time range in msecs to which the info applies
 	Note: can be used to mark chapters
 
+start_stream_id / end_stream_id
+	the stream(s) to which the info packet applies
+        
 type
 	the fourcc of the type
-	for example: "STR " -> String or "JPEG" -> jpeg image
+	for example: "UTF8" -> String or "JPEG" -> jpeg image
 	0 length means end
 
 name
 	the name of the info entry, valid names are
-	"Author","Description","Copyright","Encoder","Title","CDCover"
+	"Author"
+	"Description"
+	"Copyright"
+	"Encoder"	the name& version of the software used for encoding
+	"Title"
+	"CDCover"	an image of he cd cover (preferable PNG or JPEG)
+	"Source"	"DVD", "VCD", "CD", "MD", "FM radio", "VHS", "PAL-TV", 
+			"NTSC-TV", "LD"
+	"CaptureDevice"	"BT878", "BT848", ... (more exact names are fine too)
 	Note: if someone needs some others, please tell us about them, so we can
 	      add them to the official standard (if they are sane)
 



More information about the MPlayer-cvslog mailing list