I really suggest not using GPU encodes for this purpose unless it's mostly worthless archival content. You can save way more space using AV1 on CPU via things like av1an. If you really like H265 using it on CPU also gets much better quality/size tradeoff.