Tool · bash + ffmpeg
WhatsApp one-pass (ffmpeg script)
One ffmpeg command that makes a file WhatsApp is less likely to murder. Send the result as a document, not as “video.” No ffmpeg on the machine? Use the in-browser compressor.
What it does
Scales to 720p, H.264 + AAC, yuv420p, +faststart. WhatsApp will still recompress a “video” send. A document send usually keeps this file.
Run it
Needs ffmpeg on the machine (Linux, macOS, WSL, or a phone with Termux).
chmod +x whatsapp-onepass.sh
./whatsapp-onepass.sh your-clip.mp4
# writes your-clip-wa.mp4
# optional: ./whatsapp-onepass.sh -h 720 -c 23 clip.mp4 out.mp4
# WhatsApp → attach as Document / File
Why this exists
A second encode on a already-crushed file is how faces turn to soup. Encode once, on purpose. Longer notes: compress for WhatsApp.