Trim a video without losing quality: the difference between cutting and re-encoding
Why most video trimmers re-encode your clip and soften it, what keyframes are, how a stream-copy trim keeps every pixel, when frame-exact cutting is worth the re-encode, and how to do both in the browser without installing anything.
· 3 min read · 1.2K views · by the Cortex Digital Hub team
Fast mode cuts at keyframes with zero quality loss; frame-exact when you need it. Runs on your device, no upload. Free.
Trim a video → Opens Trim Video · runs in your browser
Most video trimmers do something you did not ask for: they decode your clip and encode it again. That softens it, costs time, and sometimes changes the format. There is a way to trim that touches nothing, and a reason it is not always what you want.
How video is stored
A video is not a series of pictures. It is a series of keyframes (full pictures, every 1–2 seconds on most phone recordings) with delta frames between them that store only what changed. This is why a minute of 1080p fits in 100 MB. It is also why you cannot start playback at an arbitrary frame: the player needs the previous keyframe to build it.
Two ways to trim
Stream copy (fast, lossless). The trimmer finds the keyframe at or before your start point, the frame at your end point, and writes the compressed data between them into a new file. No decoding, no encoding, no quality change, and it takes a second for a gigabyte. The cost: the start snaps to a keyframe, so your clip may begin up to a couple of seconds before where you pointed.
Re-encode (frame-exact). The trimmer decodes from the keyframe, throws away the frames before your exact start, and encodes a new stream. The cut is exact to the frame. The cost: every frame is re-compressed, which takes time and loses a little detail, and the output bitrate and codec are whatever the trimmer chose.
A good tool offers both and tells you which is which. The Cortex trim video tool labels them Fast (no re-encode, keyframe-snapped) and Frame-exact.
Which to use
- Cutting a long recording down to the useful part: fast mode. A second of slack at the start does not matter and the quality stays original.
- Removing a mistake in the middle: fast mode with "cut selection out"; both cuts snap to keyframes, which is usually fine for a pause or a cough.
- A clip that must start on a specific frame (a beat, a title, a product reveal): frame-exact.
- A clip for Reels or Status that will be re-encoded by the platform anyway: fast mode, then let the platform do the one re-encode.
Doing it in the browser
- Open the trimmer and drop the video. MP4, MOV, WebM, MKV and 3GP all work; the file stays on your device.
- Drag the start and end handles on the thumbnail timeline, or type times. "Start = playhead" sets the handle to where you paused.
- Choose Keep selection or Cut selection out.
- Choose Fast or Frame-exact. Optionally remove audio.
- Export. Fast mode finishes in seconds even for multi-GB files; frame-exact uses the browser's hardware encoder and runs at several times real time on a laptop.
Chrome, Edge, Brave and Safari 17+ support the WebCodecs API this needs. Firefox does not yet.
After trimming
If the clip must be smaller for WhatsApp or e-mail, that is a separate step with a separate trade-off: compression always re-encodes. Trim first (fast, lossless), then compress to a target size once, so the video is only re-encoded a single time. The same goes for resizing to portrait and converting MOV to MP4: the converter copies the stream without re-encoding when the codec already fits the container, which for iPhone H.264 footage it usually does.
Why the quality loss matters
One re-encode at a decent bitrate is nearly invisible. The damage comes from stacking: trim (re-encode), convert (re-encode), compress (re-encode), platform (re-encode). Four generations and the clip is soft and blocky. Keep it to one re-encode of your own, as late as possible, and let the platform do the last one.
Frequently asked questions
Does trimming a video reduce quality?
Only if the tool re-encodes. A stream-copy trim keeps the original compressed frames and simply drops the ones outside your selection, so the quality is identical. The catch is that cuts land on keyframes, usually every 1–2 seconds.
What is a keyframe?
A frame stored as a complete picture. The frames between keyframes store only the differences from the previous frame, so a video can only start cleanly at a keyframe. Phones typically record one every 1–2 seconds.
Why does my trimmed clip start a second early?
Fast (stream-copy) mode snapped the start to the previous keyframe so the clip would play from a complete picture. Use frame-exact mode if the extra second matters.
Can I trim a 2 GB video in the browser?
Yes, on a laptop. The file is read from your disk and written back without uploading; fast mode handles multi-GB files in seconds. Phones are limited by memory to roughly 500 MB.