I'm using x265 encoder for HEVC.
I have 3 different configurations. Have
- 4 B frames (B4)
- 2 B frames (B2)
- 0 B frames (B0 - all P frames)
Their encoding times are different.
B4 and B2 need much less encoding time than B0 that contains only P frames. Do you have any idea why?
Both P and B frames have equal QP using parameter --pbratio 1.0.
You can see the three different output files here using QP 36: B4, B2 and B0.
You could argue that encoding B-frames is simpler because interpolating is simpler then extrapolating (as in the case of P-frames). Interpolating tends to give smaller errors then extrapolating, which reduces the amount of bits that needs to be encoded.
As for the results using the HM 15.0 reference software, this is reference software so performance is not the main priority. Quote from the HM software manual: