mpeg4 would be better if you're trying to record at higher resolution or higher bitrate on N900. If you had infinite amounts of processing power, then h264 would of course be better.