How it works
FFmpeg, compiled to WebAssembly, re-encodes the video in your browser as an H.264 MP4 with AAC sound. The WhatsApp, Discord and email presets compute the bitrate that fits their limit for the length of your video, and lower the resolution only as much as that bitrate needs.
Instagram and Web aim for quality instead (up to 1080p and 720p). If a result still comes out over its limit, the tool encodes again a little tighter; if it can't get lighter than the original, it keeps the original.
Quick & easy