<div dir="ltr"><div><div># HG changeset patch</div><div># User Deepthi Nandakumar <<a href="mailto:deepthi@multicorewareinc.com">deepthi@multicorewareinc.com</a>></div><div># Date 1463741055 -19800</div><div># Fri May 20 16:14:15 2016 +0530</div><div># Node ID 1b2b9128cffe63f3e19d130e9f15db3445b70abe</div><div># Parent aca781339b4c8dae94ff7da73f18cd4439757e87</div><div>multi-pass: enable slow-firstpass by default.</div><div><br></div><div>The better the match across multi-pass encode settings, the better the efficiency</div><div>improvement from each pass.</div><div><br></div><div>diff -r aca781339b4c -r 1b2b9128cffe doc/reST/cli.rst</div><div>--- a/doc/reST/cli.rst<span class="" style="white-space:pre"> </span>Tue May 10 15:33:17 2016 +0530</div><div>+++ b/doc/reST/cli.rst<span class="" style="white-space:pre"> </span>Fri May 20 16:14:15 2016 +0530</div><div>@@ -1360,13 +1360,13 @@</div><div> </div><div> .. option:: --slow-firstpass, --no-slow-firstpass</div><div> </div><div>-<span class="" style="white-space:pre"> </span>Enable a slow and more detailed first pass encode in multi-pass rate</div><div>-<span class="" style="white-space:pre"> </span>control mode. Speed of the first pass encode is slightly lesser and</div><div>-<span class="" style="white-space:pre"> </span>quality midly improved when compared to the default settings in a</div><div>-<span class="" style="white-space:pre"> </span>multi-pass encode. Default disabled (turbo mode enabled)</div><div>+<span class="" style="white-space:pre"> </span>Enable first pass encode with the exact settings specified. </div><div>+<span class="" style="white-space:pre"> </span>The quality in subsequent multi-pass encodes is better</div><div>+<span class="" style="white-space:pre"> </span>(compared to first pass) when the settings match across each pass. </div><div>+<span class="" style="white-space:pre"> </span>Default enabled.</div><div> </div><div>-<span class="" style="white-space:pre"> </span>When **turbo** first pass is not disabled, these options are</div><div>-<span class="" style="white-space:pre"> </span>set on the first pass to improve performance:</div><div>+<span class="" style="white-space:pre"> </span>When slow first pass is disabled, a **turbo** encode with the following</div><div>+<span class="" style="white-space:pre"> </span>go-fast options is used to improve performance:</div><div> <span class="" style="white-space:pre"> </span></div><div> <span class="" style="white-space:pre"> </span>* :option:`--fast-intra`</div><div> <span class="" style="white-space:pre"> </span>* :option:`--no-rect`</div><div>diff -r aca781339b4c -r 1b2b9128cffe source/common/param.cpp</div><div>--- a/source/common/param.cpp<span class="" style="white-space:pre"> </span>Tue May 10 15:33:17 2016 +0530</div><div>+++ b/source/common/param.cpp<span class="" style="white-space:pre"> </span>Fri May 20 16:14:15 2016 +0530</div><div>@@ -221,7 +221,7 @@</div><div> param->rc.qblur = 0.5;</div><div> param->rc.zoneCount = 0;</div><div> param->rc.zones = NULL;</div><div>- param->rc.bEnableSlowFirstPass = 0;</div><div>+ param->rc.bEnableSlowFirstPass = 1;</div><div> param->rc.bStrictCbr = 0;</div><div> param->rc.bEnableGrain = 0;</div><div> </div><div>@@ -415,7 +415,6 @@</div><div> param->bEnableRecursionSkip = 0;</div><div> param->maxNumReferences = 5;</div><div> param->limitReferences = 0;</div><div>- param->rc.bEnableSlowFirstPass = 1;</div><div> param->bIntraInBFrames = 1;</div><div> param->lookaheadSlices = 0; // disabled for best quality</div><div> // TODO: optimized esa</div></div><div><br></div><div><br></div>-- <br><div class="gmail_signature"><div dir="ltr"><div><div>Deepthi Nandakumar<br></div>Engineering Manager, x265<br></div>Multicoreware, Inc<br></div></div>
</div>