CocoaSplit uses libavformat along with either the OSX VideoToolbox hardware h264 encoder or x264 to stream to anything libavformat can handle. Multiple outputs are supported, so you can save to a local file while streaming to something like twitch.tv.