<div dir="ltr"><div dir="ltr"><br></div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">On Sun, Apr 25, 2021 at 8:15 PM laddoe <<a href="mailto:xyfix@hotmail.com" target="_blank">xyfix@hotmail.com</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">




<div dir="ltr">
<div style="font-family:Calibri,Helvetica,sans-serif;font-size:12pt;color:rgb(0,0,0)">
Hello, </div>
<div style="font-family:Calibri,Helvetica,sans-serif;font-size:12pt;color:rgb(0,0,0)">
<br>
</div>
<div style="font-family:Calibri,Helvetica,sans-serif;font-size:12pt;color:rgb(0,0,0)">
I'm trying to use h264 with intra frame coding, but I can't seem to understand why my code isn't fully working. I can see that the first 13 frames aren't written to the file while all the other frames are. I have 120 images that needs to be encoded of which
 the first one is very important because it's a registration image. I understand that the first few frames send to the encoder will be buffered and as soon as a frame is available it can  be written, as I have done in my code. But how can I make sure that the
 buffered frames are written as well? </div></div></blockquote><div>I don't see why the first few frames aren't written, but it looks as though you aren't flushing the codec by sending a null frame at the end. This would cause the last few buffered frames not to be written. Not the same problem, but a problem nonetheless.</div><div><br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"><div dir="ltr">
</div>

_______________________________________________<br>
Libav-user mailing list<br>
<a href="mailto:Libav-user@ffmpeg.org" target="_blank">Libav-user@ffmpeg.org</a><br>
<a href="https://ffmpeg.org/mailman/listinfo/libav-user" rel="noreferrer" target="_blank">https://ffmpeg.org/mailman/listinfo/libav-user</a><br>
<br>
To unsubscribe, visit link above, or email<br>
<a href="mailto:libav-user-request@ffmpeg.org" target="_blank">libav-user-request@ffmpeg.org</a> with subject "unsubscribe".<br>
</blockquote></div></div>