Is it possible for AVCodecContext 's reordered_opaque to be exactly the same for 3 or 4 consecutive frames when packet's pts is fed in it ? Is it because of B frames? I am seeing this, in this case how does one re-orders the pics to render? Ratin