How do I configure x246vfw - H.264/MPEG-4 codec?

Access detailed configuration for the x264vfw - H.264/MPEG-4 codec in Export Animation> Resolution tab> Codec. Change to x264vfw codec then click Configure. 

Use the following settings to achieve desired results or adjust per your need:

Example settings from user 1:

Example settings from user 2: