I am trying to record videos losslessly. I've seen this reddit post and the solution seems to be to use I444 or RGB color format (combined with the obvious CRF=0 option). Using I444 puts too much strain on the GPU so I decided to go with RGB. As one comment says, this requires the x264rgb encoder instead of regular x264. How do I use Custom Output with CRF and the other usual settings Standard output let me configure in a gui? I'm looking to set the speed preset as well.
These are my current settings for the encoder (how does this translate to the things Custom Output asks?):

These are my current settings for the encoder (how does this translate to the things Custom Output asks?):
