Just know that HW encoders on nVidia cards are usually inferior in quality compared to software encoders, altho the speed gain is very nice. I originally bought 2070 with its HW HEVC encoder, and apart from few test runs never used it again, because no matter the quality settings, its just worse (and I was never in a hurry).
No idea about HW encoders quality/speed on M1