<html>
<head>
<meta content="text/html; charset=utf-8" http-equiv="Content-Type">
</head>
<body bgcolor="#FFFFFF" text="#000000">
<p><br>
</p>
<br>
<div class="moz-cite-prefix">On 10/4/2016 12:52 PM, Simon Brown
wrote:<br>
</div>
<blockquote
cite="mid:CAHW09jf=E=G4egNvioiu9PEf3LwbPx1A5-o4cWgE594CVXZOHA@mail.gmail.com"
type="cite">
<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 moz-do-not-send="true"
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 moz-do-not-send="true"
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>
<br>
<fieldset class="mimeAttachmentHeader"></fieldset>
<br>
<pre wrap="">_______________________________________________
Libav-user mailing list
<a class="moz-txt-link-abbreviated" href="mailto:Libav-user@ffmpeg.org">Libav-user@ffmpeg.org</a>
<a class="moz-txt-link-freetext" href="http://ffmpeg.org/mailman/listinfo/libav-user">http://ffmpeg.org/mailman/listinfo/libav-user</a>
</pre>
</blockquote>
Thank you Simon, I am following the info you gave me<br>
Kind regards<br>
Alex<br>
</body>
</html>