[x265] Optimize slice QP in PPS for x265
chen
chenm003 at 163.com
Tue Sep 27 18:02:33 CEST 2016
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 <xuefeng at 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
xuefeng at multicorewareinc.com
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mailman.videolan.org/pipermail/x265-devel/attachments/20160928/6a14feaa/attachment.html>
More information about the x265-devel
mailing list