<div dir="ltr"><br><div class="gmail_extra"><br><br><div class="gmail_quote">On Tue, Sep 24, 2013 at 11:02 AM, Olivier Lapicque <span dir="ltr"><<a href="mailto:olapicque@nvidia.com" target="_blank">olapicque@nvidia.com</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left-width:1px;border-left-color:rgb(204,204,204);border-left-style:solid;padding-left:1ex"><div lang="EN-US" link="blue" vlink="purple"><div><p class="">
<span style="font-size:11pt;font-family:Calibri,sans-serif;color:rgb(31,73,125)">This was the cmdline info used (Though I don’t know which build of x265 was used):<u></u><u></u></span></p><p class=""><span style="font-size:11pt;font-family:Calibri,sans-serif;color:rgb(31,73,125)"><u></u> <u></u></span></p>
<p class=""><span style="font-size:11pt;font-family:Calibri,sans-serif;color:rgb(31,73,125)"><<<u></u> <u></u></span></p><p class="" style="text-autospace:none"><b><span style="font-size:10pt;font-family:'Courier New'">./x265 --input ~/FILES/yuv/720p50_parkrun_ter.yuv --fps 30 --input-res 1280x720 --refresh 2 -i 30 --bitrate 5000 -o parkrun_ter_720p30fps_5Mbps.hevc<u></u><u></u></span></b></p>
<p class="" style="text-autospace:none"><span style="font-size:11pt;font-family:Calibri,sans-serif;color:rgb(31,73,125)"><u></u> <u></u></span></p><p class="" style="text-autospace:none"><span style="color:rgb(31,73,125)">Encoding info as printed by x265 is below.</span><span style="font-size:10pt;font-family:'Courier New'"><u></u><u></u></span></p>
<p class="" style="text-autospace:none"><span style="font-size:10pt;font-family:'Courier New'">yuv  [info]: 1280x720 30Hz, frames 0 - 49 of 50<u></u><u></u></span></p><p class="" style="text-autospace:none"><span style="font-size:10pt;font-family:'Courier New'">x265 [info]: detected SIMD architectures SSE2 SSE3 SSSE3 SSE4.1 SSE4.2 <u></u><u></u></span></p>
<p class="" style="text-autospace:none"><span style="font-size:10pt;font-family:'Courier New'">x265 [info]: performance primitives: intrinsic<u></u><u></u></span></p><p class="" style="text-autospace:none"><span style="font-size:10pt;font-family:'Courier New'">x265 [info]: Main profile, Level-3.1 (Main tier)<u></u><u></u></span></p>
<p class="" style="text-autospace:none"><span style="font-size:10pt;font-family:'Courier New'">x265 [info]: WPP streams / pool / frames  : 12 / 8 / 1<u></u><u></u></span></p><p class="" style="text-autospace:none">
<span style="font-size:10pt;font-family:'Courier New'">x265 [info]: CU size                      : 64<u></u><u></u></span></p><p class="" style="text-autospace:none"><span style="font-size:10pt;font-family:'Courier New'">x265 [info]: Max RQT depth inter / intra  : 3 / 3<u></u><u></u></span></p>
<p class="" style="text-autospace:none"><span style="font-size:10pt;font-family:'Courier New'">x265 [info]: ME / range / subpel / merge  : star / 60 / 5 / 5<u></u><u></u></span></p><p class="" style="text-autospace:none">
<span style="font-size:10pt;font-family:'Courier New'">x265 [info]: Keyframe min / max           : 30 / 30<u></u><u></u></span></p><p class="" style="text-autospace:none"><span style="font-size:10pt;font-family:'Courier New'">x265 [info]: Rate Control                 : ABR-5000 kbps<u></u><u></u></span></p>
<p class="" style="text-autospace:none"><span style="font-size:10pt;font-family:'Courier New'">x265 [info]: Lookahead len / <b>-b</b> / bAdapt  : 10 / <b>3</b> / 1      <b><i>[Default is max 3 consecutive B-frames, corresponding to “-b 3” option]</i></b><u></u><u></u></span></p>
<p class="" style="text-autospace:none"><span style="font-size:10pt;font-family:'Courier New'">x265 [info]: tools: rect amp rdo rdoq lft sao sao-lcu sign-hide tskip tskip-fast rdoqts <u></u><u></u></span></p><p class="" style="text-autospace:none">
<span style="font-size:10pt;font-family:'Courier New'">x265 [info]: frame I:2      kb/s: 38722.20 PSNR Mean: Y:39.782 U:43.591 V:44.109<u></u><u></u></span></p><p class="" style="text-autospace:none"><span style="font-size:10pt;font-family:'Courier New'">x265 [info]: frame P:32     kb/s: 5119.59  PSNR Mean: Y:27.178 U:39.095 V:40.228<u></u><u></u></span></p>
<p class="" style="text-autospace:none"><span style="font-size:10pt;font-family:'Courier New'">x265 [info]: frame B:16     kb/s: 1147.47  PSNR Mean: Y:26.369 U:38.924 V:40.048<u></u><u></u></span></p><p class="" style="text-autospace:none">
<span style="font-size:10pt;font-family:'Courier New'">x265 [info]: global:        kb/s: 5192.62  PSNR Mean: Y:27.423 U:39.220 V:40.326<u></u><u></u></span></p><p class=""><span style="font-size:10pt;font-family:'Courier New'">encoded 50 frames in 115.83s (0.43 fps), 5193.93 kb/s, Global PSNR: 30.511</span></p>
</div></div></blockquote><div><br></div><div>With --b-adapt 1, x265 rarely selects more than one consecutive B frame; that part of the algorithm has some arbitrary constants adopted from x264 that likely need more tuning.  But that doesn't have much bearing on whether we're signaling the headers properly.</div>
<div><br></div><div>I can tell by the log output your build is somewhat recent.  I will be tagging 0.4.1 today and I suggest everyone move up to this tag.  There are several significant lookahead and rate control fixes on stable since 0.4.  It would be helpful if you could determine whether the problem still exists.<br>
</div><div><br></div><div>Thanks,</div><div><br></div><div>--</div><div>Steve Borho</div></div></div></div>