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

cyril poulet xenosender at gmail.com
Thu Apr 3 11:33:49 CEST 2014


I'm no expert, but it would not surprise me much if the flag indicated only
the beginning of the key frame, and not that it contains an entire key
frame...
Also, I'm not sure that you can really rely on it, the AVFrame->pict_type
is much more reliable


2014-04-03 11:18 GMT+02:00 Andrey Utkin <andrey.krieger.utkin at gmail.com>:

> 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
> picture).
>
> --
> Andrey Utkin
> _______________________________________________
> Libav-user mailing list
> Libav-user at ffmpeg.org
> http://ffmpeg.org/mailman/listinfo/libav-user
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://ffmpeg.org/pipermail/libav-user/attachments/20140403/8f080f06/attachment.html>


More information about the Libav-user mailing list