<div dir="ltr"><div><font color="#000000" style="background-color:rgb(255,255,255)">Hi Vasiliy,</font></div><div><font color="#000000" style="background-color:rgb(255,255,255)"><br></font></div><div><font color="#000000" style="background-color:rgb(255,255,255)">

<font color="#073763" style="font-family:arial,sans-serif;font-size:small;font-style:normal;font-variant-ligatures:normal;font-variant-caps:normal;font-weight:400;letter-spacing:normal;text-align:start;text-indent:0px;text-transform:none;white-space:normal;word-spacing:0px;background-color:rgb(255,255,255);text-decoration-style:initial;text-decoration-color:initial"><b>--vbv-init <float></b></font><span style="color:rgb(34,34,34);font-family:arial,sans-serif;font-size:small;font-style:normal;font-variant-ligatures:normal;font-variant-caps:normal;font-weight:400;letter-spacing:normal;text-align:start;text-indent:0px;text-transform:none;white-space:normal;word-spacing:0px;background-color:rgb(255,255,255);text-decoration-style:initial;text-decoration-color:initial;float:none;display:inline"> helps determining the absolute maximum frame size -<span> </span></span><span style="color:rgb(34,34,34);font-family:arial,sans-serif;font-size:small;font-style:normal;font-variant-ligatures:normal;font-variant-caps:normal;font-weight:400;letter-spacing:normal;text-align:start;text-indent:0px;text-transform:none;white-space:normal;word-spacing:0px;background-color:rgb(255,255,255);text-decoration-style:initial;text-decoration-color:initial;float:none;display:inline"><a href="http://x265.readthedocs.io/en/default/cli.html#cmdoption-vbv-init">http://x265.readthedocs.io/en/default/cli.html#cmdoption-vbv-init</a> .</span><br></font></div><div><font color="#000000" style="background-color:rgb(255,255,255)"><br></font></div><font color="#073763"><b>--max-ausize-factor <float></b></font><b> </b>also<b> </b>help us control the maximum frame size - 

<a href="http://x265.readthedocs.io/en/default/cli.html#cmdoption-max-ausize-factor" style="color:rgb(17,85,204);font-family:arial,sans-serif;font-size:small;font-style:normal;font-variant-ligatures:normal;font-variant-caps:normal;font-weight:400;letter-spacing:normal;text-align:start;text-indent:0px;text-transform:none;white-space:normal;word-spacing:0px" target="_blank">http://x265.readthedocs.io/en/<wbr>default/cli.html#cmdoption-max<wbr>-ausize-factor</a>. It is actually a factor ranging from 0.5 - 1 which tells what fraction of the maximum frame size allowed in the specification for particular level should be used as maximum frame size in the encoder. Though maximum frame size varies between key frames and non key frames, this option should be helpful in your case.<div><br></div><div><div>Thanks,<br></div><div>Aruna</div></div></div><div class="gmail_extra"><br><div class="gmail_quote">On Tue, Apr 17, 2018 at 12:55 PM, Vasiliy Volkov <span dir="ltr"><<a href="mailto:volk.vasiliy@gmail.com" target="_blank">volk.vasiliy@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">Hi,<div><br></div><div>Is it possible to specify maximum frame size in addition to VBV options, somehow? So then I can be sure that libx265 ratecontroller will not use any larger value for all frames than specified size. It's useful when working with some "strange" devices which has small buffers and also has some side effects if frame large enough to fulfil most of buffer space.</div></div>
<br>______________________________<wbr>_________________<br>
x265-devel mailing list<br>
<a href="mailto:x265-devel@videolan.org">x265-devel@videolan.org</a><br>
<a href="https://mailman.videolan.org/listinfo/x265-devel" rel="noreferrer" target="_blank">https://mailman.videolan.org/<wbr>listinfo/x265-devel</a><br>
<br></blockquote></div><br></div>