Urgent.News

What's breaking now, across thousands of outlets.

Tech

How to Compress a Video Without Uploading It (Free, Right in Your Browser)

You filmed a 90 second clip on your phone and it is 180 MB. Your email limit is 25 MB, the chat app will squash it into mush, and the class portal says "file too large". So you search for a free video compressor and almost every result wants the same thing first: upload the whole video to their server. That is a lot to ask. A video of your kid, your home, your screen with a tab open you forgot…

A 90-second phone video can take up 180 MB of space, making it difficult to share via email or chat. Many video compressors require you to upload the video to their server, which can be a concern for sensitive content. This guide explains how to compress videos within your browser without uploading them anywhere.

High-quality video recording results in large file sizes because of the high bitrate needed for fast and safe recording. You can reduce the file size by re-encoding the clip with the H.264 codec at a sensible quality level. Key factors include quality (CRF), resolution, and frame rate. Higher quality results in smaller files but more loss, while lower quality produces bigger but cleaner files. Lowering resolution from 4K to 1080p or 720p is often sufficient for chat and email.

The Video Compressor in OpenFile, a free toolkit, runs ffmpeg in your browser's tab using WebAssembly. To compress a video, upload it, select a quality preset and resolution, and start the job. The process takes longer initially as it downloads the ffmpeg engine, but subsequent runs are faster due to caching. After compression, download the smaller file.

The compression speed depends on your computer's performance. A modern laptop handles short clips quickly, but long 4K videos may take longer due to limited browser resources. To avoid uploading, open browser developer tools, check the Network tab, and run the clip through. No video requests will appear, and the tool works offline after the initial page load.

Sensible compression settings include 720p quality for family sharing on chat apps, 720p with higher compression for emails, and 24 fps at 1080p for screen recordings. The tool preserves original files, has no sign-up requirement, no watermark, and cannot create high-quality GIFs. OpenFile's code is open-source on GitHub for further exploration.

Written by urgent.news from Dev.to's reporting — not their text. Machine-written — may contain errors; check the original before relying on it.

Read the original at dev.to →

More in Tech

I built a world history map where every ruler links to a source

Most history maps show the borders. I wanted one that also says who was in charge, and where that claim came from. You drag a year slider from 1000 BC to today, the borders move, and you can click any…

  • Map identifies rulers and sources for each region from 1000 BC to present
  • Each ruler and claim linked to source URL and quote in code
  • Static map generated beforehand, minimal loading via single TopoJSON per year

Your JSON is valid and your invoice is wrong

Imagine a perfectly reasonable backend refactor. client.name becomes customer.legalName . The new shape is clearer. The JSON parses. The application tests are green. Then someone opens an invoice.

  • Bitavu API converts JSON to PDF documents
  • Missing customer field in generated invoice
  • Guard function needed for required fields

Building an EV-vs-petrol cost model: total cost of ownership in the browser

An electric car that costs $10,000 more than its petrol equivalent breaks even after 8.6 years at 12,000 miles a year — and never breaks even at all if you charge it mostly at public fast chargers.

  • EV costing $10,000 more than petrol car breaks even after 8.6 years with 12,000 miles/year usage
  • Model calculates annual cost of each car type using miles, fuel price, and maintenance
  • EV cheaper to fuel due to lower fuel consumption per mile compared to petrol cars

More from Tuesday 3 November →