WhatsApp status video optimization. H.264 because WhatsApp rejects other codecs, 720p to stay under the 16 MB upload limit, CRF 26 for aggressive compression, AAC/MP4 per WhatsApp media spec. Every byte counts.
| Video Codec | H.264 |
| CRF | 26 |
| Resolution | 720p |
| Audio | AAC |
| Container | MP4 |
ffmpeg -i input.mp4 -c:v libx264 -crf 26 -vf scale=-2:720 -c:a aac -b:a 96k -movflags +faststart output.mp4
WhatsApp compresses all shared videos to a maximum of 16 MB (raised from 64 MB in some regions). Pre-compressing to exactly 720p H.264 before sharing prevents WhatsApp from re-encoding and destroying your quality further.
A new FFmpeg encoding puzzle every day. Six tries, in the browser or from your terminal.