[MPlayer-DOCS] CVS: main/DOCS/tech mpcf.txt,1.48,1.49

Michael Niedermayer CVS syncmail at mplayerhq.hu
Wed Apr 21 01:00:30 CEST 2004


CVS change done by Michael Niedermayer CVS

Update of /cvsroot/mplayer/main/DOCS/tech
In directory mail:/var2/tmp/cvs-serv7848/tech

Modified Files:
	mpcf.txt 
Log Message:
file_id_string (idea by ivan)
remove 0byte skiped frames (idea by rich)
file structure


Index: mpcf.txt
===================================================================
RCS file: /cvsroot/mplayer/main/DOCS/tech/mpcf.txt,v
retrieving revision 1.48
retrieving revision 1.49
diff -u -r1.48 -r1.49
--- mpcf.txt	20 Apr 2004 17:58:24 -0000	1.48
+++ mpcf.txt	20 Apr 2004 23:00:28 -0000	1.49
@@ -201,11 +201,31 @@
 	reserved_bytes
         checksum				u(32)
         
+file
+	file_id_string
+	while(!eof){
+		main_header
+		for(i=0; i<stream_count; i++){
+			if(next_packet==video_stream_header)
+				video_stream_header
+			else
+				audio_stream_header
+		}
+		while(next_packet != main_header){
+			if(next_packet == info_packet)
+				info_packet
+			else
+				frame
+		}
+//FIXME index
+	}
                 
 forward_ptr
 	size of the packet (exactly the distance from the first byte of the
 	startcode of the current packet to the first byte of the following packet
-	Note: a frame with 0 bytes means that its skiped
+
+file_id_string
+	"nut/multimedia container\0"
 
 *_startcode
         all startcodes start with 'N'




More information about the MPlayer-DOCS mailing list