正在显示
1 个修改的文件
包含
1 行增加
和
0 行删除
| @@ -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; |
-
请 注册 或 登录 后发表评论