Closed silkyclouds closed 5 months ago
This will be possible with this change:
https://github.com/HaveAGitGat/Tdarr/issues/748#issuecomment-2146710875
So you could have a node with tag 4k
which only does your 4k transcoding. If workers on other nodes have a file which is 4k, they requeue it for that node.
Is your feature request related to a problem? Please describe. Yes, i notice that my server, that has 64GB of RAM, will fail encoding files for the following reason :
failures happens when I run two 4K transcodes in parallel, it seems the RAM gets overused, which results in FFMPEG to crash.
Describe the solution you'd like Add an option to allow only XX parallel transcoded of a specific resolution (Eg: only 1*4K transcode can run at a time) would avoid the RAM usage to raise at a point the job will fail. I noticed that I can run 4K and 1080p in parallel wiuthout filling the RAM, which then encodes my files without any problem.
Describe alternatives you've considered I am using a single CPU transcode at the moment. But in this case, I am not using my server at its full capacity. my CPU (a 5950x) performs better when transcoding 2 movies at a time at least.
Additional context Here we can see that single 4K encodes, that runs in parallel with 1080p encodes, are finalizing without any issue. It only crashes when two 4K transcodes are run in parallel :
here we can see the 5950x, that currently runs a single 4K transcode, is not maxed out :