Zanelli Franco <fzanelli at ...> writes: > int got_picture; > int len = avcodec_decode_video2(codecCtx, avFrame, &got_picture, avPacket); > > at this point, is it possible to get the input frame type (intra, P or B > frame)? Did you try to read avFrame->pict_type ? Carl Eugen