<div style="line-height:1.7;color:#000000;font-size:14px;font-family:Arial"><div>Hi Zhou,</div><div> </div><div>Thanks for your quick response. But I think this kind of usage is not friendly. For other famous video encoder, just set some rate control option to enable two pass option, and run encoder program once. X264 is so popular, why developers in this forum to implement this usage?</div><div> </div><div>B.R.</div><div> </div><div>andrew<br></div><div id="divNeteaseMailCard"></div><div><br></div>At 2016-03-30 11:04:34, "zhou2090@126.com" <zhou2090@126.com> wrote:<br> <blockquote style="margin: 0px 0px 0px 0.8ex; padding-left: 1ex; border-left-color: rgb(204, 204, 204); border-left-width: 1px; border-left-style: solid;" id="isReplyContent"><style>body { line-height: 1.5; }blockquote { margin-top: 0px; margin-bottom: 0px; margin-left: 0.5em; }p { margin-top: 0px; margin-bottom: 0px; }div.foxdiv20160330110127285484 { }body { font-size: 10.5pt; font-family: 微软雅黑; color: rgb(0, 0, 0); line-height: 1.5; }</style>
<div><span></span>HI,<span style="line-height: 23px; font-family: Arial; font-size: 10.5pt; background-color: window;">Andrew</span></div><div><span style="line-height: 23px; font-family: Arial; font-size: 10.5pt; background-color: window;"><br></span></div><div><span style="line-height: 23px; font-family: Arial; font-size: 10.5pt; background-color: window;">x264 encoder with ‘--pass 2' need infomation return from the first encode processing, if you want to call x264 execute program once to acheive the '--pass 2' , please change the encode flow and replace the read 'stats' info interface by yourself.</span></div>
<div><br></div><div>Best Regrads</div><div><br></div><div><span style="color: rgb(0, 0, 0); background-color: rgba(0, 0, 0, 0);"> Zhou.</span></div><hr style="width: 210px; height: 1px;" align="left" color="#b5c4df" size="1">
<div><span><div style="margin: 10px; font-family: verdana; font-size: 10pt;"><div><a href="mailto:zhou2090@126.com">zhou2090@126.com</a></div></div></span></div>
<blockquote style="margin-top: 0px; margin-bottom: 0px; margin-left: 0.5em;"><div> </div><div style="border-width: 1pt medium medium; border-style: solid none none; border-color: rgb(181, 196, 223) currentColor currentColor; padding: 3pt 0cm 0cm;"><div style="background: rgb(239, 239, 239); padding: 8px; color: rgb(0, 0, 0); font-family: tahoma; font-size: 12px;"><div><b>发件人:</b> <a href="mailto:applemax82@163.com">qw</a></div><div><b>发送时间:</b> 2016-03-30 10:52</div><div><b>收件人:</b> <a href="mailto:x264-devel@videolan.org">x264-devel</a></div><div><b>主题:</b> [x264-devel] one question about two pass rate control</div></div></div><div><div class="FoxDiv20160330110127285484"><div style="color: rgb(0, 0, 0); line-height: 1.7; font-family: Arial; font-size: 14px;"><div>Hi,</div><div> </div><div>I'm think how to use two pass rate control in x264. The common usage is run x264 program with the options of '--pass 1' and '--stats', and then run x264 program again with the option of '--pass 2' to get final compressed h264 bitstream. The coding method is call x264 program twice.</div><div> </div><div>How to call x264 program once and use two pass rate control?</div><div> </div><div>Thanks!</div><div> </div><div>B.R.</div><div> </div><div>Andrew</div><div> </div></div><br><br><span title="neteasefooter"><p> </p></span></div></div></blockquote>
</blockquote></div><br><br><span title="neteasefooter"><p> </p></span>