<francesco at ...> writes: > Did anyone compress in MPEG2 using CODEC_FLAG_CLOSED_GOP ? > It works ? If I set this flag the avcodec_open2 function returns -1. Wasn't an error shown explaining the reason? Carl Eugen