Given the damage-prone nature of the mp4 container, you're actually better off going the remuxing route than the record-as-mp4 route.
You might try the settings from the high quality recordings guide in the guides section of the forums, but flv then remux ends up wasting less footage in case of a crash (OBS or computer including power outage that knocks your computer off) than sticking with mp4