Log in

View Full Version : Do i need more b-frames? (x264's log )


ben45
24th August 2016, 12:32
Hi
Here's x264's log
---[Information] [8/24/2016 2:18:48 AM] x264 [info]: consecutive B-frames: 1.6% 2.4% 7.6% 88.4%

---[Information] [8/24/2016 2:18:48 AM] x264 [info]: Weighted P-Frames: Y:0.9% UV:0.3%
---[Information] [8/24/2016 2:18:48 AM] x264 [info]: ref P L0: 55.7% 7.9% 17.0% 5.1% 4.6% 3.9% 3.9% 1.8% 0.2% 0.0%
---[Information] [8/24/2016 2:18:48 AM] x264 [info]: ref B L0: 74.0% 12.5% 7.1% 2.4% 1.8% 1.4% 0.8%
---[Information] [8/24/2016 2:18:48 AM] x264 [info]: ref B L1: 93.6% 6.4%

Do i need more b-frames?
Correctly i use 3 b-frames

huhn
24th August 2016, 15:58
if i'm interpreting the log correctly than yes more b frames would be used if it would be possible.

that doesn't mean you need them.

LoRd_MuldeR
24th August 2016, 19:54
Well, you allowed at most 3 consecutive B-Frames, and x264 decided to max that out in most cases (88.4%).

Therefore it is likely (though not guaranteed) that, if you allow more than 3 consecutive B-Frames, x264 is actually going to use more than 3 consecutive B-Frames in many cases.

So, do you "need" more B-Frames? Nope. But are more B-Frames going to improve compression efficiency in your case? Probably yes!

(I suggest that you allow 5 or 6 consecutive B-Frames. Allowing up to 16 consecutive B-Frames doesn't hurt either, but I rarely see x264 actually going much higher than 5 or 6)

ben45
24th August 2016, 21:10
Well, you allowed at most 3 consecutive B-Frames, and x264 decided to max that out in most cases (88.4%).

Therefore it is likely (though not guaranteed) that, if you allow more than 3 consecutive B-Frames, x264 is actually going to use more than 3 consecutive B-Frames in many cases.

So, do you "need" more B-Frames? Nope. But are more B-Frames going to improve compression efficiency in your case? Probably yes!

(I suggest that you allow 5 or 6 consecutive B-Frames. Allowing up to 16 consecutive B-Frames doesn't hurt either, but I rarely see x264 actually going much higher than 5 or 6)

Thank you man
I believe in you!