Hi,
 
The patch has implemented VBV methods for x265.
1.add parameter "vbv-maxrate" "vbv-bufsize" "vbv-init" into cmd line;
2.implement vbv methods.
 
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.
 
I have tested with the following options,
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 
 
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.
I tested with local clips, it need more careful tests any questions, please let 
me know, thanks!

Attachment: 4915.patch
Description: Binary data

_______________________________________________
x265-devel mailing list
x265-devel@videolan.org
https://mailman.videolan.org/listinfo/x265-devel

Reply via email to