AVCodecContext.gop_size

the number of pictures in a group of pictures, or 0 for intra_only - encoding: Set by user. - decoding: unused

struct AVCodecContext
int gop_size;

Meta