胡斌

set gop size to 20

@@ -234,6 +234,7 @@ int CAVTranscoder::open_output_file(const char *filename) @@ -234,6 +234,7 @@ int CAVTranscoder::open_output_file(const char *filename)
234 /* video time_base can be set to whatever is handy and supported by encoder */ 234 /* video time_base can be set to whatever is handy and supported by encoder */
235 enc_ctx->time_base.num = 1; 235 enc_ctx->time_base.num = 1;
236 enc_ctx->time_base.den = 20; 236 enc_ctx->time_base.den = 20;
  237 + enc_ctx->gop_size = 20;
237 238
238 enc_ctx->me_range = 16; 239 enc_ctx->me_range = 16;
239 enc_ctx->max_qdiff = 4; 240 enc_ctx->max_qdiff = 4;