[x264-devel] how to get optimal thread number

Simon Horlick simonhorlick at gmail.com
Sun Nov 8 08:49:12 CET 2015


Internally, x264 selects 1.5*cores (with some extra logic to cap the number and fewer for sliced threads). If you aren’t sure what to use, set this to X264_THREADS_AUTO.

Thanks,

Simon

> On 8 Nov 2015, at 15:43, applemax82 at 163.com wrote:
> 
> Hi,
> 
> I have one question about setting optimal thread number in x264 encoder. There are many factors affecting encoder performance, such as cpu, input parameter, and concurrent tasks.
> 
> Is there some recommendation about selecting optimal thread number in x264 encoder in some situation?
> 
> Thanks
> 
> 
> Andrew
> 
> 
> 
> _______________________________________________
> x264-devel mailing list
> x264-devel at videolan.org <mailto:x264-devel at videolan.org>
> https://mailman.videolan.org/listinfo/x264-devel <https://mailman.videolan.org/listinfo/x264-devel>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mailman.videolan.org/pipermail/x264-devel/attachments/20151108/5a00316f/attachment.html>


More information about the x264-devel mailing list