<div dir="ltr"><div dir="ltr"><div>From 2befed918c75a2af894d1b0879a43702764d2a29 Mon Sep 17 00:00:00 2001</div><div>From: Snehaa Giridharan <<a href="mailto:snehaa@multicorewareinc.com">snehaa@multicorewareinc.com</a>></div><div>Date: Fri, 16 Dec 2022 11:08:52 +0530</div><div>Subject: [PATCH] Added sample config file for Scenecut aware qp feature</div><div><br></div><div>---</div><div> doc/reST/cli.rst | 16 ++++++++++++++--</div><div> 1 file changed, 14 insertions(+), 2 deletions(-)</div><div><br></div><div>diff --git a/doc/reST/cli.rst b/doc/reST/cli.rst</div><div>index c7ff17ff8..5b2404b49 100755</div><div>--- a/doc/reST/cli.rst</div><div>+++ b/doc/reST/cli.rst</div><div>@@ -1975,8 +1975,10 @@ Quality, rate control and rate distortion options</div><div> <span style="white-space:pre">   </span>**CLI ONLY**</div><div> </div><div> .. option:: --scenecut-qp-config <filename></div><div>+</div><div> <span style="white-space:pre">     </span>Specify a text file which contains the scenecut aware QP options.</div><div> <span style="white-space:pre">   </span>The options include :option:`--scenecut-aware-qp` and :option:`--masking-strength`</div><div>+</div><div> <span style="white-space:pre">  </span>**CLI ONLY**</div><div> </div><div> .. option:: --scenecut-aware-qp <integer></div><div>@@ -2009,7 +2011,8 @@ Quality, rate control and rate distortion options</div><div> <span style="white-space:pre"> </span>for the QP increment for inter-frames when :option:`--scenecut-aware-qp`</div><div> <span style="white-space:pre">    </span>is enabled. It is mentioned inside :option:`--scenecut-qp-config` file.</div><div> </div><div>-<span style="white-space:pre">     </span>When :option:`--scenecut-aware-qp` is::</div><div>+<span style="white-space:pre">      </span>When :option:`--scenecut-aware-qp` is:</div><div>+</div><div> <span style="white-space:pre">      </span>* 1 (Forward masking):</div><div> <span style="white-space:pre">      </span>--masking-strength <fwdMaxWindow,fwdRefQPDelta,fwdNonRefQPDelta></div><div> <span style="white-space:pre">      </span>or </div><div>@@ -2075,7 +2078,16 @@ Quality, rate control and rate distortion options</div><div> <span style="white-space:pre"> </span>|                 | **Range of values:** 0 to 20                                  |</div><div> <span style="white-space:pre">       </span>+-----------------+---------------------------------------------------------------+</div><div> </div><div>-<span style="white-space:pre"> </span>**CLI ONLY**</div><div>+<span style="white-space:pre"> </span>We can specify the value for the Use :option:`--masking-strength` parameter in different formats.</div><div>+<span style="white-space:pre">    </span>1. If we don't specify --masking-strength and specify only --scenecut-aware-qp, then default offset and window size values are considered.</div><div>+<span style="white-space:pre">       </span>2. If we specify --masking-strength with the format 1 mentioned above, the values of window, refQpDelta and nonRefQpDelta given by the user are taken for window 1 and the offsets for the remaining windows are derived with 15% difference between windows.</div><div>+<span style="white-space:pre">        </span>3. If we specify the --masking-strength with the format 2 mentioned above, the values of window, refQpDelta and nonRefQpDelta given by the user for each window from 1 to 6 are directly used.[NOTE: We can use this format to specify zero offsets for any particular window]</div><div>+</div><div>+<span style="white-space:pre">       </span>Sample config file:: (Format 2 Forward masking explained here)</div><div>+</div><div>+<span style="white-space:pre">       </span>--scenecut-aware-qp 1 --masking-strength 1000,8,12</div><div>+<span style="white-space:pre">   </span></div><div>+<span style="white-space:pre">     </span>The above sample config file is available in `the downloads page <<a href="https://bitbucket.org/multicoreware/x265_git/downloads/scenecut_qp_config.txt">https://bitbucket.org/multicoreware/x265_git/downloads/scenecut_qp_config.txt</a>>`_</div><div> </div><div> .. option:: --vbv-live-multi-pass, --no-vbv-live-multi-pass</div><div> </div><div>-- </div><div>2.37.2.windows.2</div><div><br></div><div><div dir="ltr" class="gmail_signature"><div dir="ltr"><div><i><font face="georgia, serif">Thanks and Regards,</font></i></div><div><i><font face="georgia, serif"><b>Snehaa.G</b><br>Video Codec Engineer,<br>Media & AI analytics<br><a href="https://multicorewareinc.com/" target="_blank"><img src="https://ci3.googleusercontent.com/mail-sig/AIorK4yEumXeQ2mgcFAR2us9INa7z3rCbl8ordut3fbdeIbuPv0n3EA75Or1rHs0neGaI0WM8mFPz1g"></a><br><span></span><span></span><br></font></i></div></div></div></div></div></div>