Merge pull request #774 in FS/freeswitch from ~O_EMILIANO/freeswitch:feature/mod_av-h264-tweak to master

* commit '2b189d9079e55fd7fdf4f913e37513e8cb37f537':
  FS-XXXX: [mod_av] tweak of parameters in h264 encoding
This commit is contained in:
Anthony Minessale II 2016-03-30 14:10:52 -05:00
commit 94d2018991
1 changed files with 2 additions and 1 deletions

View File

@ -937,12 +937,13 @@ FF_ENABLE_DEPRECATION_WARNINGS
context->encoder_ctx->flags|=CODEC_FLAG_LOOP_FILTER; // flags=+loop
context->encoder_ctx->me_cmp|= 1; // cmp=+chroma, where CHROMA = 1
context->encoder_ctx->me_range = 16; // me_range=16
context->encoder_ctx->me_range = 21; // me_range=16
context->encoder_ctx->max_b_frames = 3; // bf=3
//context->encoder_ctx->refs = 3; // refs=3
context->encoder_ctx->gop_size = 250; // g=250
context->encoder_ctx->keyint_min = 25; // keyint_min=25
context->encoder_ctx->i_quant_factor = 0.71; // i_qfactor=0.71
context->encoder_ctx->b_quant_factor = 0.76923078; // Qscale difference between P-frames and B-frames.
context->encoder_ctx->qcompress = 0.6; // qcomp=0.6
context->encoder_ctx->qmin = 10; // qmin=10
context->encoder_ctx->qmax = 51; // qmax=51