<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=us-ascii">
</head>
<body style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space; color: rgb(0, 0, 0); font-size: 14px; font-family: Calibri, sans-serif;">
<div>
<div>
<div><br>
</div>
</div>
</div>
<span id="OLK_SRC_BODY_SECTION">
<div>
<div dir="ltr">> First thing i would suggest doing is setting your AVCodecContext to use more threads<br>
><br>
> for ex: videoCtx->thread_count = 4;<br>
</div>
<div class="gmail_extra">><br>
<div class="gmail_quote">> On Wed, Sep 7, 2016 at 3:05 PM, Simon Brown <span dir="ltr">
<<a href="mailto:simon.k.brown@gmail.com" target="_blank">simon.k.brown@gmail.com</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
<div dir="ltr">> I'm running a decode operation using doc/examples/demuxing_<wbr>decoding.c I'm running on an Arm A9 with Neon enabled.  Sending a 1280x720p stream at 24fps it can only decode about 15fps.  Is there any way of speeding up the decode operation?
</div>
</blockquote>
</div>
</div>
</div>
</span>
<div><br>
</div>
<span id="OLK_SRC_BODY_SECTION">
<div>
<div class="gmail_extra">
<div class="gmail_quote">
<div dir="ltr">
<div>Depends on the version of ffmpeg.  I have found that previous to ffmpeg 3.0, setting the decode threads to 4 sped up decoding enormously (on a server class system with 32+ cpu cores running Ubuntu).</div>
</div>
</div>
</div>
</div>
</span>
<div>Since ffmpeg 3.0 however, we had to revert to setting the threads to 0 on that same system (allow ffmpeg to decide how many decode threads to use) because using 4 decode threads was running too slow.</div>
<div><br>
</div>
<div>David Henry</div>
<span id="OLK_SRC_BODY_SECTION">
<div>
<div>
<div class="gmail_extra"><br>
</div>
</div>
</div>
</span>
</body>
</html>