<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;">
<div class="im">On Tue, Aug 25, 2009 at 2:57 AM, Alessandro<br>
Ferrari<<a href="mailto:alessandroferrari87@gmail.com">alessandroferrari87@gmail.com</a>> wrote:<br>
> Hi dear community,<br>
> I have a problem with the encoding using x264.<br>
> After I call x264_encoder_encode( h, &nal, &i_nal, pic, &pic_out) function<br>
> I have nal= NULL, i_nal=0 and the function return 0. I'm sure that pic<br>
> contain the correct image. The x264_t h is open using the default<br>
> parameters, i only change width and length of the video. The function don't<br>
> give me any error, it seems that it not encode any data. I include the code<br>
> of encoding function that I implement watching x264.c.<br>
<br>
</div>x264 has an encoding delay depending on your parameters; it will not<br>
return frames until a number of frames have been inputted. This delay<br>
is used for lookahead purposes. Keep inputting frames and you will<br>
eventually get frames out.<br>
<br>
Dark Shikari<br>
</blockquote><div><br>I have a strange error when i try to access at the fields of x264_t. I have this compilation error: <br>transcoder.c:173: error: dereferencing pointer to incomplete type<br>The automatic code completion of my ide don't find any fields for the pointer at x264_t h, but the compiler correct recognize the presence of the type x264_t. I include on the x264.h header. Can this the cause of problem?<br>
Many thanks.<br></div></div>