FFMpeg encoding CPU limit for new jobs
Posted: Thu Nov 21, 2019 1:13 pm
Hi all!
I see a bottleneck in my workflow, or FFAStrans as such.
Everything works fine, but when FFAStrans takes 1 file to transcode, and when it gets to multiple nodes for encoding multiprofile (6 profiles) it takes randomly let's say 3 jobs (3 jobs set as maximum), and then starts transcoding 3 profiles at the same time hogging a CPU to 99%.
Problem is that if I set a job to 1, some of the condition nodes won't fire, and then FFAStrans would just wait and wait, and won't do nothing.
What if you could set the number of simultaneous ENCODING FFMpeg jobs and CPU percentage when to take new ENCODING jobs?
I mean, it might be a problem with my workflow, some example of a workflow with at least 6 multi profile h264 transcoding would be also great.
If I missed an topic, please move it to somewhere else.
Thanks a lot!
EDIT 1: or ability to set maximum threads per encoding job. It's a must feature. I see no way to adding this option, only if using a totally custom FFMpeg command.
I see a bottleneck in my workflow, or FFAStrans as such.
Everything works fine, but when FFAStrans takes 1 file to transcode, and when it gets to multiple nodes for encoding multiprofile (6 profiles) it takes randomly let's say 3 jobs (3 jobs set as maximum), and then starts transcoding 3 profiles at the same time hogging a CPU to 99%.
Problem is that if I set a job to 1, some of the condition nodes won't fire, and then FFAStrans would just wait and wait, and won't do nothing.
What if you could set the number of simultaneous ENCODING FFMpeg jobs and CPU percentage when to take new ENCODING jobs?
I mean, it might be a problem with my workflow, some example of a workflow with at least 6 multi profile h264 transcoding would be also great.
If I missed an topic, please move it to somewhere else.
Thanks a lot!
EDIT 1: or ability to set maximum threads per encoding job. It's a must feature. I see no way to adding this option, only if using a totally custom FFMpeg command.