For most YouTube uploads, export an MP4 with H.264 (High profile) video at the same resolution and frame rate you recorded, progressive scan, 4:2:0 chroma, BT.709 colour, and AAC-LC or Opus audio at 48 kHz. YouTube's own guidance suggests roughly 8 Mbps for 1080p at 24-30 fps and 12 Mbps at 50-60 fps, rising to around 35-45 Mbps for 4K. Because YouTube re-encodes everything you upload, going somewhat above those figures is a safe way to give it a cleaner source.
Below you will find the full set of recommended settings, why each one matters, how to handle 4K, HDR and vertical video, and a ready-made FFmpeg command you can adapt.
YouTube's recommended upload settings
YouTube publishes a list of recommended upload encoding settings in its help centre. The core of it is:
| Setting | Recommendation |
|---|---|
| Container | MP4, with the moov atom at the front (fast start) and no edit lists |
| Video codec | H.264, High profile |
| Scan type | Progressive - deinterlace interlaced footage first |
| Frame rate | The same as the recording (24, 25, 30, 48, 50, 60 are common) |
| Keyframes | Closed GOP of half the frame rate, two consecutive B-frames, CABAC |
| Chroma subsampling | 4:2:0 |
| Bitrate mode | Variable bitrate; no hard limit required |
| Colour (SDR) | BT.709 primaries, transfer and matrix; limited (TV) range |
| Audio codec | AAC-LC or Opus (stereo, or stereo plus 5.1) |
| Audio sample rate | 48 kHz |
| Audio bitrate | Mono 128 kbps, stereo 384 kbps, 5.1 512 kbps |
These are recommendations, not requirements. YouTube accepts many other formats, including MOV, MKV and WebM, and codecs such as HEVC, VP9, AV1 and ProRes. Sticking close to the list simply reduces the chance of processing problems.
Video bitrate by resolution
YouTube's suggested bitrates for standard dynamic range (SDR) uploads are:
| Resolution | 24, 25, 30 fps | 48, 50, 60 fps |
|---|---|---|
| 2160p (4K) | 35-45 Mbps | 53-68 Mbps |
| 1440p | 16 Mbps | 24 Mbps |
| 1080p | 8 Mbps | 12 Mbps |
| 720p | 5 Mbps | 7.5 Mbps |
HDR uploads get higher figures - roughly 10 Mbps for 1080p30 and 44-56 Mbps for 4K at 30 fps.
Treat these numbers as a floor rather than a target. YouTube will compress your video again, so every artefact in your upload gets compressed a second time. If upload time and storage allow, a higher bitrate - or a constant-quality encode such as x264 at CRF 16-18 - generally gives YouTube a better starting point. Fast-moving content like gaming, sport or confetti benefits most. If you are unsure how constant quality differs from a fixed bitrate, see CRF vs two-pass bitrate.
Resolution, frame rate and 4K
Keep the native frame rate. Do not convert 25 fps footage to 30 fps or 60 to 30 just for YouTube; it supports all common rates, and conversions can introduce judder. Interlaced material such as 1080i50 should be deinterlaced to progressive, typically to 1080p25 (or 1080p50 with a double-rate deinterlacer).
Consider uploading at 1440p or 4K. YouTube tends to stream higher-resolution uploads with more efficient codecs (VP9 or AV1) and more bits than lower-resolution ones. Many creators upscale 1080p projects to 1440p before upload for this reason. It costs upload time and does not add real detail, but it often makes the 1080p and 1440p streams viewers actually watch look cleaner. YouTube does not publish exact rules for which codec it serves, so results vary.
Vertical and square video are accepted and the player adapts. Videos for Shorts should be vertical (9:16 is standard) and are currently allowed to run up to three minutes. See how to convert video to vertical 9:16 for cropping and padding techniques.
Colour and HDR
For SDR, make sure the video is tagged as BT.709 with limited range. Mismatched colour tags are a common cause of uploads looking washed out or too contrasty compared with your editor. Footage with high bit depth or BT.2020 primaries but no HDR transfer function is converted by YouTube to 8-bit BT.709 anyway, so you may as well control that conversion yourself.
For HDR, upload with correct HDR metadata (PQ or HLG transfer, BT.2020 primaries) in a 10-bit codec such as HEVC, VP9, AV1 or ProRes. YouTube automatically creates an SDR version for non-HDR screens, but you get more control over how it looks by grading or tone mapping an SDR version yourself; converting HDR to SDR explains the options.
Audio
Export at 48 kHz. Stereo AAC at 384 kbps is YouTube's recommendation; there is little harm in going higher, but lower than about 192 kbps risks audible loss after YouTube's own re-encode. YouTube also normalises playback loudness, so excessively loud masters are simply turned down. Mixing to a sensible integrated level (around -14 LUFS is a common target for online video) keeps dynamics intact - see normalising audio loudness to EBU R128.
An FFmpeg command for YouTube
This one-liner produces a high-quality 1080p or 4K upload that follows the recommendations, assuming a 30 fps source (use -g 25 for 50 fps, -g 30 for 60 fps and so on):
ffmpeg -i input.mov -c:v libx264 -preset slow -crf 18 -profile:v high -pix_fmt yuv420p -bf 2 -g 15 -flags +cgop -colorspace bt709 -color_primaries bt709 -color_trc bt709 -c:a aac -b:a 384k -ar 48000 -movflags +faststart output.mp4
What each part does:
-crf 18 -preset slow- high constant quality; lower the CRF for even more headroom.-pix_fmt yuv420p- 8-bit 4:2:0, the most compatible format.-bf 2 -g 15 -flags +cgop- two B-frames and a closed GOP of half the frame rate.-colorspace,-color_primaries,-color_trc- tag the file as BT.709. These tags describe the video; they do not convert colours, so only use them when the source really is BT.709.-movflags +faststart- moves the index to the front of the file.
Common mistakes
- Exporting at a low bitrate to save upload time - this produces visible blocking after YouTube re-encodes.
- Changing the frame rate - stick with what you shot.
- Uploading interlaced video - combing artefacts are very noticeable on YouTube.
- Using full-range or wrongly tagged colour - leads to crushed blacks or a washed-out picture.
- Judging quality straight after upload - higher resolutions and more efficient codecs can take a while to finish processing.
Doing it with Movie Encoder
Movie Encoder can export H.264 or HEVC in MP4 with the profile, level, keyframe interval, B-frames, pixel format and colour settings YouTube recommends, along with AAC or Opus audio at any sample rate and bitrate. Its Smart Encoding Advisor has a Streaming goal that recommends codec, quality setting, resolution, frame rate, audio and container for your source, with reasons and a file-size range.
You can also deinterlace, normalise loudness to EBU R128 and tone map HDR to SDR in the same job, and the command preview shows the exact FFmpeg arguments being used.
Frequently asked questions
What bitrate should I use for a 1080p YouTube upload?
YouTube suggests about 8 Mbps for 1080p at 24-30 fps and 12 Mbps at 50-60 fps. Going higher gives YouTube a cleaner source to re-encode, so many creators upload well above these figures.
Should I upload in 4K even if my video is 1080p?
Upscaling to 1440p or 4K adds no real detail, but YouTube often streams higher-resolution uploads with more efficient codecs and more bits, which can make the result look cleaner. It costs extra upload time and results vary.
Does YouTube accept formats other than MP4?
Yes. YouTube accepts MOV, MKV, WebM and many other formats and codecs. MP4 with H.264 is simply the recommended combination and the least likely to cause processing problems.
