<div dir="ltr">I am developing Microsoft Media Foundation Transform , a wrapper on FFmpeg, and my reference is Microsoft H.264 MFT .<div>In general the first call to <b>"avcodec_send_packet"</b> method produce around 75MB memory overhead compare to the MS decoder, and stay with this difference during the decoding process.</div><div><br></div><div>I am using more then one video feed, and the out of memory becoming an issue, so i would like to try to reduce the memory.</div><div><br></div><div>Can you share with me the threading configuration?</div><div><br></div><div>Thanks,</div><div>Asaf</div><div><br></div><div><br></div></div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">On Thu, Jun 27, 2019 at 2:39 PM Carl Eugen Hoyos <<a href="mailto:ceffmpeg@gmail.com">ceffmpeg@gmail.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">Am Do., 27. Juni 2019 um 09:12 Uhr schrieb Asaf Kave <<a href="mailto:kaveasaf@gmail.com" target="_blank">kaveasaf@gmail.com</a>>:<br>
<br>
> I am using FFmpeg with my software to decode H.264/H.265 videos.<br>
> I compare the FFmpeg to alternative, and i see that the memory<br>
> consumption is too high with FFmpeg.<br>
<br>
Please elaborate!<br>
(This does not sound like a known issue.)<br>
<br>
> Is there any way to configure/fine tune the library to reduce the memory?<br>
<br>
Use less threads.<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="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".</blockquote></div>