<div dir="ltr"><div dir="ltr">I tried your command, but its giving:<div><b>x265 [warning]: poc:49, VBV underflow (-539040 bits)0:01:36</b><br></div><div>and 2.45 fps only</div></div></div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">On Sun, Mar 10, 2019 at 12:25 AM Alex Giladi <<a href="mailto:alex.giladi@gmail.com">alex.giladi@gmail.com</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"><div dir="ltr"><div dir="ltr">x265 --aq-mode 3 --aud --bframes=5 --chromaloc 2 --colormatrix bt2020nc --colorprim bt2020 --csv-log-level=4 --ctu 64 --dynamic-rd 4 --fps 59.97 <br>--frame-threads 1 --input-depth 10 --input-res 3840x2160 --keyint 120 --level=51 --log-level=4 --lookahead-slices=0 <br>--master-display="G(13250,34500)B(7500,3000)R(34000,16000)WP(15635,16450)L(10000000,50)" --max-cll=1000,399 --min-keyint 60 <br>--no-amp --no-cutree --no-high-tier --no-interlace --no-open-gop --no-opt-qp-pps --no-opt-ref-list-length-pps --no-rect --output-depth 10 <br>--preset veryslow --profile main10 --qg-size 8 --rc-lookahead 180 --rd 4 --rdoq-level 1 --ref=4 <br>--repeat-headers --ssim-rd --subme 7 --transfer 16 --weightb --input <..>.yuv --input-res 3840x2160 <br>--output <...>.265 --csv <...>.csv<br></div></div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">On Thu, Mar 7, 2019 at 1:40 PM Sunil Kumar <<a href="mailto:skgola1997@gmail.com" target="_blank">skgola1997@gmail.com</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"><div dir="ltr">Thanks Alex! Can you share your command that you are using?</div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">On Thu, Feb 28, 2019 at 8:06 PM Alex Giladi <<a href="mailto:alex.giladi@gmail.com" target="_blank">alex.giladi@gmail.com</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"><div dir="auto"><div>Sunil, all,</div><div dir="auto">From our experiments a few months ago, gains from AVX-512 were noticeable (>5%) at veryslow preset and 4K resolution. </div><div dir="auto">Best,</div><div dir="auto">Alex.</div><div dir="auto"><br><div class="gmail_quote" dir="auto"><div dir="ltr" class="gmail_attr">On Thu, Feb 28, 2019, 06:06 Sunil Kumar <<a href="mailto:skgola1997@gmail.com" target="_blank">skgola1997@gmail.com</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"><div dir="ltr">Thanks Mario and Kalyan for reply, <div>I have checked with same command avx512 is giving more FPS compared to avx2. I am not able to understand with increasing the number of cores the FPS is reducing after certain point .</div><div>How can i decide how many cores are need to use for best performance?</div><div><br></div><div>About preset i have used it but as I mentioned in mail it will reduced the quality of video right? By default <b>preset</b> values is 5 (medium) same is with <b>crf (using 52 is giving best fps at the cost of quality). </b></div><div><br></div><div>Any <b>system level tuning </b>that help in increasing the performance?</div><div><br></div><div>Can you also please give any example commands in general. How can I use 2 pass (doest it help in improving the performance) </div><div>Thanks,</div></div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">On Thu, Feb 28, 2019 at 3:33 PM Kalyan Goswami <<a href="mailto:kalyan@multicorewareinc.com" rel="noreferrer" target="_blank">kalyan@multicorewareinc.com</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"><div dir="ltr"><div dir="ltr"><div dir="ltr">Hi Sunil, <div><br></div><div>From the very first glace of your command line, I think you have missed the --preset option. [<a href="https://x265.readthedocs.io/en/default/presets.html" rel="noreferrer" target="_blank">https://x265.readthedocs.io/en/default/presets.html</a>]. You can try the ultrafast or superfast preset for higher performance. Regarding the overview of different CLI options plz check the x265 documentation: <a href="https://x265.readthedocs.io/en/default/cli.html" rel="noreferrer" target="_blank">https://x265.readthedocs.io/en/default/cli.html</a></div><div><br clear="all"><div><div dir="ltr" class="gmail-m_-2475948908465852171gmail-m_-4602426731124441622gmail-m_9093162598393576633gmail-m_-7691159939923754206m_-3252442521676400053gmail-m_-8736560499890383061gmail_signature"><div dir="ltr"><div><div dir="ltr"><div><div dir="ltr"><div><div dir="ltr"><div><div dir="ltr"><div>Thanks,</div><div dir="ltr"><span></span><span></span>Kalyan Goswami, PhD</div><div dir="ltr"><span style="font-size:12.8px">Video Architect @ MulticoreWare</span></div><div dir="ltr"><div><a href="http://www.multicorewareinc.com/" rel="noreferrer" target="_blank">http:</a><a href="http://www.multicorewareinc.com/" style="font-size:12.8px" rel="noreferrer" target="_blank">//www.multicorewareinc.com</a></div><div><span style="font-size:12.8px">+91 9884989331</span><br></div><div></div></div></div></div></div></div></div></div></div></div></div></div></div><br></div></div></div></div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">On Thu, Feb 28, 2019 at 3:01 PM Mario *LigH* Rohkrämer <<a href="mailto:contact@ligh.de" rel="noreferrer" target="_blank">contact@ligh.de</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">Hi Sunil.<br>
<br>
Just a general note: AVX512 is not certainly faster than AVX2 on every <br>
CPU model. There have been a few tests e.g. in the doom9 video forum. So <br>
don't expect miracles.<br>
<br>
Knowing your exact CPU model may help estimating if there can be a <br>
speedup, or if it is a model which may e.g. throttle too much to avoid <br>
overheating.<br>
<br>
But wait for more experienced replies than mine...<br>
<br>
<br>
Sunil Kumar schrieb am 28.02.2019 um 09:17:<br>
> Hi,<br>
> I am new to media encoding, I have heard that x265 is a very efficient <br>
> encoding tool on Intel's platform with avx512 enabled. But I am not able <br>
> to get good FPS with avx512 enable. Can you please help me improving the <br>
> performance?<br>
> <br>
> 1) I have tried with core pinning but it seems like using more cores is <br>
> not beneficial, even reducing the FPS, How can we decide the no. of <br>
> cores for best FPS in multi socket system.<br>
> <br>
> 2) Can suggest the command for efficient performance like the best <br>
> command line parameters or performance parameters (if we use preset then <br>
> it will compromise with the quality of video and same with CRF, help in <br>
> deciding best thing).<br>
> <br>
> 3) How can I run in parallel or in multi pass (2 pass) please give an <br>
> command example.<br>
> the command i was using is:<br>
> <br>
> ./x265 --input <video.yuv> --input-res 1920x1080 --fps 50 --output <br>
> out.hevc --max-merge 3 --no-tskip --no-rect --frame-threads 16 --pools <br>
> "+,-" --bitrate 16000 --asm avx512<br>
> <br>
> how can we decide the --fps for input video? max-merge, no-tskip, <br>
> fram-threads etc.<br>
> Please give command so that it will help me out.<br>
> Thanks,<br>
> Sunil<br>
> <br>
> <br>
> _______________________________________________<br>
> x265-devel mailing list<br>
> <a href="mailto:x265-devel@videolan.org" rel="noreferrer" target="_blank">x265-devel@videolan.org</a><br>
> <a href="https://mailman.videolan.org/listinfo/x265-devel" rel="noreferrer noreferrer" target="_blank">https://mailman.videolan.org/listinfo/x265-devel</a><br>
> <br>
<br>
<br>
-- <br>
<br>
Fun and success!<br>
<br>
Mario *LigH* Rohkrämer<br>
<a href="mailto:maito%3Acontact@ligh.de" rel="noreferrer" target="_blank">maito:contact@ligh.de</a><br>
_______________________________________________<br>
x265-devel mailing list<br>
<a href="mailto:x265-devel@videolan.org" rel="noreferrer" target="_blank">x265-devel@videolan.org</a><br>
<a href="https://mailman.videolan.org/listinfo/x265-devel" rel="noreferrer noreferrer" target="_blank">https://mailman.videolan.org/listinfo/x265-devel</a><br>
</blockquote></div>
_______________________________________________<br>
x265-devel mailing list<br>
<a href="mailto:x265-devel@videolan.org" rel="noreferrer" target="_blank">x265-devel@videolan.org</a><br>
<a href="https://mailman.videolan.org/listinfo/x265-devel" rel="noreferrer noreferrer" target="_blank">https://mailman.videolan.org/listinfo/x265-devel</a><br>
</blockquote></div>
_______________________________________________<br>
x265-devel mailing list<br>
<a href="mailto:x265-devel@videolan.org" rel="noreferrer" target="_blank">x265-devel@videolan.org</a><br>
<a href="https://mailman.videolan.org/listinfo/x265-devel" rel="noreferrer noreferrer" target="_blank">https://mailman.videolan.org/listinfo/x265-devel</a><br>
</blockquote></div></div></div>
_______________________________________________<br>
x265-devel mailing list<br>
<a href="mailto:x265-devel@videolan.org" target="_blank">x265-devel@videolan.org</a><br>
<a href="https://mailman.videolan.org/listinfo/x265-devel" rel="noreferrer" target="_blank">https://mailman.videolan.org/listinfo/x265-devel</a><br>
</blockquote></div>
_______________________________________________<br>
x265-devel mailing list<br>
<a href="mailto:x265-devel@videolan.org" target="_blank">x265-devel@videolan.org</a><br>
<a href="https://mailman.videolan.org/listinfo/x265-devel" rel="noreferrer" target="_blank">https://mailman.videolan.org/listinfo/x265-devel</a><br>
</blockquote></div>
_______________________________________________<br>
x265-devel mailing list<br>
<a href="mailto:x265-devel@videolan.org" target="_blank">x265-devel@videolan.org</a><br>
<a href="https://mailman.videolan.org/listinfo/x265-devel" rel="noreferrer" target="_blank">https://mailman.videolan.org/listinfo/x265-devel</a><br>
</blockquote></div>