<div dir="ltr"><div dir="ltr"><div dir="ltr"><div dir="ltr"><div dir="ltr"><div dir="ltr">First of all, thanks for the response.<div><br></div><div>I just tested git head and current drivers, and the problem persists.</div><div><br></div><div>My hardware:</div><div><br></div><div>Intel i5-6400</div><div>Nvidia GTX 1050</div><div><br></div><div>Right now, I am decoding more or less like this:</div><div><br></div><div><div>while</div><div>{</div></div><div>    avcodec_send_packet()<br></div><div>    while (more_frames)</div><div>    {</div><div>         avcodec_receive_frame()</div><div>         if ( ret == AVERROR(EAGAIN) ) {</div><div>                more_frames = false;</div><div>         }</div><div>         ...</div><div>    }</div><div>    ...</div><div>}</div><div><br></div><div>Is this the correct way? Is there anything that could be improved?</div><div><br></div><div>I thought about doing send_packet() in a different thread, but not sure if it will improve anything. Because receive frame would still have to wait for it to finish.</div><div><br></div><div>Anyway, any suggestions are appreciated. Thanks again! </div></div></div></div></div></div></div><br><div class="gmail_quote"><div dir="ltr">El sáb., 17 nov. 2018 a las 15:17, Carl Eugen Hoyos (<<a href="mailto:ceffmpeg@gmail.com">ceffmpeg@gmail.com</a>>) escribió:<br></div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">2018-11-15 13:30 GMT+01:00, Omar Álvarez <<a href="mailto:omar.alvarez@cinfo.es" target="_blank">omar.alvarez@cinfo.es</a>>:<br>
> I am trying to decode a h264 3Kx3K video file using NVDEC and ffmpeg 4.0.<br>
<br>
Please test current FFmpeg git head (and current drivers).<br>
<br>
Carl Eugen<br>
_______________________________________________<br>
Libav-user mailing list<br>
<a href="mailto:Libav-user@ffmpeg.org" target="_blank">Libav-user@ffmpeg.org</a><br>
<a href="http://ffmpeg.org/mailman/listinfo/libav-user" rel="noreferrer" target="_blank">http://ffmpeg.org/mailman/listinfo/libav-user</a><br>
</blockquote></div>