<div dir="ltr"><br><div class="gmail_extra"><br><div class="gmail_quote"><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"><span class="gmail-">2016-10-03 14:26 GMT+02:00 Alex Grosu <<a href="mailto:agrosu@c-s.ro">agrosu@c-s.ro</a>>:<br>
> I am just calling avcodec_alloc_context(). This sets thread_count<br>
> to 1. I tried set it to 4, but it seems there is no difference.<br></span><div class="gmail-HOEnZb"><div class="gmail-h5"><br></div></div></blockquote><div>When I asked about increasing thread count, someone helpfully pointed me at this thread:</div><div><a href="https://ffmpeg.org/pipermail/libav-user/2016-July/009365.html">https://ffmpeg.org/pipermail/libav-user/2016-July/009365.html</a></div><div>In particular, points to note are to set thread count BEFORE opening the codec, and setting</div><div>thread count to "auto" seems to work well - but from my tests it defaults to 1, so does need changing. </div><div>Regards,</div><div>Simon</div></div></div></div>