<div dir="ltr"><div>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...<br></div>Also, I'm not sure that you can really rely on it, the AVFrame->pict_type is much more reliable<br>
</div><div class="gmail_extra"><br><br><div class="gmail_quote">2014-04-03 11:18 GMT+02:00 Andrey Utkin <span dir="ltr"><<a href="mailto:andrey.krieger.utkin@gmail.com" target="_blank">andrey.krieger.utkin@gmail.com</a>></span>:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">2014-04-03 11:24 GMT+03:00 Dídac Pérez <<a href="mailto:perez.didac@gmail.com">perez.didac@gmail.com</a>>:<br>
<div class="">> Hi Andrey,<br>
><br>
> PLEASE: I am not sure what I am about to say (better if somebody can correct<br>
> me).<br>
><br>
> I think that if you try to decode a AVPacket it may not return the actual<br>
> packet, but the previous one. This is because the bidirectional prediction.<br>
> This means that maybe you will decode the AVPacket with the keyframe in the<br>
> next iteration using the next AVPacket.<br>
<br>
</div>Ok, i understand that decoding more will solve the problem, but it<br>
don't understand why the AVPacket is marked as keyframe then, and i<br>
don't know what exactly is the kind of frame which gives such<br>
situation (packet is marked as keyframe, but decoding doesn't give a<br>
picture).<br>
<div class="HOEnZb"><div class="h5"><br>
--<br>
Andrey Utkin<br>
_______________________________________________<br>
Libav-user mailing list<br>
<a href="mailto:Libav-user@ffmpeg.org">Libav-user@ffmpeg.org</a><br>
<a href="http://ffmpeg.org/mailman/listinfo/libav-user" target="_blank">http://ffmpeg.org/mailman/listinfo/libav-user</a><br>
</div></div></blockquote></div><br></div>