Best quality settings for youtube

Here is a very related thread (motorcycle through forest/countryside) where the poster basically says to use UHD 4K even if that means upscaling:

You can try to do that at Export time in Shotcut, but I suggest to not change the Export > Video > Frames/sec.