<div dir="ltr">Hi,<div><br></div><div>I made a simple tweak, outside of x264 to not encode a frame if it hasn't changed.  It basically does a quick early out sample pass and then a memcmp on areas it didn't sample.   On 720p it results on a huge improvement at very small overhead (for .01% cpu cost it drops the CPU 3% when nothing is happening in the scene).  I was surprised that x264 isn't doing something like this by default. One possibly is that it might be expecting frames to be always moving... making the early out pointless.</div>
<div><br></div><div>Anyway I was wondering about how to improve this optimization further and if there is simply a setting I'm missing.</div><div><br></div><div>1) Is there simply a x264 setting that will perform something like this optimization?</div>
<div>2) How can I do this on the slice level? (ie do minimal processing if a slice has no changes from the previous)  Has anyone experimented with this? I pretty much would like at least a starting point in the x264 code for this.</div>
<div>3) Other than changing bitrate or lowering the quality type setting changes is there any other simple performance optimization changes someone can suggest?</div><div><br></div><div>Cheers,</div><div>Hohums</div></div>