<div dir="ltr">Hi to all,<div><br></div><div style>I would like to encode MPEG-2 video with closed GOP of 12 frames, and a structure like IBBPBBPBBPBB.</div><div style>For doing this, I am using these options :</div><b>-g 12</b> to set the GOP size<br><b>-bf 2</b> to set the max B frames between reference frames<br><b>-flags +cgop</b> to use Closed GOP <br><div style><b>-sc_threshold 1000000000</b> to disable scene change detection</div><div style><br></div><div style>However, the result is a GOP of 10 frames IBBPBBPBBP, with two missing B frames.</div><div style><br></div><div style>How can I do to fix this ? Is there something missing ?</div><div style><br></div><div style>It seems that a "strict_gop" parameter (or "sgop" flag) used to exist in former versions of ffmpe to enforce GOP size. Is there an equivalent nowadays ?</div><div style><br></div><div style>Thanks.</div><div style> </div><div style>Valentin</div></div>