After Effects CC 2018 on a Mac- no H.264
Composition> Add to Render Queue> Output Module> Make sure it's Quicktime> Format Options Button> None (Uncompressed)> Render
Then, download https://handbrake.fr/
Load in your .mov file and outsource it as a H.264/mp4 file.
