Welcome to Doom9's Forum, THE in-place to be for everyone interested in DVD conversion. Before you start posting please read the forum rules. By posting to this forum you agree to abide by the rules. Domains: forum.doom9.org / forum.doom9.net / forum.doom9.se |
|
|
#1 | Link |
|
Registered User
Join Date: Jan 2015
Posts: 1,128
|
Maximum and minimum quantizers don't always work
I recently attempted an XviD encode in which I-frames were locked to both a maximum and minimum quantizer of 2, and P-frames were locked to 4.
The encoder accepted only some of my suggestions. Is this a known bug? Is there a plan to fix it?
__________________
I ask unusual questions but always give proper thanks to those who give correct and useful answers. |
|
|
|
|
|
#2 | Link |
|
Registered User
Join Date: Sep 2007
Location: Italy
Posts: 55
|
If Adaptive Quantization/VAQ is activated, q-max goes slightly outside the set range (example: 3 -> 5; 5 -> 7). I think it's normal.
Xvid window status has an issue(?) and behaves as if VAQ is not activated and reports max values exactly as set. In all cases, q-min/max values for I-frames can only be set for 2-pass encoding. |
|
|
|
|
|
#3 | Link |
|
Registered User
Join Date: Jan 2015
Posts: 1,128
|
I don't use adaptive quantization. I got tired of always having to look up whether lumi masking or variance masking was the "correct" one to use.
__________________
I ask unusual questions but always give proper thanks to those who give correct and useful answers. |
|
|
|
|
|
#4 | Link |
|
Registered User
Join Date: Sep 2007
Location: Italy
Posts: 55
|
Without adaptive quantization:
1 pass (quantization or "CBR"): only the limits set for P and B frames are respected. This is not a bug, it is a behavior expected by Xvid. 2 pass: limits are respected for all types of I/P/B frames. With version 1.2.x (certainly with 1.2.2 that I used for many years of 2-pass encoding) it also happened to me that occasionally in the encoding of a film one and only one I-frame still arrived at Q=1, even though I had set the I-qmin to 2. Typically it was also the first frame of the video. This yes, I think was a small bug. With versions 1.3.4 + it never happened to me again. Note also that B-frame Quantizer ratio and Quantizer offset have priority over the limits imposed in the quantizer tab. Vice versa, in 2-pass mode, between I-boost (= I/P ratio) and I qmin, the latter prevails. Example, 1 pass/Constant quantizer encoding: if you set everything to "1" except "quantizer offset" which you set to 3, in the encoded stream you will have B frames with Q = 4. Last edited by blob2500; 16th March 2025 at 13:59. |
|
|
|
![]() |
| Thread Tools | Search this Thread |
| Display Modes | |
|
|