Optimize Video for YouTube on Mac
Optimize video for YouTube on Mac with QuickTime and FFmpeg. Prepare a clean H.264 MP4 upload mezzanine without transferring an oversized editing master.
Your 4K timeline exported at 18 GB and YouTube Studio stalled at 2 percent overnight. The platform allows huge files, but your connection and browser session do not. A right-sized MP4 uploads faster and still looks sharp after YouTube transcodes it.
YouTube limits and re-encoding
YouTube currently documents a maximum upload of 256 GB or 12 hours, whichever comes first , for accounts allowed to upload long videos. Upload experience still depends on file size, upstream bandwidth, traffic, and browser stability.
| Topic | Practical note |
|---|---|
| Maximum file size | Up to 256 GB for verified accounts |
| Length cap | 12 hours (whichever limit hits first) |
| Re-encoding | YouTube always transcodes to adaptive streams |
That means your upload is a mezzanine, not the final master viewers stream. Shipping an uncompressed ProRes MOV wastes hours when a 1080p H.264 MP4 would transcode cleanly.
Long live streams and multi-hour podcasts hit length caps before size caps on verified accounts. Trim cold open silence in your NLE or QuickTime before export when runtime is the constraint.
Read YouTube video size limits for verification rules and length caps. Unverified channels still hit shorter length walls until phone verification completes.
Recommended codec and container
YouTube’s published encoding recommendations specify MP4, H.264 video, progressive scan, 4:2:0 chroma subsampling, Fast Start metadata, the recorded frame rate, and supported audio including AAC-LC.
| Setting | Starting point |
|---|---|
| Container | MP4 |
| Video codec | H.264 (AVC) |
| Audio codec | AAC stereo |
| Resolution | Match delivery: 1080p for most channels, 4K when source warrants |
| Frame rate | Match source (24, 25, 30, or 60 fps) |
HEVC (H.265) can produce smaller files, but encode time and compatibility vary on older PCs your collaborators use for review. See H.264 vs H.265 codecs when you debate codec choice.
Avoid odd frame rates when possible. YouTube accepts many rates, but 29.97 vs 30 confusion causes drift in editors.
Export from QuickTime or iMovie
For short clips straight from a Mac recording:
QuickTime Player:
- Open the source MOV.
- Edit → Trim if you need to drop slate or dead air.
- File → Export As… → 1080p or 4K matching your channel default.
iMovie timelines: File → Share → File…, pick resolution, and export MP4 when offered.
QuickTime is fine for one video. It does not batch ten episodes or remember YouTube-specific bitrates. Keep the editor master archived separately from the upload copy.
Color-managed timelines may look different after H.264 export. Check skin tones and brand colors on a calibrated display before you upload the season finale.
When the source is already MP4 from a phone, re-export only if bitrate is extreme. Otherwise trim and upload a copy.
FFmpeg settings for YouTube uploads
FFmpeg gives repeatable exports for long-form content. Install via Homebrew (brew install ffmpeg).
Balanced 1080p upload:
ffmpeg -i input.mov -c:v libx264 -crf 18 -preset slow -pix_fmt yuv420p \
-c:a aac -b:a 192k -movflags +faststart youtube-1080p.mp4
| Flag | Why it matters |
|---|---|
-crf 18 | High quality mezzanine; lower = bigger file |
-pix_fmt yuv420p | Widest player compatibility |
-movflags +faststart | Moves metadata for web playback |
For 4K sources where upload time matters, downscale to 1440p or 1080p unless the channel truly delivers 4K:
ffmpeg -i input.mov -vf scale=-2:1440 -c:v libx264 -crf 20 -preset slow \
-c:a aac -b:a 192k -movflags +faststart youtube-1440p.mp4
Understand what is video bitrate when -crf alone produces files still too large for your connection.
Check quality at upload resolution
Before you upload, spot-check at the pixel size viewers will see in the default player.
- Open the export in QuickTime at 100% for UI-heavy content.
- Pause on faces, text overlays, and fast motion segments.
- Compare audio sync at the start after trim edits.
| Issue | Fix |
|---|---|
| Banding in gradients | Slightly lower CRF or less aggressive compression |
| Mosquito noise around text | Raise bitrate or keep 1080p instead of heavy 720p |
| Audio clipping | Re-export audio from your editor at -1 dB peak |
YouTube will compress again. A clean mezzanine hides artifacts better than a file already crushed to email-sized bitrates.
Upload a test clip as Unlisted first when color grading or text overlays are critical. YouTube’s preview transcode is close enough to catch banding before you publish wide.
Pair with optimize video for web on Mac when the same export also embeds on your site.
Using GetCompress
GetCompress shrinks long MOV and MP4 exports locally before YouTube upload:
- Apply a 1080p review or YouTube upload preset across a folder of episodes.
- Trim intros and outros in the preview player without reopening your editor.
- Set target file size on video when you must stay under a connection-friendly cap for overnight uploads.
- Batch queue season folders while you work on the next edit.
- Keep unreleased cuts on your Mac only during pre-publish review.
GetCompress does not replace your NLE for color or titles. It shines when export defaults balloon and you need a repeatable upload mezzanine.
Thumbnail frames deserve a spot check too. YouTube picks a default still from the upload; scrub to a clear frame before publish or upload a custom thumbnail in Studio.
For general Mac video compression, see how to compress video on Mac .
- YouTube upload limitsYouTube maximum file size, recommended upload settings, and how to compress long MP4 and MOV files before upload without visible quality loss.
- Video bitrate explainedLearn what video bitrate means, how it affects MP4 and MOV file size, and practical bitrate ranges for email, web, and archive.
- H.264 vs H.265Compare H.264 (AVC) and H.265 (HEVC) for file size, quality, compatibility, and when to pick each codec for sharing video.
- How to Compress Video on MacHow to compress video on Mac with QuickTime, iMovie, FFmpeg, and GetCompress. Smaller MOV and MP4 files for email, Slack, and uploads.
Buy GetCompress now for local media compression with reusable presets and no media upload.