Using these imovie settings should produce a good quality video for upload that will be about 40mb for a 2 minute video.
Record video to desktop
Import into imovie and edit
Click "share" on the top bar and "Export using Quicktime"
Adjust video settings (set data rate to between 2500 and 5000)
Adjust audio settings
OK and save