You may want to check your other thread where you’re asking about x265 conversions, or your previous threads on using ffmpeg and avidemux that go back several years now. While it’s laudable that you have tried to give back to the community, you scripts lack a good bit. You’re limiting things to 3 cores? Why would I want to do that when I have 64 cores available to me on my main system, and 16 on my laptop? What if I want to change the bitrate? I have no option to. What about the audio? I can’t select which of the language tracks I want using your script, nor can I select/burn-in subtitles if needed.
And using 100% of my CPU isn’t going to “destroy” my computer, and most systems have throttling software to keep things from overheating and/or shut the system down totally.
The avidemux website/forum has several links that describe how to do what you’re after, so reading their documentation would be an excellent place to start in regards to x264-65 conversions. You may also wish to check with the person who got your scripts to work:
And I’m a bit puzzled by the fact you wrote scripts, especially since you’ve said previously you couldn’t:
https://forums.opensuse.org/showthread.php/539079-Apologizes-regarding-my-posts-and-about-myself?highlight=script