<DIV>Hi,</DIV>
<DIV> </DIV>
<DIV>The patch has implemented VBV methods for x265.<BR>1.add parameter "vbv-maxrate" "vbv-bufsize" "vbv-init" into cmd line;<BR>2.implement vbv methods.</DIV>
<DIV> </DIV>
<DIV>The patch doesn't include vbv algorithms based on lookahead, it will be added in future. And perhaps CU level ratecontrol will also be added later.</DIV>
<DIV> </DIV>
<DIV>I have tested with the following options,<BR>x265.exe --input BQMall_832x480_60.yuv -o BQMall_832x480_60_vbv.hevc --recon BQMall_832x480_60_vbv.yuv --fps 60 --input-res 832x480 --keyint 30 --frames 600 --rd 1 --crf 28 --vbv-maxrate 600 --vbv-bufsize 600 -F 5 --b-adapt 1 --bframes 3 --log 2 </DIV>
<DIV> </DIV>
<DIV>It works relatively OK. With more strict condition like crf=20¡¢smaller buffersize etc., the encoder will underflow or overflow,  maybe it need lookahead vbv or CU level ratecontol to deal with.</DIV>
<DIV>I tested with local clips, it need more careful tests any questions, please let me know, thanks!<BR></DIV>