I recommend always render to image files (preferably OpenEXR). Once the rendering is done, you can easily encode the resulting sequence into a movie clip like .mp4 or .mov using ffmpeg, Davinci Resolve or even Blender's VSE.
The presets are python script files. They can be found in the folder for the program.
Create your own and save them there, they will show up next time you open blender. To understand the options, use the existing ones as reference.
Read: Change Encoding Settings through Python API