<DIV>I tested with the following steps,</DIV>
<DIV> </DIV>
<DIV><STRONG>1.encoding a clip with qp=34(crf maybe better), and getting bitrate of the output file(is 490Kb/s)</STRONG></DIV>
<DIV>x265.exe --input source\NBA.yuv -o output_test\NBA_qp_34.hevc --recon output_test\NBA_recon_qp_34.yuv --fps 30 --input-res 640x360 --keyint 300 --frames 300 --rd 1 <FONT style="BACKGROUND-COLOR: #ffffff" color=#ff0000>--qp 34</FONT> -F 4</DIV>
<DIV><BR><STRONG>2. using the bitrate(=490Kb/s) which is got frome the previous step to encode the same video with ABR method</STRONG> <BR>x265.exe --input source\NBA.yuv -o output_test\NBA_bitrate_490.hevc --recon output_test\NBA_recon_bitrate_490.yuv --fps 30 --input-res 640x360 --keyint 300 --frames 300 --rd 1 <FONT color=#ff0000>--bitrate 490</FONT> -F </DIV>
<DIV> </DIV>
<DIV><STRONG>3.Compare PSNR of the two output files.</STRONG> <BR>Here using MSU VQM to calculate PSNR, and the following graph shows the result, red line is ABR and blue line is CQP, and ABR is of big fluctuation.</DIV>
<DIV> </DIV>
<DIV><IMG src="cid:part1.1382699927.3796.14433"></DIV>
<DIV> </DIV>
<DIV><BR> </DIV>
<DIV id=origbody>
<DIV dir=ltr><FONT style="BACKGROUND-COLOR: #cccccc">yes, that's the x265 mailing list. ABR right now, is a very simple version adapted from x264. Definitely scope for improvement. Can you share with me your results. I'd like to take a look.</FONT></DIV>
<DIV>
<DIV><FONT style="BACKGROUND-COLOR: #cccccc">On Fri, Oct 25, 2013 at 3:51 PM, <SPAN dir=ltr><<A href="mailto:idxa@sina.com" target=_blank _act="check_domail"><FONT color=#184382>idxa@sina.com</FONT></A>></SPAN> wrote:<BR></FONT>
<BLOCKQUOTE style="BORDER-LEFT: #ccc 1px solid; MARGIN: 0px 0px 0px 0.8ex; PADDING-LEFT: 1ex">
<DIV><FONT style="BACKGROUND-COLOR: #cccccc">Is the mailing list "</FONT><A href="http://mailman.videolan.org/listinfo/x265-devel" target=_blank _act="check_domail"><FONT style="BACKGROUND-COLOR: #cccccc" color=#184382>x265-devel@videolan.org</FONT></A><FONT style="BACKGROUND-COLOR: #cccccc">"? I will use it for future bug reporting and discussion.</FONT></DIV>
<DIV><FONT style="BACKGROUND-COLOR: #cccccc">I have tested some clips to evaluate x265 ABR methods. The result shows the fluctuation of quality is a little big, meanwhile the bitrate fluctuation is very small, which seems to be CBR instead of ABR. Perhaps there is room for further improvement in x265 ABR method.</FONT></DIV>
<DIV>
<DIV>
<DIV><FONT style="BACKGROUND-COLOR: #cccccc"></FONT></DIV>
<DIV>
<DIV dir=ltr><FONT style="BACKGROUND-COLOR: #cccccc">yes, you are right :). It should use r<SPAN style="FONT-FAMILY: arial,sans-serif; FONT-SIZE: 13px">ce->sliceType and need to set the sliceType before in rce. Thanks for pointing it out! shall fix and send out the patch.</SPAN> </FONT><SPAN style="FONT-FAMILY: arial,sans-serif; FONT-SIZE: 13px"><BR></SPAN>
<DIV><SPAN style="FONT-FAMILY: arial,sans-serif; FONT-SIZE: 13px"><FONT style="BACKGROUND-COLOR: #cccccc">Can you pls corresponding on the mailing list in future, just so everyone is on the same page with these issues and fixes.</FONT></SPAN></DIV>
<DIV><FONT style="BACKGROUND-COLOR: #cccccc"></FONT></DIV></DIV>
<DIV>
<DIV><FONT style="BACKGROUND-COLOR: #cccccc">On Fri, Oct 25, 2013 at 1:28 PM, <SPAN dir=ltr><<A href="mailto:idxa@sina.com" target=_blank _act="check_domail"><FONT color=#184382>idxa@sina.com</FONT></A>></SPAN> wrote:<BR></FONT>
<BLOCKQUOTE style="BORDER-LEFT: #ccc 1px solid; MARGIN: 0px 0px 0px 0.8ex; PADDING-LEFT: 1ex">
<DIV><FONT style="BACKGROUND-COLOR: #cccccc"></FONT></DIV>
<DIV><FONT style="BACKGROUND-COLOR: #cccccc">Hi Aarthi,</FONT></DIV>
<DIV><FONT style="BACKGROUND-COLOR: #cccccc"></FONT></DIV>
<DIV><FONT style="BACKGROUND-COLOR: #cccccc">Thanks for your detailed explanation. </FONT></DIV>
<DIV><FONT style="BACKGROUND-COLOR: #cccccc">Function rateControlEnd() deals with the oldest frame and rateControlStart() deals with the current frame. Information of the oldest frame is stored in "curEncoder->m_rce".</FONT></DIV>
<DIV><FONT style="BACKGROUND-COLOR: #cccccc">Another question is in rateControlEnd() the variable of sliceType belongs to class RateControl and is not the correct slicetype for the oldest frame.So it looks like there is a problem in "if (sliceType != B_SLICE)", is it reasonable to modified it as "if (rce->sliceType != B_SLICE)"? And rce->sliceType should be assigned before.</FONT></DIV>
<DIV><FONT style="BACKGROUND-COLOR: #cccccc"></FONT></DIV>
<DIV><FONT style="BACKGROUND-COLOR: #cccccc">thanks,</FONT></DIV></BLOCKQUOTE></DIV></DIV></DIV></DIV></DIV></BLOCKQUOTE></DIV></DIV></DIV>