View Full Version : x264 cpu utilisation during encodage
lutinor
25th April 2011, 20:18
Hi all,
I'm a bit surprised by the cpu utilisation in x264cli on my computer : 33% (its a six core amd cpu)
Is there a way to maximize the cpu utilisation to reach max fps ? :confused:
Thx in adv,
Max.
LoRd_MuldeR
25th April 2011, 20:40
x264 should be able to maximize CPU usage. But only if you are aren't bottlenecked by slow input, e.g. slow non-multithreaded decoder or slow non-multithreaded filters.
You can also try to manually increase the number of threads (default is '3/2 * number of CPU cores') and/or use a slower x264 preset...
Dark Shikari
25th April 2011, 21:08
x264 can't go any faster than your input, and we don't have psychic powers, so we have absolutely no idea what your commandline is, or what your input is, or what computer you're running it on.
lutinor
25th April 2011, 21:09
x264 should be able to maximize CPU usage. But only if you are aren't bottlenecked by slow input, e.g. slow non-multithreaded decoder or slow non-multithreaded filters.
You can also try to manually increase the number of threads (default is '3/2 * number of CPU cores') and/or use a slower x264 preset...
How can i do this :
You can also try to manually increase the number of threads
:confused:
LoRd_MuldeR
25th April 2011, 21:15
How can i do this :
You can also try to manually increase the number of threads
:confused:
Use the "--threads n" option. Usually you shouldn't need this tough, as the default value already take the number of cores into account.
TheRyuu
25th April 2011, 23:17
You should probably answer this first:
x264 can't go any faster than your input, and we don't have psychic powers, so we have absolutely no idea what your commandline is, or what your input is, or what computer you're running it on.
Because you shouldn't have to do this:
How can i do this :
You can also try to manually increase the number of threads
:confused:
Blue_MiSfit
26th April 2011, 01:22
Your source is the bottleneck, I'm sure.
Stereodude
26th April 2011, 02:15
You need to post more information. For example on my system using the below command lines pass 1 doesn't come close to maxing out my i7-2600k, but pass 2 does.
x264.exe --bitrate 26375 --preset veryslow --tune film --weightp 1 --bframes 3 --ref 4 --bluray-compat --b-adapt 2 --vbv-maxrate 40000 --vbv-bufsize 30000 --level 4.1 --keyint 24 --open-gop --slices 4 --colorprim "bt709" --transfer "bt709" --colormatrix "bt709" --sar 1:1 --pass 1 --qpfile ____.chp -o NUL ____.AVS
x264.exe --bitrate 26375 --preset veryslow --tune film --weightp 1 --bframes 3 --ref 4 --bluray-compat --vbv-maxrate 40000 --vbv-bufsize 30000 --level 4.1 --keyint 24 --open-gop --slices 4 --colorprim "bt709" --transfer "bt709" --colormatrix "bt709" --sar 1:1 --pass 2 --qpfile ____.chp -o ____.264 ____.AVS
vBulletin® v3.8.11, Copyright ©2000-2026, vBulletin Solutions Inc.