[Mplayer-cvslog] CVS: main/DOCS/tech mpcf.txt,1.3,1.4

Michael Niedermayer CVS michael at mplayerhq.hu
Thu Feb 6 19:03:40 CET 2003


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

Modified Files:
	mpcf.txt 
Log Message:
use fraction for time_base


Index: mpcf.txt
===================================================================
RCS file: /cvsroot/mplayer/main/DOCS/tech/mpcf.txt,v
retrieving revision 1.3
retrieving revision 1.4
diff -u -r1.3 -r1.4
--- mpcf.txt	6 Feb 2003 17:46:23 -0000	1.3
+++ mpcf.txt	6 Feb 2003 18:03:11 -0000	1.4
@@ -85,7 +85,8 @@
 	fourcc					v
 	average_bitrate				v
 	language_code				v
-	time_base				v
+	time_base_nom				v
+	time_base_denom				v
 	lsb_timestamp_length			v
 	fixed_fps				u(1)
 	codec_specific_header_flag		u(1)
@@ -191,10 +192,17 @@
 	something like 'u'<<24 + 's'<<16 + 'e'<<8 + 'n' (US english), can be 0
 	if unknown
 
-time_base
+time_base_nom / time_base_denom = time_base
 	the number of timer ticks per second, this MUST be equal to the fps
 	if the fixed_fps is 1
-	MUST be < 2^15
+	time_base_denom MUST not be 0
+	time_base_nom and time_base_denom MUST be relative prime
+	time_base_nom MUST be < 2^15
+	examples:
+        	fps	time_base_nom	time_base_denom
+		30	30		1
+		29.97	30000		1001
+		23.976	24000		1001
 
 lsb_timestamp_length
 	length in bits of the lsb_timestamp



More information about the MPlayer-cvslog mailing list