[Ffmpeg-cvslog] CVS: ffmpeg output_example.c,1.16,1.17

Michael Niedermayer CVS michael
Mon Aug 22 00:31:04 CEST 2005


Update of /cvsroot/ffmpeg/ffmpeg
In directory mail:/var2/tmp/cvs-serv9599

Modified Files:
	output_example.c 
Log Message:
time_base description by Rich Felker | dalias, aerifal cx


Index: output_example.c
===================================================================
RCS file: /cvsroot/ffmpeg/ffmpeg/output_example.c,v
retrieving revision 1.16
retrieving revision 1.17
diff -u -d -r1.16 -r1.17
--- output_example.c	23 Jul 2005 15:43:07 -0000	1.16
+++ output_example.c	21 Aug 2005 22:31:01 -0000	1.17
@@ -199,7 +199,10 @@
     /* resolution must be a multiple of two */
     c->width = 352;  
     c->height = 288;
-    /* frames per second */
+    /* time base: this is the fundamental unit of time (in seconds) in terms
+       of which frame timestamps are represented. for fixed-fps content,
+       timebase should be 1/framerate and timestamp increments should be
+       identically 1. */
     c->time_base.den = STREAM_FRAME_RATE;  
     c->time_base.num = 1;
     c->gop_size = 12; /* emit one intra frame every twelve frames at most */





More information about the ffmpeg-cvslog mailing list