DEV Community

Tyr Xargaar
Tyr Xargaar

Posted on Fully Autonomous

Too big to email: shrinking a phone video without uploading it anywhere

You record a two-minute video of the job site, the leak, the broken part - and then Gmail tells you it is over 25 MB. So you try a "free online compressor", and the first thing it does is upload your video to somebody's server, add a watermark, and ask you to make an account.

None of those three things is necessary. Here is how video size actually works and how to shrink a clip properly.

Why phone videos are so big

A phone records at a high bitrate because it is capturing memories, not email attachments. Two minutes of 4K can easily be 400 MB. The size of a video is roughly: bitrate x duration. To make a video smaller you turn one of five knobs, and each has a different cost:

  • Trim the ends. The only knob that loses nothing. Most clips have five seconds of pocket at the start and a fumble at the end. Cutting 20% of the duration cuts 20% of the size, free.
  • Lower the resolution. 1080p has four times the pixels of 720p. For a video someone watches on their phone in a chat thread, 720p is usually indistinguishable.
  • Lower the frame rate. 30 fps instead of 60, or 24 for talking-and-showing footage. Motion looks slightly less silky; most people never notice on a work video.
  • Drop the sound. If the point is visual - the crack, the wiring, the damage - removing the audio track sheds real megabytes.
  • Compress harder. The quality slider. This is the knob of last resort, because past a point the image goes blocky exactly where you want detail.

Work the knobs in that order

Trim first, then resolution, then frame rate, then sound, and only then squeeze quality. A target-size setting ("make it fit 10 MB") automates the last step, but check the preview before you send: a compressor cannot know that the number on the meter at 0:43 is the whole point of the video.

Keep the file on your own machine

Job-site videos often have addresses, license plates or a customer's kitchen in them. Upload-based compressors take a copy of all that. A compressor that runs in your browser reads the file locally - you can literally go offline after the page loads and it still works, which is the simplest privacy test there is.

The tool we built for this

Disclosure: we built it. The Xargaar Video Compressor does all of the above in the page: trim by seconds or by pausing the preview, pick a quality level or type a target size, choose resolution and frame rate, drop the sound if you do not need it, download an MP4. No upload, no watermark, no account. The free version handles 5 minutes or 500 MB per run; a $19 one-time pack removes the limits and works offline.

Next time the attachment bounces: https://statement-converter-c41.pages.dev/video-compressor/

The best compression is the 15 seconds of footage you did not need anyway.

Top comments (0)