<div dir="ltr"><div dir="ltr">Ok, maybe sws_scale running on 24 CPU cores is faster than this <a href="https://github.com/lemenkov/libyuv" target="_blank">https://github.com/lemenkov/libyuv</a> on one core.</div><div>Seriously, what do you mean by "initialize the context manually".  How to force it to use SSSE3 instruction and so on?</div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">ср, 14 сент. 2022 г. в 13:25, wolverin via Libav-user <<a href="mailto:libav-user@ffmpeg.org" target="_blank">libav-user@ffmpeg.org</a>>:<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><div> <blockquote style="border-left:1px solid rgb(8,87,166);margin:10px;padding:0px 0px 0px 10px"><div id="m_8349350100204642949m_-3936671360995244589"><div><div><div id="m_8349350100204642949m_-3936671360995244589style_16631502901324695802_BODY"><div><div>I recommend not to use sws_sclale at all. It is a real bottleneck of all encoding process.</div></div></div></div></div></div></blockquote><div> </div><div> </div><div>If you use the multithreaded version of AVFilter or initialize the context manually to use multithreading, then everything works fast enough.</div><div> </div></div></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><br clear="all"></div><div><br></div>-- <br><div dir="ltr">С уважением Алексей Комаров.<br></div>