Jeff --<div><br><div class="gmail_quote"><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
<div class="im">
A) Is it really necessary to collect all, successive I-frames to send all at once to avcodec_decode_video2(), or might this indicate some other, larger issue? If I don't collect them all, only one fraction of the image is clear at a time, with the rest of it totally blurred.<br>
</div></blockquote>
<br>
Do you set the context->flags2=CODEC_FLAG2_<u></u>CHUNKS for the context passed to avcodec_decode_video2()?<br>
I think this is necessary in order for avcodec_decode_video2() to properly decode H.264 frames that span multiple calls to it.</blockquote><div><br></div><div>You just switched on the light!! I was not aware of this flag, even though I vaguely remember coming across it in my reading, I forgot it again without realizing its context. I spent hours trying to figure out if I was missing a whole piece of logic, and this is all it took - thank you, sir! If this wasn't a public forum, I'd ask your city & preferences to make sure you get a nice Groupon or whatever flies in your district. I was dreading another day of slogging over the same codes and forums again.</div>
<div><br></div><div>-Jesse</div></div></div>