Adobe Media Encoder

smallarrows.GIF

Format H.264   .mp4

Preset
Click the link for Preset  Match Source - High bitrate or Vimeo 1080p HD or Vimeo 720p HD presets

Output tab
         Video tab
               Frame Rate:  30
               Field Order:  Progressive
               Aspect:  Square Pixels (1.0)

               Profile: High
               Level: 1080 HD 4.2+
               VBR, 2 Pass  (variable bit rate)  (CBR = Constant Bit Rate)
               scroll window down
               Target Bitrate [Mbps] 
                    1080 HD 16
               Maximum Bitrate [Mbps] 
                    1080 HD 20,
               Under Advanced Settings check Set Key frame Distance  30 frames  (should equal your frame rate)
          Audio tab
               Audio Codec: AAC
               Frequency: 48 kHz
               Audio Quality:  High
               Bitrate [kbps]:  320+

         Muliplexer tab
                Muliplexer:  MP4
                Steam Compatibility: Standard

Bit Rates
SD 4:3  640x480 for web:  level 3.1+, 5-10
SD 16:9 640x360 for web:  level 3.1+, 5-10
720 HD 1280x720:  level 3.1+, 5-10
1080 HD 1920x1080 2K video:  level 4.2+, 16-20
4K 3840x2160:  level 5.1, 27-40