Hello Xuefeng,
Your idea is good, in low bitrate environment, the MV, header are most important part in bitstream. I take a look your code, it sounds some problems. Your calculate correlation between sliceQp and QP Range (it is [0, 51] without range extension), so you will got a constant correlative array for every QP value. In the final, your algorithm output a QP close to average value of sliceQP. It is right, just spending more time on compute. Regards, Min At 2016-09-27 14:46:14,xuefeng <xuef...@multicorewareinc.com> wrote: All, hello! x265 set the slice QP in PPS to 26. Bits can be saved by calculating a closer approximation to the actual slice QP values utilized to encode the bitstream at different quality levels. The delta QP in each slice header is huge especially at low bit rate and quality levels. My test command is as follows. --repeat-headers --hash 1 --input-res 1280x720 --keyint 30 --min-keyint 30 --input "Johnny_1280x720.y4m" --fps 30 --output "test_new.mp4" There is a patch in the attachment for this method based on "Changeset: 11587 (d20b78d6d138)". There is information for x265 coding to see that bitrate goes down. There is informations for HM decoding to see that MD5 and QP are the same with the method. Regards, Xuefeng Jiang xuef...@multicorewareinc.com
_______________________________________________ x265-devel mailing list x265-devel@videolan.org https://mailman.videolan.org/listinfo/x265-devel