comparison mpegvideo.h @ 1126:77ccf7fe3bd0 libavcodec

per context frame_rate_base, this should finally fix frame_rate related av sync issues
author michaelni
date Wed, 12 Mar 2003 15:16:19 +0000
parents d4096635b7b9
children e10e841c9bf0
comparison
equal deleted inserted replaced
1125:0980ae063f4e 1126:77ccf7fe3bd0
190 typedef struct MpegEncContext { 190 typedef struct MpegEncContext {
191 struct AVCodecContext *avctx; 191 struct AVCodecContext *avctx;
192 /* the following parameters must be initialized before encoding */ 192 /* the following parameters must be initialized before encoding */
193 int width, height;///< picture size. must be a multiple of 16 193 int width, height;///< picture size. must be a multiple of 16
194 int gop_size; 194 int gop_size;
195 int frame_rate; ///< number of frames per second
196 int intra_only; ///< if true, only intra pictures are generated 195 int intra_only; ///< if true, only intra pictures are generated
197 int bit_rate; ///< wanted bit rate 196 int bit_rate; ///< wanted bit rate
198 int bit_rate_tolerance; ///< amount of +- bits (>0) 197 int bit_rate_tolerance; ///< amount of +- bits (>0)
199 enum OutputFormat out_format; ///< output format 198 enum OutputFormat out_format; ///< output format
200 int h263_pred; ///< use mpeg4/h263 ac/dc predictions 199 int h263_pred; ///< use mpeg4/h263 ac/dc predictions