1 HOUR OF BOOSTING
ABSOLUTELY FREEFREE
  • Adjustable pace, volume, and GEO
  • No risk of a ban
  • Complete confidentiality
Offer ends in:
00:30:00
Try now →
Best Video Format for YouTube: Sizes, Codecs & Shorts
26 November, 2026

Best Video Format for YouTube: Sizes, Codecs, Shorts, and Export Settings

Over the past few years, YouTube dropped intermediate resolutions like 5K, extended Shorts to 3 minutes, and updated its audio and thumbnail rules, yet most blogs still recycle five-year-old advice. Render from outdated specs, and you get soft footage, black bars, or a failed upload. To save you hours of re-rendering, the twitch-viewer-bot.com team checked YouTube's latest documentation to define the best video format for YouTube. For most uploads, choose an MP4 container with H.264 video and AAC-LC (48 kHz) audio at your native resolution, with no baked-in borders.


Quick Summary: Which Video Format for YouTube Fits Your Project?

Quick Answer: The universal video format for YouTube is an MP4 file with Fast Start metadata placed up front, H.264 video (progressive scan, 4:2:0), and 48 kHz AAC-LC audio, while your exact resolution, bitrate, and codec depend on whether you're exporting 16:9 video, Shorts, HDR, or an OBS recording.

Five hard limits that break uploads most often:

  • Skip unnecessary conversion: If your clip is already in a supported format like a phone MOV file, upload it directly instead of running it through a converter that degrades sharpness.
  • File size and duration caps: Unverified accounts max out at 15 minutes, while phone verification raises the threshold to 256 GB or 12 hours (the old 128 GB figure is outdated).
  • 3-minute Shorts cap: This rule took effect on October 15, 2024 (and December 8, 2025, for Official Artist Channels), though any vertical clip over one minute with a Content ID claim gets blocked worldwide.
  • Audio-only files won't upload: YouTube accepts MP3, WAV, and PCM files solely as extra dubbed audio tracks, not as standalone videos.
  • Thumbnail size split: Desktop uploads support custom thumbnails up to 50 MB (3840×2160 recommended), while mobile app uploads still enforce a 2 MB ceiling for video thumbnails.
Creator Use Case Container & Codec Resolution & Aspect Ratio Key Requirement
Standard video (vlog, review, gameplay) MP4 + H.264 + AAC-LC 1920×1080 or 3840×2160 (16:9) Native FPS, BT.709 color
YouTube Shorts clip MP4 + H.264 + AAC-LC 1080×1920 (9:16) or 1:1 Up to 3 min, Full HD max
HDR video (10/12-bit) MP4 / MOV / MKV + HEVC / AV1 720p to UHD (16:9) Rec. 2020, PQ or HLG
OBS screen recording (.mkv) Remux MKV to MP4 Native dimensions, no scaling Constant FPS (CFR), no re-encoding
Camera/iPhone source (.mov) Keep .mov as-is Native capture resolution Do not re-encode

YouTube export settings router across five creator workflows (verified against platform documentation as of November 2026).

Channel already set up? Let's get your first activity numbers

Choose viewers, followers or views for Twitch - starting from a fraction of a cent. Parameters and the final price are shown before payment.

Calculate the cost

Supported YouTube File Formats: MP4 Container, Codecs, and What Uploads Cleanly

Quick Answer: YouTube supports 16 video file formats (including MP4, MOV, AVI, WMV, WebM, FLV, ProRes, and HEVC), yet the official encoding benchmark remains an MP4 container with the moov atom at the start of the file, H.264 High Profile video, and 48 kHz audio.

File extensions alone don't determine compatibility. A container is simply the wrapper holding your video stream, audio tracks, and subtitle files. Two .mp4 clips behave very differently if one holds standard H.264 while the other packs an uncommon profile lacking fast-start metadata.

YouTube's official upload standard rests on three strict parameters:

  • MP4 container (MPEG-4 Part 14): Place the moov atom index at the start of the file (Fast Start or Web Optimized) and disable Edit Lists so processing doesn't hang.
  • H.264 (AVC) video codec: High Profile, progressive scan only (no interlacing), 2 consecutive B-frames, a closed GOP set to half your frame rate, CABAC entropy coding, variable bitrate (VBR), and 4:2:0 chroma subsampling.
  • Audio track: AAC-LC, Opus, or the newer spatial Eclipsa Audio at a 48 kHz sample rate (the old 96 kHz option was removed from the docs). Target 128 kbps for mono, 384 kbps for stereo, 512 kbps for 5.1 surround, and 128 kbps per channel for Eclipsa Audio.
Format / Extension YouTube Support When to Use It in Practice
MP4 (MPEG-4) ✓ Recommended Primary pick for edits, gaming, vlogs, and Shorts
MOV, ProRes, DNxHR, CineForm ✓ Supported iPhone/camera source clips or master files on fast connections
HEVC (H.265), WebM ✓ Supported HDR uploads or saving bandwidth on 4K exports
AVI, WMV, FLV, 3GPP, MPEG-1/2/PS/MPG ✓ Supported Old archives only; don't intentionally render in these
MKV (Matroska) × Not in standard list Allowed in HDR specs; remux to MP4 for standard videos
MP3, WAV, PCM, project files × Rejected You can't upload bare audio or .camproj / .wlmp / .imovieproject files

Summary of YouTube's 16 officially accepted formats (troubleshooter/2888402) alongside file types that trigger upload errors.

Pro codecs like ProRes 422 or DNxHR come with a clear tradeoff: they eliminate extra lossy compression before upload, yet inflate file sizes 10 to 40 times over. On an ordinary home internet connection, uploading those files takes hours, and once YouTube's servers re-encode them, any visual edge over high-bitrate H.264 is often invisible.

Why MPEG-2 and the "33-Second" Rule Don't Apply to Regular Channels

Top search results frequently surface an official YouTube Help page requiring outdated MPEG-2 (.MPG) files, runtimes over 33 seconds, and bitrates of 50–80 Mbps. That document (answer/4603579) applies strictly to music labels and distributors using Content Manager with DDEX ERN 3.6+ feeds, as well as feature films for purchase or rental. Standard creators never have to convert vlogs to MPEG-2 or stretch videos past 33 seconds.

Diagram for choosing the best video format for YouTube using an MP4 container and H.264 codec

Figure 1: Visual overview of the baseline YouTube preset, pairing an MP4 container (Fast Start), H.264 High Profile video, and 48 kHz AAC-LC audio across 16:9 and 9:16 layouts.

Calculator
      Quantity 1

      YouTube Video Resolution, Aspect Ratio, Frame Rate, and Bitrate

      Quick Answer: For horizontal YouTube videos, use a 16:9 aspect ratio, native pixel dimensions from 1920×1080 to 7680×4320 (5K was retired in 2022), your original frame rate, and variable SDR bitrates between 8 and 68 Mbps for Full HD and Ultra HD.

      YouTube's desktop player defaults to 16:9, yet adapts automatically to vertical, square, or ultrawide (such as 21:9) uploads. Never bake black bars into the top or sides to force a 16:9 frame. On mobile screens, hardcoded borders shrink the picture from every side into a tiny, soft rectangle.

      Resolution (px) SDR 24–30 fps SDR 48–60 fps Est. 10-Min Size
      7680×4320 (8K) 80–160 Mbps 120–240 Mbps 6–18 GB
      3840×2160 (UHD) 35–45 Mbps 53–68 Mbps 2.6–5.1 GB
      2560×1440 (QHD) 16 Mbps 24 Mbps 1.2–1.8 GB
      1920×1080 (Full HD) 8 Mbps 12 Mbps 600–900 MB
      1280×720 (HD) 5 Mbps 7.5 Mbps 375–560 MB
      854×480 (480p) 2.5 Mbps 4 Mbps 190–300 MB
      640×360 (360p) 1 Mbps 1.5 Mbps 75–115 MB

      Official recommended SDR variable bitrates (answer/1722171) and estimated file sizes for a 10-minute clip. Minimum supported 16:9 resolution is 426×240 (240p).

      These bitrates serve as quality baselines rather than strict ceilings. Don't artificially compress files above 2 GB; for videos larger than 20 GB, an up-to-date browser handles uploads cleanly all the way up to 256 GB.

      Comparison chart of YouTube video pixel resolutions and recommended bitrates

      Figure 2: 16:9 resolution ladder from 240p to 8K, marking the 5K tier retired in 2022 and the higher bitrate required at 60 fps.

      How to Pick a Frame Rate and Lift the 15-Minute Limit

      Encode your video at the exact constant frame rate you captured it in: 24, 25, 30, 48, 50, or 60 fps. Converting 50 fps to 60 fps causes motion judder, while interlaced sources like 1080i60 must be deinterlaced to progressive (1080p30) so fast scenes don't show combing artifacts. To remove the 15-minute cap and unlock 256 GB or 12-hour uploads, open YouTube Studio, head to Settings → Channel → Feature eligibility, and verify your phone number.

      Twitch channel growth: viewers, followers, and chatbots


      YouTube Shorts Video Format and Thumbnail Pixel Dimensions

      Quick Answer: Any vertical (9:16) or square (1:1) video up to 3 minutes long enters the YouTube Shorts feed automatically with a 1080p upload cap, while recommended thumbnail dimensions are 3840×2160 for standard videos and 2160×3840 for Shorts.

      Shorts use the exact same MP4 (H.264 + AAC-LC) container and codecs as regular uploads; only frame orientation and moderation rules differ. Adding #shorts no longer drives vertical feed placement since YouTube's system checks aspect ratio and duration alone.

      Parameter YouTube Shorts (Video) Standard Video Thumbnail Shorts Thumbnail
      Aspect ratio 9:16 (or 1:1) 16:9 9:16
      Recommended size 1080×1920 (or 1080×1080) 3840×2160 (min. 640 px wide) 2160×3840 (min. 640 px tall)
      Format / limits MP4, up to 3 min, max 15 files on desktop JPG, PNG, GIF; up to 50 MB on desktop JPG, PNG; upload via desktop Studio
      Key caveat Content ID > 1 min = worldwide block Mobile app uploads cap at 2 MB 16:9 thumbnails get cropped to 4:5

      Current specifications for YouTube Shorts and custom thumbnails (answer/15424877, answer/10059070, and answer/72431).

      Leave clean margins along the right edge and bottom quarter when editing vertical footage. Mobile playback overlays like buttons, comments, and descriptions across those zones, covering captions and pulling viewer focus. If a 3–5 MB PNG thumbnail refuses to upload from the mobile app, save it as a JPG or upload through YouTube Studio on a desktop browser.

      How to Upload a Short Clip as a Standard Video Without Black Bars

      If your clip runs under 3 minutes and you want it published on a regular watch page, export in a wider aspect ratio like horizontal 16:9. Reframe the shot for widescreen or place a styled blurred background behind it instead of solid black borders, because baked-in bars disrupt mobile player scaling. Any vertical clip shorter than 180 seconds automatically routes to Shorts.

      Best offers
      Twitch. for on hour
      Twitch. for on hour
      Twitch. for on hour - short description
      • Stable authorized viewers
      • Different registration dates
      • Generate views
      • Timer pause option
      • Geo selection
      • Good nicknames & avatars
      • Verified emails
      • Safe
      Number of hours: 1
      Enter viewer count
      Twitch. for on day
      Twitch. for on day

      Twitch. for on day - short description

      • Different registration dates
      • Generate views
      • Geo selection
      • 3 channel changes
      • Good nicknames & verified emails
      • Safe

      Enter viewer count
      Twitch. for on week
      Twitch. for on week

      Twitch. for on week - description

      • Unlimited for 7 days
      • Stable
      • Different account registration dates
      • Authorized Viewers
      • No timer pause option
      • Viewers generate views
      • 3 free channel name changes
      • Choosing a geo
      • Good nicknames
      • Verifed emails
      • Available for raids
      • Safely
      Enter viewer count

      Color Settings (BT.709 and HDR) and H.264, HEVC, and AV1 Compression

      Quick Answer: For standard SDR exports, set your color space to BT.709 with Limited Range, whereas HDR requires 10- or 12-bit color, Rec. 2020 (PQ or HLG), and VP9 Profile 2, AV1, or HEVC.

      Wrong color settings are the main reason punchy edits turn washed-out gray or lose shadow detail after uploading. YouTube expects BT.709 for SDR and forces Full Range (0–255) luminance down into Limited Range (16–235). If you export in Full Range or an RGB matrix and your color flags don't match, shadows crush into muddy black.

      HDR Resolution HDR 24–30 fps HDR 48–60 fps Required HDR Specs
      7680×4320 (8K) 100–200 Mbps 150–300 Mbps 10- or 12-bit, Rec. 2020
      3840×2160 (4K) 44–56 Mbps 66–85 Mbps PQ or HLG curve (Rec. 2100)
      2560×1440 (2K) 20 Mbps 30 Mbps SMPTE ST 2086 metadata
      1920×1080 10 Mbps 15 Mbps MP4, MOV, or MKV containers
      1280×720 6.5 Mbps 9.5 Mbps 480p and 360p not supported

      Recommended bitrates and technical parameters for YouTube HDR video (answer/1722171 and answer/7126552). YouTube's built-in web editor is unavailable for HDR files.

      Never run standard SDR footage through YouTube's HDR metadata tool, as doing so reliably warps colors. Don't confuse VOD requirements with livestream settings either: live broadcasts restrict AV1 to SDR and require HEVC for HDR streams. If you produce both edited videos and livestreams, stream-specific encoding details are covered in our guide on streaming to Twitch and YouTube simultaneously.

      Video editor export settings panel for YouTube using BT.709 and H.264

      Figure 3: Core export settings in a video editor, showing an MP4 container, H.264 High Profile, variable bitrate, Limited BT.709 color range, and Fast Start enabled.

      When to Export Video in HEVC or AV1 Instead of H.264

      According to independent VMAF benchmarks, HEVC (H.265) cuts bitrate by roughly 44–50% at matching clarity and AV1 saves up to 55–64%, but software AV1 encoding without hardware acceleration (such as an RTX 40+ GPU or Intel Arc) runs around 7.5x slower. Because YouTube re-encodes every uploaded file anyway, fast H.264 stays the practical choice for standard SDR video. Switch to HEVC or AV1 only for 10-bit HDR, or when pairing a slow upload connection with a dedicated GPU encoder.


      How to Export and Remux MKV to MP4 Without Quality Loss (OBS, Editors, FFmpeg)

      Quick Answer: Record screens and gameplay in OBS into the crash-safe MKV container at a constant FPS, then remux the file to MP4 in seconds with zero quality loss using OBS's built-in tool or FFmpeg with -c copy.

      Recording multi-hour gameplay or a podcast straight into MP4 carries risk: a sudden PC shutdown or recorder freeze prevents the file header from writing, ruining the entire recording. An .mkv container saves your footage right up to the final second. Full recorder setup steps are detailed in our step-by-step OBS Studio setup guide.

      1. Step 1. Pick a crash-safe container: Open Settings → Output → Recording in OBS Studio and set the format to MKV, then go to Advanced and choose Color Format NV12, Color Space Rec. 709, and Color Range Limited.
      2. Step 2. Lock your frame rate: Make sure capture runs at a constant frame rate (CFR) so audio doesn't gradually drift out of sync during editing.
      3. Step 3. Remux without re-encoding: After stopping your recording, click File → Remux Recordings, select your .mkv file, and hit Remux to switch the wrapper to .mp4 with zero quality loss.
      4. Step 4. Check your editor version: Adobe Premiere Pro 25.2 and later (released April 2025) opens MKV files containing H.264 and AAC tracks natively, though earlier builds and direct YouTube uploads still require remuxing.
      5. Step 5. Calibrate audio levels: Keep true peaks at or below -1 dBTP in your final mix; many engineers target around -14 LUFS so YouTube doesn't turn down overly loud tracks on playback (quiet audio isn't boosted).

      In HandBrake, enabling the Web Optimized checkbox in your export preset automatically moves the moov atom to the front of the file.

      Ready-to-Use FFmpeg Commands for Export and Safe Remuxing

      Run the first command for a quick MKV-to-MP4 remux (omit the -use_editlist 0 flag here, as real-world tests with -c copy shifted track duration from 30.05 to 30.93 seconds), or use the second command for a full re-encode that strictly follows YouTube's spec:

      # 1. Fast MKV-to-MP4 remux without re-encoding and with Fast Start
      ffmpeg -i input.mkv -c copy -movflags +faststart output.mp4
      
      # 2. Full render to YouTube spec (SDR 1080p30, BT.709, High Profile, AAC 48 kHz)
      ffmpeg -i input.mov -c:v libx264 -profile:v high -pix_fmt yuv420p -bf 2 -g 15 -keyint_min 15 -sc_threshold 0 -flags +cgop -color_primaries bt709 -color_trc bt709 -colorspace bt709 -b:v 8M -c:a aac -ar 48000 -b:a 384k -movflags +faststart -use_editlist 0 output_yt.mp4

      OBS Studio interface for remuxing MKV into the best video format for YouTube

      Figure 4: OBS Studio's built-in Remux Recordings dialog, switching a crash-safe MKV recording into a compatible MP4 container instantly without re-encoding.


      Upload Error Troubleshooting: Why YouTube Drops Quality and Desyncs Audio

      Quick Answer: YouTube re-encodes every upload and serves viewers a 360p stream first, while most post-processing defects stem from low source bitrates, double compression, variable frame rates (VFR), or playback defaulting to the basic avc1 server codec.

      Before deleting and re-uploading a clip, right-click the player and open Stats for nerds. Check the Codecs line to see whether YouTube served the heavily compressed avc1 stream or the sharper vp09 / av01 version.

      Post-Upload Symptom Root Cause How to Fix It
      Only 360p available HD/4K processing hasn't finished yet Keep the upload Unlisted until processing completes
      Blurry or blocky motion Re-uploaded from a messaging app or served as avc1 Render from a clean master with ample bitrate; skip converters
      Black bars around edges Bars were baked into the frame during editing Remove borders and export at your native aspect ratio
      Washed-out colors or crushed shadows SDR exported in Full Range or RGB Re-export in BT.709 using Limited Range (16–235)
      Audio drifts by the end Source footage uses variable FPS (VFR) Transcode footage to constant FPS (CFR) before editing
      Rejected over 15 minutes Unverified account or project file Verify your phone in YouTube Studio; export project as MP4

      Diagnostic matrix for six common YouTube upload and playback failures.

      Many creators also try upscaling Full HD to 2560×1440 solely to trigger the vp09 codec. According to creator observations, that trick does switch server playback to VP9 more often, yet adds zero real detail, bloats file size 2 to 4 times over, and blurs small text if scaled carelessly. Shoot and edit in high resolution from the start. When you need a smaller file for a slow upload connection, adjust the bitrate during a clean export from your editor instead of running a compressed video through an online converter.

      Diagnosing compression issues and checking YouTube video codecs via Stats for nerds

      Figure 5: YouTube's Stats for nerds overlay showing the active server codec (avc1 vs. vp09/av01), resolution, and volume normalization.


      Conclusion: One Export Preset for Consistent YouTube Quality

      Dialing in the right video format for YouTube takes two minutes in your export window and protects you from blurry visuals, cropped thumbnails, and failed processing. Save an MP4 (H.264 High, BT.709, Fast Start, 48 kHz AAC-LC) preset in your editor and always verify finished uploads as Unlisted before publishing. While other creators lose retention to messy compression and struggle to break into feeds, you ship technically clean content and can boost your channel's early momentum in our YouTube promotion section.

      FAQ - Frequently Asked Questions
      Twitch Mobile Banner