<div dir="ltr"><span class="" id="Sp1.s2_o" style="color:rgb(0,0,0);font-family:arial,helvetica,'lucida sans','arial unicode ms',code2000,verdana,sans-serif;font-size:13px;background-color:rgb(229,245,255)"><span class="" value="1010/noun:common" id="token_1" style="background-color:rgb(185,231,253)">Ok</span><span class="" id="token_2">, </span></span><span class="" value="7878/pron" id="token_1" style="color:rgb(0,0,0);font-family:arial,helvetica,'lucida sans','arial unicode ms',code2000,verdana,sans-serif;font-size:13px;background-color:rgb(185,231,253)">You</span><span class="" value="4004/verb:plain" id="token_2" style="color:rgb(0,0,0);font-family:arial,helvetica,'lucida sans','arial unicode ms',code2000,verdana,sans-serif;font-size:13px">'re</span><span style="color:rgb(0,0,0);font-family:arial,helvetica,'lucida sans','arial unicode ms',code2000,verdana,sans-serif;font-size:13px;background-color:rgb(229,245,255)"> </span><span class="" value="2020/adj:base" id="token_3" style="color:rgb(0,0,0);font-family:arial,helvetica,'lucida sans','arial unicode ms',code2000,verdana,sans-serif;font-size:13px">right</span><span class="" id="token_4" style="color:rgb(0,0,0);font-family:arial,helvetica,'lucida sans','arial unicode ms',code2000,verdana,sans-serif;font-size:13px">,</span><span style="color:rgb(0,0,0);font-family:arial,helvetica,'lucida sans','arial unicode ms',code2000,verdana,sans-serif;font-size:13px;background-color:rgb(229,245,255)"> </span><span class="" value="7878/pron" id="token_5" style="color:rgb(0,0,0);font-family:arial,helvetica,'lucida sans','arial unicode ms',code2000,verdana,sans-serif;font-size:13px">it</span><span style="color:rgb(0,0,0);font-family:arial,helvetica,'lucida sans','arial unicode ms',code2000,verdana,sans-serif;font-size:13px;background-color:rgb(229,245,255)"> </span><span class="" value="4004/verb:plain" id="token_6" style="color:rgb(0,0,0);font-family:arial,helvetica,'lucida sans','arial unicode ms',code2000,verdana,sans-serif;font-size:13px">is</span><span style="color:rgb(0,0,0);font-family:arial,helvetica,'lucida sans','arial unicode ms',code2000,verdana,sans-serif;font-size:13px;background-color:rgb(229,245,255)"> </span><span class="" value="3030/adv" id="token_7" style="color:rgb(0,0,0);font-family:arial,helvetica,'lucida sans','arial unicode ms',code2000,verdana,sans-serif;font-size:13px">entirely</span><span style="color:rgb(0,0,0);font-family:arial,helvetica,'lucida sans','arial unicode ms',code2000,verdana,sans-serif;font-size:13px;background-color:rgb(229,245,255)"> </span><span class="" value="1013/noun:acronym" id="token_8" style="color:rgb(0,0,0);font-family:arial,helvetica,'lucida sans','arial unicode ms',code2000,verdana,sans-serif;font-size:13px">du</span><span style="color:rgb(0,0,0);font-family:arial,helvetica,'lucida sans','arial unicode ms',code2000,verdana,sans-serif;font-size:13px;background-color:rgb(229,245,255)"> </span><span class="" value="5050/prep" id="token_9" style="color:rgb(0,0,0);font-family:arial,helvetica,'lucida sans','arial unicode ms',code2000,verdana,sans-serif;font-size:13px">to</span><span style="color:rgb(0,0,0);font-family:arial,helvetica,'lucida sans','arial unicode ms',code2000,verdana,sans-serif;font-size:13px;background-color:rgb(229,245,255)"> </span><span class="" value="3c3d/det" id="token_10" style="color:rgb(0,0,0);font-family:arial,helvetica,'lucida sans','arial unicode ms',code2000,verdana,sans-serif;font-size:13px">the</span><span style="color:rgb(0,0,0);font-family:arial,helvetica,'lucida sans','arial unicode ms',code2000,verdana,sans-serif;font-size:13px;background-color:rgb(229,245,255)"> </span><span class="" value="1010/noun:common" id="token_11" style="color:rgb(0,0,0);font-family:arial,helvetica,'lucida sans','arial unicode ms',code2000,verdana,sans-serif;font-size:13px">number</span><span style="color:rgb(0,0,0);font-family:arial,helvetica,'lucida sans','arial unicode ms',code2000,verdana,sans-serif;font-size:13px;background-color:rgb(229,245,255)"> </span><span class="" value="5050/prep" id="token_12" style="color:rgb(0,0,0);font-family:arial,helvetica,'lucida sans','arial unicode ms',code2000,verdana,sans-serif;font-size:13px">of</span><span style="color:rgb(0,0,0);font-family:arial,helvetica,'lucida sans','arial unicode ms',code2000,verdana,sans-serif;font-size:13px;background-color:rgb(229,245,255)"> </span><span class="" value="1010/noun:common" id="token_13" style="color:rgb(0,0,0);font-family:arial,helvetica,'lucida sans','arial unicode ms',code2000,verdana,sans-serif;font-size:13px">threads</span><span class="" id="token_14" style="color:rgb(0,0,0);font-family:arial,helvetica,'lucida sans','arial unicode ms',code2000,verdana,sans-serif;font-size:13px">,</span><span style="color:rgb(0,0,0);font-family:arial,helvetica,'lucida sans','arial unicode ms',code2000,verdana,sans-serif;font-size:13px;background-color:rgb(229,245,255)"> </span><span class="" value="6868/conj" id="token_15" style="color:rgb(0,0,0);font-family:arial,helvetica,'lucida sans','arial unicode ms',code2000,verdana,sans-serif;font-size:13px">but</span><span style="color:rgb(0,0,0);font-family:arial,helvetica,'lucida sans','arial unicode ms',code2000,verdana,sans-serif;font-size:13px;background-color:rgb(229,245,255)"> </span><span class="" value="2428/pron" id="token_16" style="color:rgb(0,0,0);font-family:arial,helvetica,'lucida sans','arial unicode ms',code2000,verdana,sans-serif;font-size:13px">that</span><span style="color:rgb(0,0,0);font-family:arial,helvetica,'lucida sans','arial unicode ms',code2000,verdana,sans-serif;font-size:13px;background-color:rgb(229,245,255)"> </span><span class="" value="080b/verb:plain" id="token_17" style="color:rgb(0,0,0);font-family:arial,helvetica,'lucida sans','arial unicode ms',code2000,verdana,sans-serif;font-size:13px">does</span><span style="color:rgb(0,0,0);font-family:arial,helvetica,'lucida sans','arial unicode ms',code2000,verdana,sans-serif;font-size:13px;background-color:rgb(229,245,255)"> </span><span class="" value="3031/adv" id="token_18" style="color:rgb(0,0,0);font-family:arial,helvetica,'lucida sans','arial unicode ms',code2000,verdana,sans-serif;font-size:13px">not</span><span style="color:rgb(0,0,0);font-family:arial,helvetica,'lucida sans','arial unicode ms',code2000,verdana,sans-serif;font-size:13px;background-color:rgb(229,245,255)"> </span><span class="" value="0448/verb:plain" id="token_19" style="color:rgb(0,0,0);font-family:arial,helvetica,'lucida sans','arial unicode ms',code2000,verdana,sans-serif;font-size:13px">explain</span><span style="color:rgb(0,0,0);font-family:arial,helvetica,'lucida sans','arial unicode ms',code2000,verdana,sans-serif;font-size:13px;background-color:rgb(229,245,255)"> </span><span class="" value="7474/pron" id="token_20" style="color:rgb(0,0,0);font-family:arial,helvetica,'lucida sans','arial unicode ms',code2000,verdana,sans-serif;font-size:13px">me</span><span style="color:rgb(0,0,0);font-family:arial,helvetica,'lucida sans','arial unicode ms',code2000,verdana,sans-serif;font-size:13px;background-color:rgb(229,245,255)"> </span><span class="" value="5c33/conj" id="token_21" style="color:rgb(0,0,0);font-family:arial,helvetica,'lucida sans','arial unicode ms',code2000,verdana,sans-serif;font-size:13px">why</span><span style="color:rgb(0,0,0);font-family:arial,helvetica,'lucida sans','arial unicode ms',code2000,verdana,sans-serif;font-size:13px;background-color:rgb(229,245,255)"> </span><span class="" value="3030/adv" id="token_22" style="color:rgb(0,0,0);font-family:arial,helvetica,'lucida sans','arial unicode ms',code2000,verdana,sans-serif;font-size:13px">so</span><span style="color:rgb(0,0,0);font-family:arial,helvetica,'lucida sans','arial unicode ms',code2000,verdana,sans-serif;font-size:13px;background-color:rgb(229,245,255)"> </span><span class="" value="2829/det" id="token_23" style="color:rgb(0,0,0);font-family:arial,helvetica,'lucida sans','arial unicode ms',code2000,verdana,sans-serif;font-size:13px">few</span><span style="color:rgb(0,0,0);font-family:arial,helvetica,'lucida sans','arial unicode ms',code2000,verdana,sans-serif;font-size:13px;background-color:rgb(229,245,255)"> </span><span class="" value="1010/noun:common" id="token_24" style="color:rgb(0,0,0);font-family:arial,helvetica,'lucida sans','arial unicode ms',code2000,verdana,sans-serif;font-size:13px">bits</span><span style="color:rgb(0,0,0);font-family:arial,helvetica,'lucida sans','arial unicode ms',code2000,verdana,sans-serif;font-size:13px;background-color:rgb(229,245,255)"> </span><span class="" value="4004/verb:plain" id="token_25" style="color:rgb(0,0,0);font-family:arial,helvetica,'lucida sans','arial unicode ms',code2000,verdana,sans-serif;font-size:13px">are</span><span style="color:rgb(0,0,0);font-family:arial,helvetica,'lucida sans','arial unicode ms',code2000,verdana,sans-serif;font-size:13px;background-color:rgb(229,245,255)"> </span><span class="" value="0438/verb:plain" id="token_26" style="color:rgb(0,0,0);font-family:arial,helvetica,'lucida sans','arial unicode ms',code2000,verdana,sans-serif;font-size:13px">allocated</span><span class="" id="token_27" style="color:rgb(0,0,0);font-family:arial,helvetica,'lucida sans','arial unicode ms',code2000,verdana,sans-serif;font-size:13px">.</span><div>
<span class="" style="color:rgb(0,0,0);font-family:arial,helvetica,'lucida sans','arial unicode ms',code2000,verdana,sans-serif;font-size:13px;background-color:rgb(229,245,255)"><span class="" value="7070/pron" id="token_3">I just</span> <span class="" value="080a/verb:plain" id="token_5">wanted</span> <span class="" value="a8a8/part" id="token_7">to</span> <span class="" value="4848/verb:inf" id="token_8">know</span> <span class="" value="5c5c/conj" id="token_9">if</span> <span class="" value="2828/det" id="token_10">this</span> <span class="" value="1010/noun:common" id="token_11">behaviour</span> <span class="" value="4004/verb:plain" id="token_12">was</span> <span class="" value="0438/verb:plain" id="token_13">known</span><span class="" id="token_14">.</span></span><br style="color:rgb(0,0,0);font-family:arial,helvetica,'lucida sans','arial unicode ms',code2000,verdana,sans-serif;font-size:13px">
<span class="" id="Sp2.s2_o" style="color:rgb(0,0,0);font-family:arial,helvetica,'lucida sans','arial unicode ms',code2000,verdana,sans-serif;font-size:13px"><span class="" value="7070/pron" id="token_1">I</span> <span class="" value="0809/verb:plain" id="token_2">will</span> <span class="" value="0448/verb:plain" id="token_3">use</span> <span class="" value="2836/det" id="token_4">less</span> <span class="" value="1010/noun:common" id="token_5">threads</span> <span class="" value="6465/conj" id="token_6">and/or</span> <span class="" value="080b/verb:plain" id="token_7">don't</span> <span class="" value="0448/verb:plain" id="token_9">take into account</span> <span class="" value="3c3d/det" id="token_10">the</span> <span class="" value="2c2e/numeric" id="token_11">first</span> <span class="" value="1010/noun:common" id="token_12">secondes</span> <span class="" value="5050/prep" id="token_13">for</span> <span class="" value="2827/det" id="token_14">my</span> <span class="" value="1010/noun:common" id="token_15">tests</span><span class="" id="token_16">.</span></span><br style="color:rgb(0,0,0);font-family:arial,helvetica,'lucida sans','arial unicode ms',code2000,verdana,sans-serif;font-size:13px">
<span class="" id="Sp3.s2_o" style="color:rgb(0,0,0);font-family:arial,helvetica,'lucida sans','arial unicode ms',code2000,verdana,sans-serif;font-size:13px"><span class="" value="7070/pron" id="token_1">I</span> <span class="" value="0809/verb:plain" id="token_2">will</span> <span class="" value="3030/adv" id="token_3">certainly</span> <span class="" value="0448/verb:plain" id="token_4">look</span> <span class="" value="3030/adv" id="token_5">in detail</span> <span class="" value="3c3d/det" id="token_6">the</span> <span class="" value="1013/noun:acronym" id="token_7">x264</span> <span class="" value="1010/noun:common" id="token_8">rate</span> <span class="" value="1010/noun:common" id="token_9">control</span> <span class="" value="3030/adv" id="token_10">in the next months</span> <span class="" value="6465/conj" id="token_14">and</span> <span class="" value="5c5c/conj" id="token_15">if</span> <span class="" value="7070/pron" id="token_16">I</span> <span class="" value="0404/verb:plain" id="token_17">find</span> <span class="" value="3c3d/det" id="token_18">the</span> <span class="" value="1010/noun:common" id="token_19">origin</span> <span class="" value="5050/prep" id="token_20">of</span> <span class="" value="2828/det" id="token_21">this</span> <span class="" value="1010/noun:common" id="token_22">behaviour</span><span class="" id="token_23">,</span> <span class="" value="7070/pron" id="token_24">I will</span> <span class="" value="3030/adv" id="token_25">obviously</span> <span class="" value="0404/verb:plain" id="token_26">let</span> <span class="" value="7878/pron" id="token_27">you</span> <span class="" value="4848/verb:inf" id="token_28">know</span><span class="" id="token_29">.</span></span><br>
<div style><br></div><div style>Thank you for you help. </div></div></div><div class="gmail_extra"><br><br><div class="gmail_quote">2013/2/1 Jason Garrett-Glaser <span dir="ltr"><<a href="mailto:jason@x264.com" target="_blank">jason@x264.com</a>></span><br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div class="im">On Fri, Feb 1, 2013 at 12:59 AM, eloise vidal <<a href="mailto:eloise.vidal@gmail.com">eloise.vidal@gmail.com</a>> wrote:<br>
> Hey Jason,<br>
><br>
> You can download 2 sequences and a summary of my observations at :<br>
> <a href="http://www.digigram.com/DOWNLOADS/EVI" target="_blank">http://www.digigram.com/DOWNLOADS/EVI</a><br>
> login : ftp_download<br>
> pwd : SMD2qcgY<br>
<br>
</div><div class="im">"and it spends all the sequence (200 frames) to increase the number of<br>
</div>bit per frame to reach the target bitrate." is an incorrect<br>
description of what is happening here. CBR doesn't have a target<br>
bitrate. Ratecontrol is just reacting slowly in this case -- you can<br>
see it takes about 24 frames for ratecontrol to start reacting...<br>
which is not coincidentally the number of threads!<br>
<br>
As far as I can tell, the issue is almost entirely in the first 24<br>
frames of the video, and the encoder is largely fine after that.<br>
<br>
Again, might I suggest using fewer threads? That, or submit a patch<br>
to improve the start of encoding with 1-pass CBR ratecontrol with<br>
insane thread counts, or at least figure out where the problem is<br>
occurring (updated predictors need to be propagated to past threads,<br>
maybe?)?<br>
<div class="HOEnZb"><div class="h5"><br>
Jason<br>
_______________________________________________<br>
x264-devel mailing list<br>
<a href="mailto:x264-devel@videolan.org">x264-devel@videolan.org</a><br>
<a href="http://mailman.videolan.org/listinfo/x264-devel" target="_blank">http://mailman.videolan.org/listinfo/x264-devel</a><br>
</div></div></blockquote></div><br></div>