[Libav-user] "no picture" from decoding single h264 keyframe

Andrey Utkin andrey.krieger.utkin at gmail.com
Thu Apr 3 11:18:48 CEST 2014

2014-04-03 11:24 GMT+03:00 Dídac Pérez <perez.didac at gmail.com>:
> Hi Andrey,
> PLEASE: I am not sure what I am about to say (better if somebody can correct
> me).
> I think that if you try to decode a AVPacket it may not return the actual
> packet, but the previous one. This is because the bidirectional prediction.
> This means that maybe you will decode the AVPacket with the keyframe in the
> next iteration using the next AVPacket.

Ok, i understand that decoding more will solve the problem, but it
don't understand why the AVPacket is marked as keyframe then, and i
don't know what exactly is the kind of frame which gives such
situation (packet is marked as keyframe, but decoding doesn't give a

Andrey Utkin

More information about the Libav-user mailing list