I'm new to capturing and video editing. A program called "Hybrid" was the easiest to load up AviSynth x264 sources, for conversion to x265 video.
Everything works fine...except during the conversion process, "Hybrid" always uses 100% of my CPU. Conversions typically take an hour or more per video. And I have to convert throughout the day. I don't like the idea of my laptop or PC running at 100% CPU most of the day.
So I would like some way to limit the CPU usage of this program. Unfortunately, "Hybrid" seems to have hundreds of options. But I can't find one related to my problem. Can anyone help me with this?![]()
+ Reply to Thread
Results 1 to 9 of 9
-
Last edited by jaibubwan; 1st Sep 2017 at 11:00.
-
I assume you have a multi-core CPU. You should be able to limit the number of threads used by x264/x265 in Hybrid to a number lower that your CPU core count.
That said I find your idea .. bad. Let your hardware work at 100% - that's its job. I once ran a batch of encodes for like a week (at 100%). And of course if you reduce threads your encoding time increases ... -
Maybe I found an option in "Hybrid" related to your suggestion.
Navigated to 'Hybrid > Config > Internals'.
There's an option called "FFMPEG/MEncoder threads".
It says "detected CPU core count" is "8" on my system.
There's a box where you can change that value.
Guessing if I lower that, it would accomplish what I want.
Will have to try it out later and see. Will report back on result.
Unfortunately, I don't really have a dedicated converting rig.
One is an HTPC I custom built for silent operation.
The other is a gaming laptop that's past the warranty.
My parents aren't buying me any new ones so I have to be careful how I use these. -
Yes, reducing the number of threads will reduce the CPU load. But the encoding will take longer. You should also run your encodings at low priority if you want to use the computer for other light tasks while encoding.
-
There is no option in Hybrid to restrict the cpu usage to x%.
That said:- Options under 'x265->Misc->Threading' allow to change the number of threads the x265 encoder uses.
- 'Config->Internals->Handling->FFmpeg/Mencoder threads' allows to change the number of threads the decoder (ffmpeg/mencoder) uses.
- 'Filtering->Avisynth->Misc->MT-Threads' allows to change the number of threads Avisynth MT uses.
- 'Filtering->Avisynth->Misc->Disable MT' allows to disable MT for Avisynth.
- 'Filtering->Avisynth->Misc->add distributor()' removed the distributor() call from the Avisynth script.
Cu Selurusers currently on my ignore list: deadrats, Stears555, marcorocchini -
Funny: Other people complain that they do not reach 100%
In addition: Advanced task managers (like SysInternals ProcessExplorer) allow to set the task priority to lower than default. I guess Selur might be able to implement that for Hybrid's process calls as well, but it is heavily OS dependent (e.g. under Linux known as "nice level"). -
You can adjust a process' priority and limit core usage with Task Manager's Set Priority and Set Affinity. So, for example, even if a program is running with eight threads you can limit it to using 4 cores. Note that x264 normally runs with 1.5x the number of cores (to Windows a hyperthreaded core is 2 cores).
-
Thanks for all the advice guys!
What worked for me (converting x264 to x265) was setting:
- "x265->Misc" = Pools: 1 / Threads: 4
- "Config->Internals" = FFmpeg/Mencoder threads: 4
I had to set both, or it wouldn't affect the CPU speed properly.
This causes the CPU to operate between 80%-85% during conversion.
I feel like maybe 10-20 extra minutes are added to conversion time.
But the greatest benefit to me is that my laptop fan isn't spinning at maximum speed producing loud noise.
I'll now be able to run some conversions during class, without worrying about distracting others.
Again, thanks!
Similar Threads
-
[SOLVED] "--ipratio" "--pbratio"+"--scenecut" "--minkeyint" / "--keyint
By Kdmeizk in forum Video ConversionReplies: 14Last Post: 21st Jun 2015, 07:21 -
convert three files : ".au" ".temp_audio" " .temp_video" files to mp4
By correx in forum Video ConversionReplies: 4Last Post: 20th Nov 2014, 04:15 -
[Help] Problems with the "Title Button" in the "VTS ROOT" and "VTS Normal"
By kirous in forum Authoring (DVD)Replies: 8Last Post: 1st Nov 2014, 12:31 -
How to convert "Still Image" to "AVC file" (like as Godzilla Blu ray Menu)
By ningnong132 in forum Video ConversionReplies: 2Last Post: 8th Sep 2014, 04:23 -
Newb would like to know if a "Canopus ADVC-100" is still OK for Conversion?
By joeman in forum Newbie / General discussionsReplies: 1Last Post: 11th Jun 2013, 15:41