<div class="gmail_quote">2009/8/25 Jason Garrett-Glaser <span dir="ltr"><<a href="mailto:darkshikari@gmail.com">darkshikari@gmail.com</a>></span><br><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
On Tue, Aug 25, 2009 at 2:57 PM, Alessandro<br>
<div class="im">Ferrari<<a href="mailto:alessandroferrari87@gmail.com">alessandroferrari87@gmail.com</a>> wrote:<br>
</div><div><div></div><div class="h5">> 2009/8/25 Jason Garrett-Glaser <<a href="mailto:darkshikari@gmail.com">darkshikari@gmail.com</a>><br>
>><br>
>> > Ok, many thanks for support, you save me ;) i try to install the last<br>
>> > version and then I retry. I hope i don't meet again this problem, else i<br>
>> > newly contact this mailing list. Only a last question, for disable<br>
>> > lookahead<br>
>> > i've only to put param.rc.i_lookahead = 0?<br>
>><br>
>> Correct.<br>
>><br>
>> Also, you can drop by #x264 or #x264dev on Freenode IRC (<br>
>> <a href="http://irc.freenode.net" target="_blank">irc.freenode.net</a> ) if you want more realtime/interactive help.<br>
>><br>
>> Dark Shikari<br>
><br>
> I update the x264 version and I've add this line before calling the encoder<br>
> function:<br>
><br>
> param.i_bframe_adaptive = 0;<br>
> param.rc.i_lookahead = 0;<br>
> param.i_bframe = 0;<br>
><br>
> but the problem persists. Probably is not caused by frame delay.<br>
<br>
</div></div>What is the problem you're talking about? If you mean encoder_encode<br>
not returning a frame in the first few frames of input, that's<br>
normal--that's part of the frame delay. Threads cause frame delay as<br>
well, and by default, x264 will automatically pick multiple threads<br>
depending on how many cores your system has. To disable this, set<br>
threads to 1.<br>
<div><div></div><div class="h5"><br>
Dark Shikari<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><br>param.i_threads is set to one, but x264_encoder_encode( h, &nal, &i_nal, pic, &pic_out) return zero and i_nal=0 and nal=NULL...Probably is some hide error and i have to re-code my program, i don't know.<br>