There are several ways to compress your media. Whether you should choose QuickTime or MPEG depends on your project and how you intend to show your movies.
If you're not sure which format is best for you, try both of them and play the resulting files on a number of computers to make sure you get the best results on the systems you need to support.