<html>
<head>
<meta http-equiv="content-type" content="text/html; charset=UTF-8">
</head>
<body>
I see. You must include the notion of deadzone units in the help for the corresponding option, because now it's totally confusing.<br /><br />Several more questions have come up to me. <br />-Why don't you have a search on the mailing list contents? I might have found answers to some of my questions there, but without search the previous months are essentially unavailable to me.<br />-With 8*8 DCT active, why does the algorithm choose when to apply it? Whatever the blocks partitioning is, it could be applied everywhere (except for intra macroblocks), wouldn't it be more efficient?<br />-In the list of block partitions for B frames directly predicted blocks are listed as a separate block size with its own percentage, although they are not a separate size, but may have different sizes. Why?<br />-How does the algorithm decide, whether to insert IDR or simple I frame? Actually, I haven't seen a single IDR frame in my test encodes except for the initial one. So maybe it doesn't use them at all? And what exactly does the keyint parameter (and scenecut) specify? IDR frames only, simple I only or both types?<br />-What is the choice of frame type based on?<br />-What is the difference between simple RD and RD refinement for the subme parameter?<br />-How does the algorithm choose reference frames for blocks and what part of it makes that decision? I assume this choice is made collectively by the motion estimator set by me parameter and the RD optimizer, is this correct?<br /><br />1. Nov 2018 20:01 by <a href="mailto:lorenm@u.washington.edu" target="_blank" rel="noopener noreferrer">lorenm@u.washington.edu</a>:<br /><br /><blockquote class="tutanota_quote" style="border-left: 1px solid #93A3B8; padding-left: 10px; margin-left: 5px;">On Thu, 1 Nov 2018, <a href="mailto:vpstranger@tutanota.com" target="_blank" rel="noopener noreferrer">vpstranger@tutanota.com</a> wrote:<br /><blockquote>The default deadzone size (21 for inter blocks,11 for intra) seems large to<br />me. If the 21 interval is centered at zero, then all the frequency<br />coefficients less than 10.5 will turn to zero with this deadzone. As I<br />understand, there are quite many of them which are lower than this value and<br />the compression literature that I read mentioned much less deadzone. So why<br />is it so big?</blockquote><br />The deadzone parameter is a fixed-point number, divide it by 64 to get the<br />logical value. Also, it applies to each side of zero, not split in half;<br />and is in addition to the amount of deadzone implied by "round to nearest".<br /><br />So a deadzone parameter of "0" means that coefs up to 0.5 round down to 0.<br />A parameter of "21" means that coefs up to 0.83 round down to 0.<br />A parameter of "64" means that coefs up to 1.5 round down to 0.<br /><blockquote>When I see the encode stats for each frame, I see that for all B frames there<br />is the amount of P blocks listed and no B blocks. I assume it is a program<br />error, isn't it?</blockquote><br />The each-frame stats line just doesn't distinguish between P blocks and B<br />blocks, they're added to the same counter.<br /><br />If the summary at the end of the encode says something like<br />"L0:39.7% L1:42.9% BI:17.4%", then it's working correctly.<br />If it hypothetically said "L0:100% L1:0% Bi:0%", that would indicate<br />P-blocks in B-frames.<br /><blockquote>When I tried to calculate SSIM for each frame, I got a warning in the log<br />that with adaptive quantization turned off SSIM calculation will be<br />incorrect. I don't understand how these two are related. Adaptive<br />quantization modifies quantization parameter values for different blocks in a<br />frame, so why is it not possible to calculate the metric correctly if it is<br />turned off?</blockquote><br />The SSIM measured in that situation is still true, it's just not as useful.<br /><br />Basically, the main reason you'd turn off AQ is if you want the encoder<br />to optimize for PSNR at the expense of every other metric. In which case<br />you probably want to measure PSNR too, rather than the other metrics you<br />told it to sacrifice. (There could be weird use-cases that justify<br />otherwise, of course.)<br /><br />--Loren Merritt<br />_______________________________________________<br />x264-devel mailing list<br /><a href="mailto:x264-devel@videolan.org" target="_blank" rel="noopener noreferrer">x264-devel@videolan.org</a><br /><a href="https://mailman.videolan.org/listinfo/x264-devel" target="_blank" rel="noopener noreferrer">https://mailman.videolan.org/listinfo/x264-devel</a></blockquote> </body>
</html>