Here are possible answers to your questions:

Quest. 1: Its a personal choice. The whatsapp team is trying to offer the best User Experience (UX) they could to users of their app, that is why they have kept a limit of 16MB for video file. Imagine how long it would take to upload a file of about 125MB. Hence, the app compresses the file for quicker upload and seamless experience.

Quest. 2: I guess you already answered this question yourself - Asynchronous programming. The large video file you feed it, gets encoded into a compressed format according to the algorithm they have written for the app. As Devs., we all know about algorithms and we all know there are things you can do to speed up execution. I guess they implemented their very own algorithm using Asynchronous programming that speeds up the process. The ffmpeg library you mentioned i guess was coded in C which i think doesn't support async call (not so sure though). After this, upload takes over.

Quest. 3&Finally: Codecs are standards. If you encode a video file to MPEG4, then try to re-encode it again to MPEG4 even using another program, you will get the same result as far as both programs are using same encoding standards, i.e. they didn't implement a specific algorithm for their programs(this takes years of work). So, when your Whatsapp tries to encode the file, it gives the same result.

Hope I have been able to answer your questions.

MichVeline

Answer from Michveline on Stack Overflow
🌐
FreeConvert
freeconvert.com β€Ί video-compressor
Video Compressor | Reduce Video File Size Online
A fast online video compressor to reduce video file size. You can compress video to a desired file size or a quality level. Supports MP4, FLV, MKV and more.
🌐
Clideo
clideo.com β€Ί compress-video-for-whatsapp
Compress Video for WhatsApp β€” Clideo
Tap "Choose file" to add the video from your device to our video compressor tool, or select it from Google Photos, Google Drive, or Dropbox. ... Select the compression preset and make sure that the estimated value is no larger than the WhatsApp max file size limit.
Discussions

Video compression is horrible when sharing on WhatsApp
don't click on gallery when sharing them, but on document... this way everything gets shared uncompressed. and this is no Sony specific thing. More on reddit.com
🌐 r/SonyXperia
12
1
August 10, 2023
android - Compress video like whatsapp - Stack Overflow
Secondly, When a video is recorded using the Camera it's not compressed by default, so whatsapp compresses it using FFMPEG I guess, and it takes no time. (tried for a video of 1min 1920x1080 with 125MB of size, becomes 640x360 with 5MB of size in no time, and the upload starts automatically).. More on stackoverflow.com
🌐 stackoverflow.com
Video compressor? I need to shrink a 1080p 2GB video file to 500MB.

I recommend Handbrake

https://handbrake.fr/

More on reddit.com
🌐 r/software
46
42
February 21, 2020
What is the Best software to compress video to the lowest size whilst losing minimal quality

Try Handbrake.

https://handbrake.fr/

More on reddit.com
🌐 r/software
11
4
February 2, 2021
People also ask

Do videos get compressed on WhatsApp?
Yes, WhatsApp does automatically compress videos with the aim to making videos smaller than 16 MB (WhatsApp video size limit)
🌐
videoconverter.wondershare.com
videoconverter.wondershare.com β€Ί video-compressor-for-whatsapp.html
Compress Video for WhatsApp Online & Free
Can I compress video for WhatsApp with Media.io on a mobile device?
Yes, you can. Because Media.io is a responsive web portal, when you open the site on your mobile device, all the pages that you surf through are automatically resized according to your smartphones screen. Even though some options and buttons may get repositioned to make the layout more intuitive, they are easy to locate and access.
🌐
media.io
media.io β€Ί home β€Ί tools β€Ί whatsapp video compressor
[FREE] Best WhatsApp Video Compressor Online | Media.io AI
How to compress a video on iPhone?
RedPanda Compress works seamlessly on iPhones via your browser. Select your video directly from your phone, compress it, and download the optimized version in just a few clicks.
🌐
redpandacompress.com
redpandacompress.com
Free Online Video Compressor – Fast, Private
🌐
VEED.IO
veed.io β€Ί home β€Ί veed tools β€Ί video compressor
Video Compressor - No Loss in Video Quality - VEED.IO
VEED is the best online video compression software - simple, automatic, and compatible with all popular file formats. Upload and compress MOV, MKV, AVI, MP4, YouTube videos, and more.
Published Β  July 9, 2022
🌐
Reddit
reddit.com β€Ί r/sonyxperia β€Ί video compression is horrible when sharing on whatsapp
r/SonyXperia on Reddit: Video compression is horrible when sharing on WhatsApp
August 10, 2023 -

Video Pro app videos get extremely blurry and compressed when sharing them through WhatsApp (directly). Even 4K 60fps footage looks horrible. This doesn't happen on any other app (or any other phone for that matter). HDR and Wide Dynamic Range are off btw. Any alternative way to share them through WhatsApp (bypassing I guess)?

🌐
Compress2Go
compress2go.com β€Ί compress-video
Compress video - free online video compression tool
Upload your video file. We accept MP4, MOV, AVI, WEBM, and many other formats. Set your desired file size. Click "Start" to begin compression.
🌐
Media.io
media.io β€Ί home β€Ί tools β€Ί whatsapp video compressor
[FREE] Best WhatsApp Video Compressor Online | Media.io AI
The Automatic Method in Media.io WhatsApp Video Compressor will compress the video automatically to smaller file sizes, without significantly reducing visual quality. ... This online WhatsApp Video Reducer supports almost all popular video formats.
Rating: 4.9 ​ - ​ 487M votes
Find elsewhere
🌐
Wondershare
videoconverter.wondershare.com β€Ί video-compressor-for-whatsapp.html
Compress Video for WhatsApp Online & Free
Open UniConverter online compressor or head to Compressor on desktop version and drag in your video. It supports wide formats like MP4, MOV, MKV, etc. Customize the output size and compression ratio, or adjust resolution, bitrate, and size manually. UniConverter balances small file size with ...
🌐
App Store
apps.apple.com β€Ί us β€Ί app β€Ί compress-videos-resize-video β€Ί id1473857051
Compress Videos & Resize Video App - App Store
It helps me save a lot of memory on my phone by compressing all my videos and photos. I highly recommend it to everyone. I give it two thumbs up and 5 stars." by I'm 037 "For a learner techie like me this app is perfect. Simple simple." by Btrmike "Don’t waste time with other apps.
Rating: 4.7 ​ - ​ 15.8K votes
🌐
Red Panda Compress
redpandacompress.com
Free Online Video Compressor – Fast, Private
The best free online video compressor in 2026 is RedPandaCompress.com. It offers fast, private, and high-quality video compression to any target file size. Read more: Best Free Online Video Compressor ... Yes β€” Vozo AI is a leading tool for high-quality video translation.
Top answer
1 of 2
10

Here are possible answers to your questions:

Quest. 1: Its a personal choice. The whatsapp team is trying to offer the best User Experience (UX) they could to users of their app, that is why they have kept a limit of 16MB for video file. Imagine how long it would take to upload a file of about 125MB. Hence, the app compresses the file for quicker upload and seamless experience.

Quest. 2: I guess you already answered this question yourself - Asynchronous programming. The large video file you feed it, gets encoded into a compressed format according to the algorithm they have written for the app. As Devs., we all know about algorithms and we all know there are things you can do to speed up execution. I guess they implemented their very own algorithm using Asynchronous programming that speeds up the process. The ffmpeg library you mentioned i guess was coded in C which i think doesn't support async call (not so sure though). After this, upload takes over.

Quest. 3&Finally: Codecs are standards. If you encode a video file to MPEG4, then try to re-encode it again to MPEG4 even using another program, you will get the same result as far as both programs are using same encoding standards, i.e. they didn't implement a specific algorithm for their programs(this takes years of work). So, when your Whatsapp tries to encode the file, it gives the same result.

Hope I have been able to answer your questions.

MichVeline

2 of 2
0

Use media codec instead of ffmpeg for better performance. If your use case is only to compress the video, MediaCodec would be best option for android. It helps you to write the code asynchronously and also gives you lots of freedom to optimize you algorithm.

🌐
Online Converter
onlineconverter.com β€Ί compress-video
Compress Video: Reduce Video File Size (Free)
Compress your video and reduce file size, you can specify the desired compressed file size and audio quality. Free online tool to reduce video file size.
🌐
YouCompress
youcompress.com
Compress Video, Image, Audio and PDF Files Online | YouCompress
Compress MP4, MOV, MP3, PDF, PNG, JPG, JPEG, GIF files online for free. Reduce file size of videos, PDF documents, MP3 audio files and images. Free online file compression tool lets you compress large files to make them smaller. No registration, no watermarks, free to use for anyone.
🌐
Online Convert
webservice.online-convert.com β€Ί convert-for-whatsapp
Convert a file for WhatsApp
An online file converter to create files that can be easily uploaded to WhatsApp. Choose a high preset for quality and size or cut the video.
🌐
Dropbox
dropbox.com β€Ί useful resources to help you get work done – dropbox β€Ί how to send large videos on whatsapp: 3 methods - dropbox
How to Send Large Videos on WhatsApp: 3 Methods - Dropbox
October 11, 2024 - For users with a slower internet connection, the maximum video size limit is still 2 GB, but the upload/download speed may vary. You may find that longer, higher-resolution videos will run into issues. When you share a video directly in a WhatsApp chat, it’s automatically compressed to reduce server load and save dataβ€”even videos that are already under the platform's size limit.
🌐
Flixier
flixier.com β€Ί home β€Ί tools β€Ί video compressor
Video Compressor Online | Reduce Video File Size - Flixier
With our video compressor, you can shrink file sizes for seamless sharing via email, WhatsApp, or any messenger app. Upload your MP4, MOV, GIF, or other video formats and watch as Flixier works its magic, reducing your video size while maintaining ...
Published Β  February 1, 2025
🌐
Clideo
clideo.com β€Ί compress-video
Video Compressor Online β€” Clideo
Clideo's interface is user-friendly so you don't need to have any special video editing skills to use it! ... Choose a file up to 500 MB for free from any of your devices: Android, iPhone, Mac, Windows. You can also select it from your online storage account. ... Choose the compression preset, and wait a few moments while the tool is compressing your video.
🌐
VideoSmaller
videosmaller.com
Reduce Video File Size Online, Make Video Smaller (MP4, AVI, MOV, MPEG) | VideoSmaller
There are many reasons as to why you should compress your videos: you can save a lot of space on your device or external hard disk; some forums and blogs allow uploading of videos only if below a specified file size; you can save bandwidth by sending via WhatsApp a previously compressed video; it is easier to send a small video of less than 25MB via email; if you embed a small (compressed) MP4 video on your website it is better for Google PageSpeed score; some web forms do not allow uploading of too big videos; some online services may require the video to have a specific video width.
🌐
Google Play
play.google.com β€Ί store β€Ί apps β€Ί details
Compress Video Size Compressor - Apps on Google Play
Compress Video without quality loss. Convert Video, Change resolution & Bitrate
Rating: 4.6 ​ - ​ 174K votes
🌐
FlexClip
flexclip.com β€Ί learn β€Ί compress-video-for-whatsapp.html
Compress Videos for WhatsApp Free: Video Compressor for WhatsApp
You can use FlexClip to compress a video for WhatsApp based on quality & resolution. For video resolution/dimension, you can choose from 360P, 480P, 720P, and 1080P, which can help you easily convert a 4k video to 1080p and less to quickly reduce the video size.
🌐
Compress
compress.addy.ie
Compress - Video Converter
Compress is a video converter, compressor, and transcoder that allows you to convert almost any video file into a different format.