<div dir="ltr"># HG changeset patch<br># User Deepthi Nandakumar <<a href="mailto:deepthi@multicorewareinc.com">deepthi@multicorewareinc.com</a>><br># Date 1463045021 -19800<br># Thu May 12 14:53:41 2016 +0530<br># Node ID 3e530043698b9df0f9aba7eefbb381ac6cc79421<br># Parent 912e46145616b349d039810e3c2e94ec2af0e652<br>grain: improve grain handling settings<br><br>Turn off SAO, increase psychovisual settings to better retain high frequency<br><br>diff -r 912e46145616 -r 3e530043698b doc/reST/presets.rst<br>--- a/doc/reST/presets.rst Thu May 12 16:55:39 2016 +0530<br>+++ b/doc/reST/presets.rst Thu May 12 14:53:41 2016 +0530<br>@@ -125,18 +125,24 @@<br> eliminate grain, but prevent noticeable artifacts caused by uneven <br> distribution of grain. :option:`--tune` *grain* strongly restricts <br> algorithms that vary the quantization parameter within and across frames.<br>+Tune grain also biases towards decisions that retain more high frequency<br>+components.<br> <br> * :option:`--aq-mode` 0<br> * :option:`--cutree` 0<br> * :option:`--ipratio` 1.1<br> * :option:`--pbratio` 1.0<br> * :option:`--qpstep` 1<br>-<br>+ * :option:`--sao` 0<br>+ * :option:`--psy-rd` 4.0<br>+ * :option:`--psy-rdoq` 10.0<br>+ * :option:`--recursion-skip` 0<br>+ <br> It also enables a specialised ratecontrol algorithm :option:`--rc-grain` <br> that strictly minimises QP fluctuations across frames, while still allowing <br> the encoder to hit bitrate targets and VBV buffer limits (with a slightly <br> higher margin of error than normal). It is highly recommended that this <br>-algorithm is used only through the :option:`--tune` *grain* feature. <br>+algorithm is used only through the :option:`--tune` *grain* feature.<br> <br> Fast Decode<br> ~~~~~~~~~~~<br>diff -r 912e46145616 -r 3e530043698b source/common/param.cpp<br>--- a/source/common/param.cpp Thu May 12 16:55:39 2016 +0530<br>+++ b/source/common/param.cpp Thu May 12 14:53:41 2016 +0530<br>@@ -462,6 +462,10 @@<br> param->rc.aqMode = 0;<br> param->rc.qpStep = 1;<br> param->rc.bEnableGrain = 1;<br>+ param->bEnableRecursionSkip = 0;<br>+ param->psyRd = 4.0;<br>+ param->psyRdoq = 10.0;<br>+ param->bEnableSAO = 0;<br> }<br> else<br> return -1;<br><br clear="all"><br>-- <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>