I think the following should be the best for youtube
Go to options and then video options
First uncheck the Auto Adjust box
Then change the following
Compressor=CamStudio Lossless Codec v1.4 (Download it from camstudio.org)
Set key frames Every=30 frames
Capture frames every=50 milliseconds
Playback rate=20 frames/second
there are many other programs which could make videos for YouTube. such as PCHand Screen Recorder. i knew it from my friend, and im using it. it could help u record anything on the screen. i think it is pretty good. see the link below.
if u wanna discover more, see this article below, i think it is very helpful.