First, check out this livestreamer page.
That page should hold more or less all information you should need. But for your ease I'll compile what you need in a condensed format.
Livestreamer is a program that allows you to view streams (twitch.tv, justin.tv and a LOT more) in a regular media player such as VLC, Mplayer or likely your preferred player.