FFmpeg Cookbook

Video Trim Tool

Cut a video down to the section you actually need. Re-encodes to a clean MP4 that plays everywhere.

Fully local processing — your file never leaves the browser
✂️
Drag & drop a video, or tap to select
MP4 / MOV / AVI / MKV / WebM · Up to 500 MB
🎬
📏 Trim range
0:00.00 0:00.00
Adjust start
Adjust end
Processing… 0%
Range
Length
Size
Download trimmed video
Popular uses
Cut unwanted sectionsShorten clips before sharingPre-process for size limits

What this tool does

  • Frame-accurate start / end input
  • Outputs MP4 (H.264 + AAC)
  • Files stay on-device

How to use

  1. 1

    Pick a video

    MP4 / MOV / MKV.

  2. 2

    Set start / end

    In seconds, with visual range preview.

  3. 3

    Trim

    Preview + download appear when done.

What each setting means

Start
First second to keep. Accepts HH:MM:SS too.
End
Last second to keep, must be after start.

Recommended settings

SNS intro clip
Start 0, end ≤30s
Matches TikTok / Reels common length.
Highlight reel chunk
+/- 1s buffer either side
Keeps titles / SFX intact.

Common pitfalls

Symptom: Cut starts in the wrong place

Cause: Keyframe alignment.

Fix: Try ±1s on the start, or accept slight drift.

Symptom: Audio missing

Cause: Source uses uncommon audio codec.

Fix: Convert to MP4 first, then trim.

Equivalent FFmpeg commands

Reference commands you can run on the desktop FFmpeg CLI.

Cut 5s–25s
ffmpeg -i input.mp4 -ss 5 -to 25 -c:v libx264 -crf 23 -preset fast -c:a aac -b:a 128k -movflags +faststart output.mp4
Stream-copy (fast, frame-imprecise)
ffmpeg -ss 5 -to 25 -i input.mp4 -c copy output.mp4

Browser support & limits

  • MP4 output only
  • Single range per run

Privacy

This tool runs ffmpeg.wasm directly in your browser. Files never leave your device — everything runs locally. Read the privacy policy →

Frequently asked questions

Can I copy-stream (no re-encode)?

Not in this tool — we always re-encode for predictable output. Use FFmpeg -c copy on the desktop if you need that.

Can I cut multiple ranges?

Currently one range only. Run multiple trims and concat them in a separate tool.

Long videos?

Up to ~500MB input.

Related tools

Related FFmpeg recipes