I dont use Tdarr because of its lack of more complex rules, but I do use fileflows to re-encode old videos on my server based on some rules considering its overall filesize, current format, and which library it is in. If the flow decides the file should be encoded it is converted to h265 10bit at a high bitrate, if it somehow ends up bigger than the original it does it again with a higher reduction factor.