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. |
![]() |
#1 | Link |
Registered User
Join Date: May 2007
Posts: 53
|
How is qcomp exactly affecting bitrate and quantizer?
How is qcomp exactly working? If size of an group of frames is 16x times bigger with constant quantizer than with constant bitrate, what would be it's size with qcomp=0.6 and why?
qcomp is not affecting AQ: http://forum.doom9.org/showthread.ph...05#post1280305 Last edited by infoeater; 29th November 2011 at 03:28. |
![]() |
![]() |
![]() |
#2 | Link | |
Software Developer
![]() Join Date: Jun 2005
Location: Last House on Slunk Street
Posts: 13,246
|
qcomp = Quantizer Curve Compression
Quote:
See here: http://x264dev.multimedia.cx/archives/98
__________________
Go to https://standforukraine.com/ to find legitimate Ukrainian Charities 🇺🇦✊ Last edited by LoRd_MuldeR; 29th November 2011 at 13:53. |
|
![]() |
![]() |
![]() |
#3 | Link |
Registered User
Join Date: May 2007
Posts: 53
|
Thank you for the link. Now I understand more, but I still don't know how qcomp parameter is affecting bitrate used for blocks/frames. Is it using geometric average like this (I have suspicion, that it is, but I am not sure)?:
(a^qcomp)*(b^(1-qcomp)) where: a - bitrate which would be used at qcomp=1 or CQ. b - bitrate which would be used at qcomp=0 or CBR. or is it working somehow else? |
![]() |
![]() |
![]() |
#4 | Link |
Software Developer
![]() Join Date: Jun 2005
Location: Last House on Slunk Street
Posts: 13,246
|
Now that x264 uses its MB-Tree algorithm, and that is enabled by default(!), quantizers are controlled on the macroblock-level.
This means that blocks which will be referenced a lot in the future get a lower quantizer, while blocks which will be referenced rarely get a higher quantizer. And, as far as I understand, the qcomp parameter essentially controls the "strength" of the MB-Tree influence. (Too much MB-Tree influence probably causes too much noticeable quality variation, while too less MB-Tree influence destroys the MB-Tree/qcomp improvement)
__________________
Go to https://standforukraine.com/ to find legitimate Ukrainian Charities 🇺🇦✊ Last edited by LoRd_MuldeR; 29th November 2011 at 19:33. |
![]() |
![]() |
![]() |
#5 | Link |
Registered User
Join Date: May 2007
Posts: 53
|
ok, but still how is qcomp strength applied on MB-Tree (or generally on variability in bitrate if MB-Tree is turned off)? If an fragment of frame with constant amount of details and references is 32 times bigger on qcomp=1, then on qcomp=0, how big it will be at qcomp=0.6? Approximately 8 times bigger then on qcomp=0?
|
![]() |
![]() |
![]() |
Tags |
adaptive quantization, bitrate, qcomp, quantizer, x264 |
Thread Tools | Search this Thread |
Display Modes | |
|
|