x264 with crf around 20, 1280x720, 30fps. Rather good quality/size ratio imo.
XviD lacks some of the more advanced macroblocking features that really help with compressing stuff like osu videos.
Also protip if you want to cheat youtube with 1080p videos:
Record it at 1600x900, resize to 1920x1080, nobody will see the difference when its uploaded.
Then again the quality difference between 720p and 1080p is pretty minimal on youtube so why bother.
XviD lacks some of the more advanced macroblocking features that really help with compressing stuff like osu videos.
Also protip if you want to cheat youtube with 1080p videos:
Record it at 1600x900, resize to 1920x1080, nobody will see the difference when its uploaded.
Then again the quality difference between 720p and 1080p is pretty minimal on youtube so why bother.