Hi to all I am using libavcodec in order to compress in mpeg2 xdcam (4:2:2, long gop). How can I set the distance, in the GOP, between two anchor frames, (that is the M parameter of the GOP structure) ? regards