<francesco at ...> writes: > In the code (avcodec.h )I found that the CODEC_FLAG_CLOSED_GOP > is under the flags for h263 codec. May be that the closed gop > option is unsuported for MPEG2 ? It is supported but it needs scenechange_threshold of at least 1000000000 Carl Eugen >