[FFmpeg-user] ffmpeg x265 on multi-cpus

Moritz Barsnick barsnick at gmx.net
Mon Apr 10 13:14:34 EEST 2017

On Mon, Apr 10, 2017 at 09:58:59 +0000, fred fred wrote:
> I have tried all possible ways to use all my 16 cpus (x2 threads) to encode with libx265, but each time it fails...
> -pools, --pools, -p,  --numa-* ... and so on are not recognise at all

Those are x265 options (of the command line tool), not ffmpeg+libx265

First, please try ffmpeg's own "-threads 16" option. That should do the
right thing for you.

If you need to directly use those pool options of libx265, use a special
ffmpeg option:
  "-x265-params pools=8" (or something similar)

Also observe the info ffmpeg's libx265 encoder outputs when beginning
to encode, e.g.:
> x265 [info]: Thread pool created using 4 threads
> x265 [info]: frame threads / pool features       : 2 / wpp(4 rows)

BTW, your email's formatting is terribly broken:


More information about the ffmpeg-user mailing list