<div class="gmail_quote">
<div>Dear all:</div>
<div> </div>
<div>As title, I am doing some research and I need to know only Y component bit rate for each frames.</div>
<div> </div>
<div>In JM9.5 ,I can easily get it in two ways:</div>
<div>1. Just encoding a YUV4:0:0 sequence and therefore see the resulting psnr and bitrate for Y component .</div>
<div>2. Access the variable in StatParameters structure in the file "global.h"</div>
<div> </div>
<div>In QCIF sequence , only slightly diffenent amount of bits(100~200 bits) between these 2 methods , but its' OK~</div>
<div> </div>
<div>I can't use method 1 because x264 could only encode 4:2:0 sequence.</div>
<div>I try to trace code and find "x264_t->stat.frame.i_tex_bits" may be useful</div>
<div>Unfortunately it records both Y and UV coefficient bits :(</div>
<div> </div>
<div>Is there any way to get Ybits easily?</div>
<div>Or can you teach me how to pull the Ybits recored out roughly?</div>
<div> </div>
<div>Thanks for answering~ </div>
<div> </div><font color="#888888">
<div>Jason Su</div></font></div><br>