So, I did some tests using x264, and it seems that I can't achieve a good quality. I'm currently running a i9 9900k, I did some stream tests using this config:
Preset: Fast and Medium - 10%-30% cpu usage
Bitrate: 6k and 8k
Keyframes: 2
Profile: High
Tune: None/Film/Animation
x264 parameters...