FFmpeg Cookbook

Split Video Tool

Cut one video into multiple files — every N seconds or into equal parts. Lossless fast mode supported.

Local processing only — your file never leaves the browser
✂️
Drag & drop a video, or tap to select
MP4 / MOV / WebM, up to 500 MB
🎬
Fast mode is instant and lossless (no re-encode). Cuts land on keyframes, so each part may be a few seconds longer or shorter than the target.
Processing… 0%
Output files

What to do next

What this tool does

  • Two modes: "every N seconds" or "split into N equal parts"
  • Fast mode: instant, lossless split with no re-encode
  • Accurate mode: cuts at the exact second (H.264 re-encode)
  • Output list with per-part size and individual download buttons
  • Local-only processing — your file never leaves the browser

How to use

  1. 1

    Drop the video

    MP4 / MOV / WebM, up to 500 MB. Duration is auto-detected.

  2. 2

    Pick a mode and interval

    "Split by time" takes a segment length in seconds (default 60); "Equal parts" takes a part count (2–20).

  3. 3

    Pick a split method

    Choose Fast for speed and zero quality loss, Accurate for exact segment lengths.

  4. 4

    Run and download

    The output parts appear in a list — download each one individually.

What each setting means

Split by time
Cuts every N seconds. Example: a 5-minute video at 60 s becomes 5 files.
Equal parts
Splits into N files (2–20); segment length = duration ÷ N, computed automatically.
Fast (lossless)
Stream-copy split, no re-encode. Instant, but cuts land on keyframes so lengths drift a few seconds.
Accurate (re-encode)
Inserts forced keyframes at the boundaries with force_key_frames, so cuts land at the exact second. Slower.

Recommended settings

Break a long recording into chunks for storage / sharing
Split by time (300–600 s) + Fast
A few seconds of drift is harmless, and the split is instant and lossless.
Cut to a social-media length limit
Split by time (e.g. 140 s) + Accurate
Exact cuts prevent rejections for exceeding the duration cap.
Split a video in half
Equal parts (2) + Fast
The midpoint rarely needs to be exact; fast mode is enough.

Common pitfalls

Symptom: Fast-mode parts are a few seconds off the target length

Cause: Lossless splitting can only cut at keyframe positions.

Fix: Use Accurate (re-encode) mode when exact lengths matter.

Symptom: "Too many segments" error

Cause: The tool caps output at 60 files to protect browser memory.

Fix: Increase the segment length, or trim the video down first.

Symptom: Equal-parts mode fails or is unavailable

Cause: The browser could not read the video duration from the metadata.

Fix: Use "Split by time" instead, or convert to MP4 first and retry.

Equivalent FFmpeg commands

Reference commands you can run on the desktop FFmpeg CLI.

Lossless split every 60 seconds (fast)
ffmpeg -i input.mp4 -c copy -map 0 -f segment -segment_time 60 -reset_timestamps 1 output_%03d.mp4
Cuts land on keyframes, so part lengths drift a few seconds.
Exact 60-second segments (accurate, re-encode)
ffmpeg -i input.mp4 -c:v libx264 -preset fast -crf 23 -force_key_frames "expr:gte(t,n_forced*60)" -c:a aac -b:a 128k -f segment -segment_time 60 -reset_timestamps 1 output_%03d.mp4
Split into 2 equal halves (600 s source)
ffmpeg -i input.mp4 -c copy -map 0 -f segment -segment_time 300 -reset_timestamps 1 output_%03d.mp4
segment_time = duration ÷ part count. The tool computes this for you.

Browser support & limits

  • Max file size: 500 MB
  • Max output: 60 files (equal-parts mode: 2–20)
  • Output container is MP4

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

Does quality drop?

Not in Fast mode — both video and audio are stream-copied with no re-encode. Accurate mode re-encodes with H.264 CRF 23, which introduces minimal loss.

Fast or Accurate — which should I pick?

Fast is the right default. If a few seconds of drift per part is fine (archiving, casual sharing), use Fast; if you need exact lengths (platform duration caps), use Accurate.

Can I merge the parts back into one video later?

Yes. Parts produced with the same settings share a codec, so the [Video Merger](/en/tools/concat/) can rejoin them losslessly.

I only want to extract one section, not split everything

Use the [Video Trim Tool](/en/tools/trim/) to cut a single start-to-end range. This tool is for dividing the whole video into pieces.

How many parts can I create?

Up to 60 files, capped to protect browser memory. Equal-parts mode supports 2–20. For more, use desktop FFmpeg.

Related tools

Related FFmpeg recipes