<div dir="ltr">Thanks for your quick reply. I've been told that what I've referred to as QS might be the qscale in x264. <div><div><br></div><div>Essentially I'm interested in the quantity given by 4+6*log2( QP ).</div></div><div><br></div><div>If getting this quantity for each MB is not possible/difficult, it would also help me to just record the mean QP used in each MB of each frame.</div></div><br><div class="gmail_quote"><div dir="ltr">On Wed, Dec 7, 2016 at 12:39 PM BugMaster <<a href="mailto:BugMaster@narod.ru">BugMaster@narod.ru</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">On Wed, 07 Dec 2016 17:31:48 +0000, Eymen Kurdoglu wrote:<br class="gmail_msg">
> Hi all,<br class="gmail_msg">
<br class="gmail_msg">
> Is there a way to get the mean value of the quantization stepsize<br class="gmail_msg">
> (QS) used in a frame, instead of the mean value of the QP used<br class="gmail_msg">
> (which is the one that the debug log outputs)? Due to the non-linear<br class="gmail_msg">
> mapping between the quantization stepsize and the QP, finding the QS<br class="gmail_msg">
> equivalent of the mean QP is not equal to the actual mean value of the QS. <br class="gmail_msg">
<br class="gmail_msg">
> I would appreciate it if someone can direct me to the part of the code that might change this. <br class="gmail_msg">
<br class="gmail_msg">
> Here are the specific settings I'm using in my app.<br class="gmail_msg">
> High profile, veryfast, zerolatency, single thread, no scene-cuts,<br class="gmail_msg">
> no weighted prediction and the RC parameters are:<br class="gmail_msg">
> param.rc.i_rc_method = X264_RC_ABR;<br class="gmail_msg">
> param.rc.i_bitrate = i_target;<br class="gmail_msg">
> param.rc.i_vbv_max_bitrate = param.rc.i_bitrate;<br class="gmail_msg">
> param.rc.i_vbv_buffer_size = param.rc.i_bitrate/10; <br class="gmail_msg">
<br class="gmail_msg">
> Thanks a lot, and have a nice day!<br class="gmail_msg">
<br class="gmail_msg">
> Eymen<br class="gmail_msg">
<br class="gmail_msg">
Hi. What do you mean exactly by quantization stepsize (QS)? This is<br class="gmail_msg">
the first time I see this term used especially with H.264 encoding.<br class="gmail_msg">
<br class="gmail_msg">
_______________________________________________<br class="gmail_msg">
x264-devel mailing list<br class="gmail_msg">
<a href="mailto:x264-devel@videolan.org" class="gmail_msg" target="_blank">x264-devel@videolan.org</a><br class="gmail_msg">
<a href="https://mailman.videolan.org/listinfo/x264-devel" rel="noreferrer" class="gmail_msg" target="_blank">https://mailman.videolan.org/listinfo/x264-devel</a><br class="gmail_msg">
</blockquote></div>