changeset 10817:59ac254c2541

some updates
author alex
date Fri, 05 Sep 2003 18:45:12 +0000
parents e9dc9b0b16fa
children fa41f83edff0
files DOCS/tech/mpcf.txt
diffstat 1 files changed, 9 insertions(+), 11 deletions(-) [+]
line wrap: on
line diff
--- a/DOCS/tech/mpcf.txt	Fri Sep 05 16:04:40 2003 +0000
+++ b/DOCS/tech/mpcf.txt	Fri Sep 05 18:45:12 2003 +0000
@@ -1,4 +1,5 @@
-		nut format draft 0.02
+		NUT Open Container Format DRAFT 20030906
+		----------------------------------------
 
 
                 
@@ -114,7 +115,6 @@
 	sample_width				v
 	sample_height				v
 	colorspace_type				v
-	depth					v
 	reserved_bytes
 	checksum				u(32)
 
@@ -227,10 +227,10 @@
 	0 for now
 
 file_size
-	size in bytes, can be 0 if not meaningfull (realtime streams, ...)
+	size in bytes. 0 invalidates the field
 
 length_in_msec
-	length of the file in milli seconds (can be 0 if realtime or such)
+	length of the file in milli seconds (0 invalidates the field)
  
 stream_id
 	Note: streams with a lower relative class MUST have a lower relative id
@@ -248,9 +248,9 @@
 fourcc
 	identification for the codec
 	example: "H264"
-	MUST contain 4 bytes, note, this might be increased in the future if
-	needed
-        
+	MUST contain 2 or 4 bytes, note, this might be increased in the future
+	if needed
+      
 language_code 
 	ISO 639 and ISO 3166 for language/country code
 	something like "usen" (US english), can be 0
@@ -289,7 +289,7 @@
 	Note, all streams SHOULD have an index
 
 codec_specific_data_type
-	0	end
+	0	none/end
 	1	native
 	2	bitmapinfoheader
 	3	waveformatex
@@ -371,9 +371,6 @@
 	sample_width and sample_height MUST be relative prime if not zero
 	MUST be 0 if unknown
         
-depth
-	for compatibility with some win32 codecs
-
 colorspace_type
 	0	unknown
 	1	ITU Rec 624 / ITU Rec 601 Y range: 16..235 Cb/Cr range: 16..240
@@ -494,6 +491,7 @@
 and repeated headers MUST be identical
 
 headers MUST be repeated every 10sec at least ? FIXME
+headers MUST be repeated BEFORE keyframes
 headers MUST be repeated at least twice (so they exist 3 times in a file)
 
 		Index