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. |
|
28th November 2011, 14:54 | #1 | Link |
Registered User
Join Date: May 2007
Posts: 53
|
Different quantizers inside the same frame
In H.264, as far as I understand each block in the same frame can be encoded with different quantizer. Whole frame however have the quantizer too. So what does quantizer of the whole frame mean?
Also XVID's AQ is working in constant quantizer mode too. How is it possible? Is constant quantizer in XVID in fact varying through the frame? Is it varying in constant quantizer mode without AQ too? EDIT: Thank you for your words of knowledge, Lord. Last edited by infoeater; 29th November 2011 at 07:47. |
28th November 2011, 15:05 | #2 | Link | ||
Software Developer
Join Date: Jun 2005
Location: Last House on Slunk Street
Posts: 13,248
|
Quote:
Apart from that, there is no relation per se, I think. It completely depends on which algorithm is used to decide the quantizer value of each block. That's also the reason why "frame" quantizers don't mean anything, as soon as AQ is used. In general, the frame quantizer is not equal to the average or median block quantizer, although a specific AQ algorithm might be tailored that way. (In theory, even if the frame quantizer is 10, the quantizers of all blocks in that frame could be forced to 30, by applying the proper offsets) Quote:
Xvid has nothing like a CRF mode, only a CQ mode. That's probably why they (optionally?) apply AQ in CQ mode. It means that first Xvid's rate controls sets the same quantizer for each frame and then the AQ algorithm is applied to modify the quantizers of individual blocks. Note that here the relation between the "frame" quantizer and the "block" quantizers is an implementation detail of how the AQ is applied.
__________________
Go to https://standforukraine.com/ to find legitimate Ukrainian Charities 🇺🇦✊ Last edited by LoRd_MuldeR; 28th November 2011 at 15:32. |
||
Tags |
h.264, quantizer, x264, xvid |
|
|