Web Video Compression and Codecs

How to use video compression and choose the right video codec for uploading video to Youtube and other video sharing sites.