Video Bitrate, Codecs & CRF Guide: H.264 vs. H.265, Pixel Formats & Faststart
For universal compatibility and zero color shifts across YouTube Shorts, TikTok, Instagram Reels, and LinkedIn, export MP4 using H.264 (AVC) High Profile, Constant Frame Rate (30 or 60 fps), `yuv420p` 8-bit Rec.709 color, CRF 18–20 (or 8–12 Mbps target bitrate for 1080p), `-movflags +faststart`, and AAC-LC 192 kbps at 48 kHz.
Verified Technical Specifications Matrix
| Technical Property | 2026 Verified Requirement / Recommendation |
|---|---|
| Universal Social Codec | H.264 / AVC (libx264) High Profile Level 4.1–4.2 |
| High-Efficiency Alternative | H.265 / HEVC (libx265) — smaller archival files, narrower legacy compatibility |
| Pixel Format (Mandatory) | yuv420p (8-bit 4:2:0) — prevents iOS/browser decode errors |
| Color Space (SDR Standard) | Rec.709 (`bt709`) — tone-map 10-bit HDR iPhone/Log footage first |
| 1080p 30fps Target Bitrate | 8–12 Mbps (or CRF 18–20 with maxrate 12M) |
| 1080p 60fps Target Bitrate | 12–16 Mbps (or CRF 18–19 with maxrate 16M) |
| 4K (2160p) 30fps Bitrate | 35–45 Mbps (YouTube 4K SDR recommendation) |
| Frame Rate Mode | Constant Frame Rate (CFR) — convert phone/OBS VFR to avoid audio drift |
| MP4 Atom Placement | `-movflags +faststart` (moov atom at file start for fast web ingest) |
| Audio Codec & Clock | AAC-LC · 192 kbps · 48,000 Hz stereo · -14 LUFS / -1.5 dBTP |
Reference FFmpeg Local Delivery Command
# Reference broadcast-safe H.264 High Profile master encode for 1080x1920 30fps ffmpeg -y -i "source.mov" -vf "crop=ih*9/16:ih,scale=1080:1920:flags=lanczos" \ -r 30 -c:v libx264 -profile:v high -level 4.1 -preset slow -crf 18 -maxrate 12M -bufsize 24M \ -pix_fmt yuv420p -colorspace bt709 -color_primaries bt709 -color_trc bt709 \ -af "loudnorm=I=-14:TP=-1.5:LRA=11" -c:a aac -b:a 192k -ar 48000 \ -movflags +faststart "master-1080x1920.mp4"
Common Export Pitfalls to Avoid
- Variable Frame Rate (VFR) smartphone recordings cause gradual lip-sync audio drift inside Premiere Pro, DaVinci Resolve, and cloud clippers unless conformed to Constant Frame Rate (CFR).
- Exporting 50 Mbps ProRes or uncompressed MOV for mobile uploads wastes bandwidth without improving post-transcode quality past a clean CRF 18 H.264 master.
- Re-encoding an already compressed 3 Mbps social download introduces compounding macroblocking — always cut directly from your original camera or Riverside ISO master.
Related Platform Specification Hubs
Video Bitrate, H.264 vs. HEVC & CRF Encoding Guide for Social Clips (2026): Technical FAQs
Should I export social clips in H.264 or H.265 (HEVC)?
Export H.264 (AVC) High Profile with `yuv420p` for maximum reliability across YouTube, TikTok, Instagram, LinkedIn, and older browsers. Social platforms transcode every upload anyway, so H.264 eliminates decode quirks cleanly.
What does CRF 18 mean in FFmpeg?
Constant Rate Factor (CRF) targets consistent visual quality instead of a fixed file size. On `libx264`, CRF 18 is considered visually transparent — allocating more bits to high-motion scenes and fewer bits to static talking heads.
Why does `-movflags +faststart` matter for MP4 uploads?
Standard MP4 encoding writes the index (`moov` atom) at the very end of the file. `-movflags +faststart` relocates it to the beginning so web players and platform ingest pipelines start decoding immediately.
Why did my iPhone screen recording lose audio sync in my editor?
iPhone and screen recordings often use Variable Frame Rate (VFR). Transcoding to Constant Frame Rate (`-r 30` or `-r 60` in FFmpeg) before editing locks audio and video sync permanently.