This forum uses cookies
This forum makes use of cookies to store your login information if you are registered, and your last visit if you are not. Cookies are small text documents stored on your computer; the cookies set by this forum can only be used on this website and pose no security risk. Cookies on this forum also track the specific topics you have read and when you last read them. Please confirm whether you accept or reject these cookies being set.

A cookie will be stored in your browser regardless of choice to prevent you being asked this question again. You will be able to change your cookie settings at any time using the link in the footer.

X264 max CPU usage?
#2
of cpu during a Temporaldegrain2 + deinterlacing
both are rather slow and have parts in them that can't really be multihtreaded that good and might cause a bottleneck

Quote:there is a way to increase CPU usage or 17 is a fisical (software) limit of X264?
iirc.
there is no real thread limit in x264, but depending on:
  • speed the hybrid encoder can acces
  • resolution of the input
  • number of threads (= encoding threads), lookahead-threads, rc-lookahead, sync-lookahead, sliced-threads
(for details you would have to look at https://code.videolan.org/videolan/x264/.../encoder.c)
there is a limit on how much threads acctually can be utilized, also keep in mind that high number of threads can decrease the accuracy of the results an inter-thread communication might slow down the process too. (so higher cpu utilization, does not have to mean higher speed)

Also faster presets will also limit the effective cpu usage since they are streamlined to be fast and efficient an not unecessarily use ressources that are not needed.

maybe not the best analogy, but maybe it helps:
If you have 6 fast cars and you want to transport a sixpack of beer through a tunnel, you could split the bottles to each of your cars and thus increasing the utilization of the ressources, but using one car (which can hold the 6 bottles) is more efficient. (also when you can't drive all cars in parallel through the tunnel bottlenecks might occur)


Cu Selur
------
offline 02.-07. July, https://www.rockharz-festival.com/ Big Grin
Reply


Messages In This Thread
X264 max CPU usage? - by Bartoloni - 12.04.2024, 22:47
RE: X264 max CPU usage? - by Selur - 12.04.2024, 23:09
RE: X264 max CPU usage? - by Bartoloni - 13.04.2024, 05:59

Forum Jump:


Users browsing this thread: 3 Guest(s)