ffsplit - it's badass and lightweight, the only thing it's missing is a macro for start/stop recording (but might some how be configurable)
http://www.ffsplit.com/
It worked REALLY well out of all the 10 different packages i tried. - other options in thread are fine for mostly just streaming.
You will need to find some better encoders than what is installed with windows, ffsplit installed it's own encoders. (Codecs) most codecs install both the decoder and encoder. And IDK how to configure that stuff in the other apps, they just default to the defaults. And I had bad luck with that.