Thanks, Jason.<div>But can I limit the numer of threads?</div><div>If I have 8 cores, can I use only 4?</div><div>Denio<br><br><div class="gmail_quote">On Fri, Nov 9, 2012 at 1:46 PM, Jason Garrett-Glaser <span dir="ltr"><<a href="mailto:jason@x264.com" target="_blank">jason@x264.com</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div class="HOEnZb"><div class="h5">On Thu, Nov 8, 2012 at 6:47 AM, Denio Mariz <<a href="mailto:deniomariz@gmail.com">deniomariz@gmail.com</a>> wrote:<br>
> I would like to capture video from a source (IP stream or TV capture),<br>
> encode it to H.264 save into a file. However, I would like to do this<br>
> in *real time*, that is, the time it should take to encode must be<br>
> very short.<br>
> I am trying to evaluate how to do this by software using x264. Of<br>
> course, it depends on the video atributes from the source and on the<br>
> hardware available to run the x264.<br>
><br>
> Assuming that the video source have always the same attributes, the<br>
> problem is to dimension the required CPU (processing power and number<br>
> of CPUs) in order to get to get the task done in real time. Am I<br>
> correct?<br>
><br>
> I have N processors (CPU cores) available, is it possible to<br>
> distribute (parallelize) the processing of one video over those N<br>
> processors? If yes, could somenoe give an example of how this could be<br>
> done, for example, using x264 command for an input file?<br>
<br>
</div></div>x264 uses threads by default.<br>
<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>
</blockquote></div><br></div>