VLC can play almost any media file, many streaming products, and even devices such as webcams. This open source multimedia application is available for Windows, Mac, several types of Linux, and of course the source code is available if you'd like to compile your own version.

http://www.videolan.org/vlc/