<DIV>Hi,<BR></DIV>
<DIV>I have written a patch for adding CRF into x265,including the following features£¬</DIV>
<DIV> </DIV>
<DIV>1. add a parameter of "--crf" to the command line,<BR>2. modify the running branches of rateControlStart, using "if(isAbr)" instead of "switch (cfg->param.rc.rateControlMode)", for the logic of classifying the combination of multiple ratecontrol methods is very complex, it is not only based on rateControlMode, so porting x264's way looks feasible,<BR>3. add crf method into x265.</DIV>
<DIV> </DIV>
<DIV>And it looks a better way to add a function like x265_parameters_validate() to deal with parameters validation, and add a function like RateControl::init() to do more initialization work instead of RateControl::RateControl();<BR></DIV>