[FFmpeg-devel] [RFC][PATCH] ticks_per_frame / timebase
Thu Feb 26 15:37:53 CET 2009
On Thu, Feb 26, 2009 at 03:15:09PM +0100, Michael Niedermayer wrote:
> @@ -2322,6 +2322,15 @@
> * - decoding: Set by libavcodec
> struct AVHWAccel *hwaccel;
> + /**
> + * For some codecs, the time base is closer to the field rate than the frame rate.
> + * Most notably, H.264 and MPEG-2 specify time_base as half of frame duration
> + * if no telecine is used ...
> + *
> + * Set to time_base ticks per frame. Default 1, e.g., H.264/MPEG-2 set it to 2.
> + */
Maybe it would be good to note e.g. what differentiates r_frame_rate from
time_base / ticks_per_frame
More information about the ffmpeg-devel