Re: [x265] Optimize slice QP in PPS for x265 (xuefeng)

2016-09-28 Thread xuefeng
hello Min, Thanks for your reply. a) deltaQp = sliceQp - ppsQp ppsQp is saved in PPS and deltaQp is saved in bitstream. In fact, I don't calculate new QP, but calculate a best delta for ppsQP and deltaQp without changing sliceQp. For example, deltaQp = 14(cost 4 bits), sliceQp = 40, and

Re: [x265] Optimize slice QP in PPS for x265

2016-09-27 Thread Deepthi Nandakumar
Thanks - this is a high priority item for low bitrate encodes. On Mon, Sep 26, 2016 at 11:46 PM, xuefeng 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

Re: [x265] Optimize slice QP in PPS for x265

2016-09-27 Thread chen
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

[x265] Optimize slice QP in PPS for x265

2016-09-27 Thread xuefeng
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