This is worth reading: The Theora Cookbook (Theora is a royalty-free, open standard, lossy video compression technology)