In latest version of libavcodec library the CODEC_FLAG2_STRICT_GOP flag is not present. There is an equivalent ? The results is that with the same settings the GOP now has a size of 10 instead of 12. regards Francesco