修改ffmpeg->libavcodec->libx265.c
ctx->params->bOpenGOP = 0; //可不要ctx->params->keyframeMax = avctx->gop_size;