View Full Version : Why aren't B-frame quantizers dynamic?
drcl
3rd September 2006, 17:57
Why are they set according to a I/P frame ratio and offset calculation?
DarkZell666
3rd September 2006, 22:30
Tha'ts a joly good question, for which an answer would be interesting indeed :)
Didée
4th September 2006, 01:51
The question "Why aren't B-frame quantizers dynamic?" is not quite correct. B-frame quantizers are dynamic. Just as dynamic as P-frame quantizers are. :)
Sharktooth
4th September 2006, 03:59
I think he meant "adaptive" or something like that...
chilledoutuk
4th September 2006, 04:23
i really think he means why is the quant always associated to the p frames it refers to as oposed to being set independantly using some rate controll alglorithm.
foxyshadis
4th September 2006, 04:44
But it's not like the b-frame quant is based on the last p-frame. Afaik, the codec calculates what the quant would be if it were a p-frame, and if it's an i lowers it, if it's a b it applies the ratio and offset. The quantizers of b-frames will fluctuate just as much as the other frame types, in a very similar fashion to the way the p-frames would if the stream was made again without b-frames.
akupenguin
4th September 2006, 04:49
The short answer is: because it works.
No one has found a fast algorithm that gives better results than a constant offset/ratio. There's an experimental brute-force decision in x264 (see "rdrc"), but it's dead slow and not well integrated with the rest of ratecontrol. And sure enough, the B-frame offset chosen by brute-force doesn't vary all that much; most of its benefits come from selecting the base I- and P-frame qps.
drcl
4th September 2006, 15:35
in XVID encoder tooltips....
BVOP Quant = AVG(past_VOP_quant, future_VOP_quant) * quant_ratio + quant_offset
vBulletin® v3.8.11, Copyright ©2000-2026, vBulletin Solutions Inc.