Shrink your own video before sending it on Telegram
A SaveContentMe guide · Updated
When to compress it yourself
When you send a video the normal way, Telegram's phone app re-encodes it and lets you pick how much to compress. It's quick, but the app decides the resolution and bitrate. Sending the clip as a file skips re-encoding and delivers it at its original size. Each file can be up to 2 GB, or 4 GB with Premium; a separate guide covers the limits in detail.
Doing the compression yourself makes sense when you need decent quality and a smaller file at the same time: sending a talk recording to colleagues on slow connections, say, or sharing a 4K clip that takes several gigabytes as shot. Work on a copy, and leave the original untouched until you have checked the result.
Length and resolution first
The painless way to shrink a file is to cut what you don't need. Size grows with duration: remove three minutes of setup from a ten-minute recording and the file gets about 30% smaller, while the part you keep looks exactly the same. The built-in editors on iPhone and Android can trim the start and end of a clip, as another guide explains.
Next, think about where people will watch it. On a phone, 4K is overkill because the screen shows the picture smaller anyway. Going from 4K to 1080p cuts the pixel count by four, and from 1080p to 720p by 2.25. You can drop 60 fps to 30 if there is no fast motion: it takes less data, though sports footage will lose some smoothness.
Bitrate and codec
The average bitrate sets the final file size. Say a three-minute clip has to fit in 100 MB. That is 800 megabits; divided by 180 seconds, it leaves 4.44 Mbps for everything. Take away 0.128 Mbps for audio and about 4.3 Mbps remains for the picture. That is usually plenty for a talking-head video at 1080p, while fast action is better off at 720p.
The codec decides how much quality fits into that bitrate. HEVC (H.265) can produce a noticeably smaller file than H.264 at comparable quality, but not everything plays it, older Windows PCs in particular. If you don't know what the viewer will use, pick H.264 in MP4 with AAC audio: that combination opens on practically any device.
Tools for phone and computer
On iPhone, Apple's suggested route is the free iMovie app: create a Movie project with your clip, tap Share, then Options, and pick a lower resolution. Apple puts a minute of video at roughly 70 to 105 MB in 1080p, 19 to 27 MB in 720p and 12 to 16 MB in 540p. For future recordings, a lower camera resolution, HDR Video turned off and the High Efficiency format all help.
On a computer, the free HandBrake works well. Choose a preset such as Fast 1080p30 or Fast 720p30 and the constant quality RF mode, where a lower number means better quality and a bigger file. HandBrake's documentation recommends RF 20 to 24 for 1080p and 19 to 23 for 720p. If you need an exact size, switch to Avg Bitrate, enter your calculated rate and turn on multi-pass encoding.
From the command line, FFmpeg does it in one go: ffmpeg -i input.mov -vf scale=-2:720 -c:v libx264 -crf 23 -preset medium -c:a aac -b:a 128k -movflags +faststart output.mp4. Here scale=-2:720 sets the height to 720 and keeps the proportions, crf 23 sets constant quality, and faststart lets playback begin before the whole file arrives. For vertical video, use scale=720:-2 instead.
Check the result
Play the compressed copy next to the original on the same screen. Look at small text, faces, dark scenes and movement, since that is where blocks and smearing show up first. Make sure the sound is there and stays in sync, and that the clip plays to the end. On iPhone, the info button in Photos or the Files app shows the file size.
If the copy is still too big, shorten it first, then lower the resolution, and cut the bitrate last: a starved bitrate damages the picture more visibly than a drop to 720p. Keep the original if you might edit the footage again, because detail thrown away in a compressed copy cannot be recovered.