[FFmpeg-devel] [PATCH 1/3] avcodec/libx265: apply some global AVCodecContext settings to the encoder context

Derek Buitenhuis derek.buitenhuis at gmail.com
Mon Dec 30 19:06:04 EET 2019


On 28/12/2019 23:55, James Almer wrote:
> +    if (avctx->gop_size >= 0)
> +        ctx->params->keyframeMax = avctx->gop_size;

For this patch and the others, you should call x265_param_parse with the
correct key for these (kind of how librav1e.c does). x265 is not great at
struct ABI compatability, and this function is always part of the ABI.

- Derek


More information about the ffmpeg-devel mailing list