Runs in your browser
Trim a Video to Length
Cutting the first 30 seconds off a screen recording, or keeping only the goal from a match clip: give a start and an end in seconds and just that window is kept.
Nothing is uploaded. Processing happens on your device with no server round-trip.
Privacy: FFmpeg WASM runs in this browser tab using your device. Large or long media can take more time and memory.
Drag files here or click to upload
Supported Formats: MP4, MOV, MKV, WEBM
Max File Size: 50MB | Max Files: 3
Video
Settings
Only the options this page needs are exposed. Everything else is fixed to match the page intent.
Output contract
- Accepted input
- MP4, MOV, MKV, WEBM
- Output format
- MP4
- Processing engine
- FFmpeg WASM (local)
- Batch limit
- 3 × 50.00 MB
- Upload
- None — files stay on this device
If the target cannot be reached the result shows the real output size instead of a false success.
No results yet
Recent Tasks
No history recorded yet
How to use this page
- 1Add a video up to 50MB. The FFmpeg engine loads on the first run and stays cached for this session.
- 2Set only the parameter this page exposes — a time window, an aspect ratio, a speed — or nothing at all when the page just removes audio.
- 3Run it and read the note above the results: a mute is copied losslessly, every other edit is re-encoded.
What is different here
- Seeking happens before decoding, so a long recording does not have to be read in full to keep a short excerpt.
- The end time is clamped against the real duration and reported, instead of writing a shorter file than requested without saying why.
Limits worth knowing
- Re-encoding costs a generation of quality and takes time proportional to the length of the kept clip.
- Cuts land on frame boundaries: at 30fps a request for 12.34s starts on the nearest frame, roughly 33ms of granularity.
Frequently asked questions
Can I cut without re-encoding?▾
Not on this page. A stream copy can only start at a keyframe, so the cut would drift backwards to it; accuracy is worth more than speed here.
Does the audio stay in sync?▾
Yes. Audio and video are trimmed in the same command, so they cannot drift apart.
What happens if the end time is past the clip?▾
It is clamped to the real duration and the result panel states that it was clamped.