[x264-devel] Max thread number of x264

Guillaume POIRIER gpoirier at mplayerhq.hu
Tue Apr 6 14:20:58 CEST 2010


Hi,

On Tue, Apr 6, 2010 at 1:52 PM, kenter <kenter83 at gmail.com> wrote:
> Hi, Experts:
>      I have a server with 24 AMD CPUs equipped, however, when I set x264
> with --threads 36 (36 means 24*1.5), I found the CPU usage only 800+, which
> means only 8 CPU cores are filled.
>      I also use top -H -p PID to detect the real threads count of x264 proc,
> It shows 15 threads runs simutaneous at peak, I need help that How can I
> fully ultilize the CPU power?
>
>     My command line is:
>     SRC_FILE.yuv 720x576 -I 250 -i 25 -b 4 --b-adapt 1 --b-bias 0 --ref 6
> --deblock 0:0 --bitrate 500 --qpmin 2 --qpmax 51 --qpstep 3 --ratetol 8.0
> --aq-mode 0 --sar 16:15 --ipratio 1.25 --pbratio 1.25 --pass 0 --partitions
> all --cqm flat --direct spatial  --mvrange-thread 24 --me hex --merange 16
> --subme 6 --psy-rd 1.0:0.0 --mixed-refs --8x8dct --no-chroma-me
> --no-fast-pskip --trellis 0 --nr 0 --threads 36 --vbv-bufsize 2000
> --vbv-init 0.75  --aq-strength 1 --chroma-qp-offset 10 --weightb  --fps 25
> -o output_file.264

If I remember correctly, x264 scales proportionally with the video
resolution. That means that an HD content encoding would scale better
than a DVD-resolution video.

Guillaume
-- 
"I am the Jesus Christ of politics. I sacrifice myself for everyone."

 -- Silvio Berlusconi


More information about the x264-devel mailing list