The only real difference will be in screen size and hard drive speed.
The MB hard drive is considerably slower than the iMac, and the screen could be restrictive. Other than that the processor is fine, and iMovie is not dependent on the video card, so it should work fine.
Both computers are very capable of editing in iMovie.